Skip to main content

get user github repos

Project description

Installation

$ [sudo] pip install github-repos

Config

bash python
export GITHUB_TOKEN="your_github_token" os.environ["GITHUB_TOKEN"]="your_github_token"

Functions

function __doc__
github_repos.repos(login=None) return a list of user repos

Executable modules

usage __doc__
python -m github_repos [login] print user repos

Examples

delete orphaned repos (if basename = repo name)

$ cd ~/git/owner
$ python -m github_repos | awk -F '/' '{print $2}' | grep -v -iF "$(ls -1)" | xargs python -m github_delete

python-readme-generator

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

github-repos-2019.4.13.tar.gz (1.7 kB view details)

Uploaded Source

File details

Details for the file github-repos-2019.4.13.tar.gz.

File metadata

  • Download URL: github-repos-2019.4.13.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for github-repos-2019.4.13.tar.gz
Algorithm Hash digest
SHA256 7e81dc45703d1e026e735863417541ced3ecfbd2a7fb9a39e60097716f9b1070
MD5 7f0f69580e6d47d6c34b68d122a99e8b
BLAKE2b-256 c271b1d40142625671bc7c71b56d7fcfc85a11d1de72ad90bec46b086bb7f0f4

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