Skip to main content

Utility to download all repositories from a GitHub organization.

Project description

Gripper

Download all repositories from a GitHub organization via the CLI.

Installation

Pip

pip install gripper

Homebrew

brew tap dkanejs/gripper
brew install gripper

Usage

$ gripper --help
Usage: gripper [OPTIONS]

  Download all repositories from a GitHub organisation.

Options:
  -t, --token TEXT                GitHub token (required if fetching private repos).
  -o, --organization TEXT         GitHub organization name.  [required]
  -d, --download-dir PATH         Download directory.  [required]
  -a, --archive-format [zip|tar]  Archive download format.  [required]
  --timeout INTEGER               Timeout (seconds).  [default: 30]
  --help                          Show this message and exit.

Examples

Short example

gripper -t <your api token> -o pypy -a zip -d /tmp

Long example

gripper --token <your api token> --organization pypy --archive-format zip --download-dir /tmp

Environment variable example:

export GITHUB_TOKEN=<your api token>
export GITHUB_ORGANIZATION=pypy
export GITHUB_DOWNLOAD_DIR=/tmp
export GITHUB_ARCHIVE_FORMAT=zip
gripper

Project details


Release history Release notifications

Download files

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

Files for gripper, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size gripper-1.0.0-py3-none-any.whl (15.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size gripper-1.0.0.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page