Skip to main content

get user github repos

Project description

Install

$ [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 list of user repos

CLI

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

readme-md - README.md 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.2.26.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

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

github_repos-2019.2.26-py2.py3-none-any.whl (2.5 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for github-repos-2019.2.26.tar.gz
Algorithm Hash digest
SHA256 76f066d4dbb8a227db4e9686a234bcd26c1709d39f1bdc21de3ada3bffea8ac7
MD5 cd6bd09a1d5b8cb2831165521b4358cf
BLAKE2b-256 380c65e5a60a1eec64113a5b66c16e2b64eab7022d9541b03d8b1e79119634e4

See more details on using hashes here.

File details

Details for the file github_repos-2019.2.26-py2.py3-none-any.whl.

File metadata

  • Download URL: github_repos-2019.2.26-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for github_repos-2019.2.26-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 503b3c3d6f0ef9a49f91203c1895717707eab9367217e3a6c39f23f45c866b6d
MD5 49d3582bb2378191e794057f11e58aa2
BLAKE2b-256 50691273a8dbb81fa1122d86d26e170b75bbb63e78347e51f0d9b6c32854d401

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