MCPcopy Create free account

hub / github.com/csurfer/gitsuggest / functions

Functions24 in github.com/csurfer/gitsuggest

↓ 2 callersMethodget_html
Method to convert the repository list to a search results page.
gitsuggest/utilities.py:26
↓ 2 callersMethodget_unique_repositories
Method to create unique list of repositories from the list of repositories given. :param repo_list: List of repositories which might
gitsuggest/suggest.py:74
↓ 2 callersMethodminus
Method to create a list of repositories such that the repository belongs to repo list a but not repo list b. In an ideal scenario we
gitsuggest/suggest.py:90
↓ 1 callersMethod__clean_and_tokenize
Method to clean and tokenize the document list. :param doc_list: Document list to clean and tokenize. :return: Cleaned and tokenized
gitsuggest/suggest.py:190
↓ 1 callersMethod__construct_lda_model
Method to create LDA model to procure list of topics from. We do that by first fetching the descriptions of repositories user has sho
gitsuggest/suggest.py:235
↓ 1 callersMethod__get_interests
Method to procure description of repositories the authenticated user is interested in. We currently attribute interest to: 1.
gitsuggest/suggest.py:138
↓ 1 callersMethod__get_query_for_repos
Method to procure query based on topics authenticated user is interested in. :param term_count: Count of terms in query. :ret
gitsuggest/suggest.py:269
↓ 1 callersMethod__get_repos_for_query
Method to procure git repositories for the query provided. IMPORTANT NOTE: This is the costliest of all the calls hence keep this to
gitsuggest/suggest.py:281
↓ 1 callersMethod__get_words_to_consider
Compiles list of all words to consider. :return: List of words to consider.
gitsuggest/suggest.py:183
↓ 1 callersMethod__get_words_to_ignore
Compiles list of all words to ignore. :return: List of words to ignore.
gitsuggest/suggest.py:159
↓ 1 callersMethod__populate_repositories_of_interest
Method to populate repositories which will be used to suggest repositories for the user. For this purpose we use two kinds of reposito
gitsuggest/suggest.py:114
↓ 1 callersMethodget_suggested_repositories
Method to procure suggested repositories for the user. :return: Iterator to procure suggested repositories for the user.
gitsuggest/suggest.py:296
↓ 1 callersFunctionmain
Starting point for the program execution.
gitsuggest/commandline.py:40
↓ 1 callersMethodrun
(self)
setup.py:26
↓ 1 callersMethodto_html
Method to convert the repository list to a search results page and write it to a HTML file. :param write_to: File/Path to write the h
gitsuggest/utilities.py:39
Method__eq__
(self, other)
tests/mockentities.py:19
Method__init__
Constructor. Username and password is used to get an authenticated handle which has a higher rate limit when compared to unauthentica
gitsuggest/suggest.py:28
Method__init__
Constructor. :param user: User for whom we are fetching the repositories for. :param repos: List of github.Repository objects.
gitsuggest/utilities.py:17
Method__init__
Constructor. :param full_name: Name of the repository. :param description: Description of the repository.
tests/mockentities.py:10
Function_post_install
Post installation nltk corpus downloads.
setup.py:15
Methodrun
(self)
setup.py:34
Methodtest_get_html
Tests convertion of repository object list to HTML page.
tests/test_utilities.py:23
Methodtest_get_unique_repositories
Tests to validate get_unique_repositories().
tests/test_suggest.py:23
Methodtest_minus
Tests to validate minus().
tests/test_suggest.py:44