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 searchrepo.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.5.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

searchgithubrepo-1.0.5-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file searchgithubrepo-1.0.5.tar.gz.

File metadata

  • Download URL: searchgithubrepo-1.0.5.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.2

File hashes

Hashes for searchgithubrepo-1.0.5.tar.gz
Algorithm Hash digest
SHA256 c5c04cc7a3431076c2fb2ac953670ddf11d14aeef382d7756fa5da9f33c8aa89
MD5 e69fcba9d17d6a6a93614463fa075faf
BLAKE2b-256 cd4992815cda0aeaa2cb07e06019f9b9c52930c9339fb48731f5748b597c4fc5

See more details on using hashes here.

File details

Details for the file searchgithubrepo-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for searchgithubrepo-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 880ed05a3f1a91b3e986ce8f44c3d21737932e9861d22e8d33b15fb9f12acfbb
MD5 0f0c9c4cd145bf90993b35ca1719a63c
BLAKE2b-256 ec00456f62a2cfa92fdd0645e79c77a7d8cd3bce876c6b1c487c888568f4f7c1

See more details on using hashes here.

Supported by

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