Search repositories on GitHub
Project description
The package searches repositories on GitHub using GraphQL API. One may specify parameters such as programming language, start date, and number of stars to get a list of GitHub repositories modified on or after the specified start date and satisfying other filters.
Parameters
--api-token
: GitHub API token or Personal Access Token--out-file
: Output file path--start-date
: Start date for search in dd-mm-yyyy--lang
: Primary programming language of the repositories--min-stars
: Minimum star count--verbose
: Verbose mode
Example
Install searchgithubrepo
package using pip
and use it in your program.
from searchrepo import search_repo
one_day_old_date = (datetime.datetime.now().date() - datetime.timedelta(days=1))
search_repo(start_date=one_day_old_date,
out_file='repos.csv',
api_token='51ec41929c6f48c23482a734534327d308',
stars=100,
lang='Java',
verbose=True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
searchgithubrepo-1.0.8.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for searchgithubrepo-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74614a49ff46c7e225ed8a498b8f212a40723a0e9e85a651435ba88704055d98 |
|
MD5 | fc8657120c234d8d511ba135969b2fa3 |
|
BLAKE2b-256 | 86ed8681d7f8955fe0cfc1fdb7afc11b5ec39b9c9d211a05ae308cbe95cbdd03 |