Skip to main content

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 (optional, default=Java)
  • --min-stars: Minimum star count (optional, default=0)
  • --verbose: Verbose mode (optional, default=false)

Example

python3 main.py --api-token 51ec41929c6f48c23482a734534327d308 --out-file 'repos.csv' --start-date '06-08-2022'

Project details


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.0.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

searchgithubrepo-1.0.0-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page