Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csurfer/gitsuggest
/ functions
Functions
24 in github.com/csurfer/gitsuggest
⨍
Functions
24
◇
Types & classes
7
↓ 2 callers
Method
get_html
Method to convert the repository list to a search results page.
gitsuggest/utilities.py:26
↓ 2 callers
Method
get_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 callers
Method
minus
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 callers
Method
__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 callers
Method
__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 callers
Method
__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 callers
Method
__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 callers
Method
__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 callers
Method
__get_words_to_consider
Compiles list of all words to consider. :return: List of words to consider.
gitsuggest/suggest.py:183
↓ 1 callers
Method
__get_words_to_ignore
Compiles list of all words to ignore. :return: List of words to ignore.
gitsuggest/suggest.py:159
↓ 1 callers
Method
__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 callers
Method
get_suggested_repositories
Method to procure suggested repositories for the user. :return: Iterator to procure suggested repositories for the user.
gitsuggest/suggest.py:296
↓ 1 callers
Function
main
Starting point for the program execution.
gitsuggest/commandline.py:40
↓ 1 callers
Method
run
(self)
setup.py:26
↓ 1 callers
Method
to_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
Method
run
(self)
setup.py:34
Method
test_get_html
Tests convertion of repository object list to HTML page.
tests/test_utilities.py:23
Method
test_get_unique_repositories
Tests to validate get_unique_repositories().
tests/test_suggest.py:23
Method
test_minus
Tests to validate minus().
tests/test_suggest.py:44