Skip to main content

A tool for searching GitHub

Project description

GitHub Searcher

ghsearcher is a utility for searching GitHub from the command line.

Usage

  1. Install with pip pip install ghsearcher
  2. (Optional) you can either export an environment variable named "GH_TOKEN" or include it in a local .env file to ensure you can make the most requests. See "Creating a personal access token" for more information on how to do so.
usage: ghsearcher [-h] [-v] [--debug]
                  [-e {users,code,issues,commits,labels,repos,topics}] [-o OUTPUT_FILE]
                  -q QUERY [QUERY ...]

Search for things in GitHub

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  --debug               Set this if you would like to see verbose logging.
  -e {users,code,issues,commits,labels,repos,topics}, --endpoint {users,code,issues,commits,labels,repos,topics}
                        Endpoint you would like to search
  -o OUTPUT_FILE, --output-file OUTPUT_FILE
                        File name for where you want the JSON output to go. eg:
                        output/test will output a file in the output dir with the file
                        name test-2022-01-01.json
  -q QUERY [QUERY ...], --query QUERY [QUERY ...]
                        Query you would like to use to search

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

ghsearcher-0.0.3.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

ghsearcher-0.0.3-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file ghsearcher-0.0.3.tar.gz.

File metadata

  • Download URL: ghsearcher-0.0.3.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for ghsearcher-0.0.3.tar.gz
Algorithm Hash digest
SHA256 631de64afbe924c826042fee2ce8a0871fd6097343334a7ee47729f606a0174c
MD5 81fd2e2c08f448c6ab4e847cefc9552c
BLAKE2b-256 373568b7620a81fd4fb59892474d36806521b8a90e23b5b730369f654de5dec8

See more details on using hashes here.

File details

Details for the file ghsearcher-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: ghsearcher-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for ghsearcher-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 14220c7b6deedd9bbd5d0d4e93d47628cb3c7171f3f69902e87370066613fac9
MD5 f22328d2f9d240d5008d362b3e45866b
BLAKE2b-256 85283b3d7ba0ed7bfcf2740dad6e92db4690aa5c73085080b1280d3bcf01b06d

See more details on using hashes here.

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