-
Notifications
You must be signed in to change notification settings - Fork 1
Search for Repositories
Moein Owhadi-Kareshk edited this page Dec 10, 2018
·
6 revisions
In case you don't have specific repositories in mind, you can use the following module with proper parameters to search repositories.
python3 search_repository.py
Here is the list of mandatory parameters:
Parameter | Description |
---|---|
-q or --query
|
The query of searching (separated by comma) |
-s or --star
|
The minimum number of stars |
-f or --fork
|
The minimum number of forks |
-l or --language
|
The language of repositories |
-o or --output
|
The name of the output file |
As an example, to store the list of repositories related to data and json in Python with more than 200 stars and 100 forks in data_popular_python_repos.txt
file, you should execute:
python3 search_repository.py \
-q data,jsone \
-s 200 \
-f 100 \
-l python \
-o data_popular_python_repos