Skip to main content

Search git from the command line

Project description

Git Search

Simple command line to search github.


git-search is a simple command line tool that allows you to search for users and repositories in GitHub.


To install git search you can use pip with the following command;

pip3 install gitsearch-cli


By default the search will be scoped to look in repositories, however you can change the scope to look specifically for users.

Searching for Users

git-search --scope users owen rumney


git-search --scope users owenrumney

This will yield the following results;

username url

Searching for repositories

When searching for repositories you can create a general search by keyword or focus the search by including the language and/or user.

git-search -l scala -u apache spark

This will give the following result;

name owner url
fluo-muchos apache
predictionio apache
spark apache
spark-website apache

If you want to only return results where the keyword is in the name, you can use the --nameonly flag

git-search -l scala -u apache spark --nameonly

This will give the following result;

name owner url
spark apache
spark-website apache


  • [ ] Add date based options for search criteria
  • [ ] Refactor the code to be more pythonic

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gitsearch-cli, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size gitsearch_cli-0.2-py3-none-any.whl (4.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size gitsearch-cli-0.2.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page