Skip to main content

A package to dowload all repos from Github for a given user or organization.

Project description

gitrc

A simple command line utility to write all repos from Github for a given user or organization to standard output. Github credentials are optional. But, providing username and password increases the number of repos you can download at one time due to Github's rate limiting policy. To use gitrc in shell scripts the password can be passed via standard input, for better security practices.

Installation

pip install gitrc

Usage

$ gitrc download -h
usage: gitrc download [-h] [--username USERNAME] [--password PASSWORD] [-p] [--password_prompt PASSWORD_PROMPT] [--url URL] github_username

positional arguments:
  github_username       Download all repos for this Github user account.

optional arguments:
  -h, --help            show this help message and exit
  --username USERNAME   Github username to authenticate with.
  --password PASSWORD   Github password to authenticate with.
  -p                    If set you will be prompted for a password.
  --password_prompt PASSWORD_PROMPT
  --url URL             The URL for the Githb API endpoint.

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

gitrc-1.0.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

gitrc-1.0.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

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