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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file gitrc-1.0.1.tar.gz.

File metadata

  • Download URL: gitrc-1.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for gitrc-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2995253786c69e463ea1ac49aee2b4447bb7565be6fc395d4de0f820bd3926e8
MD5 042e8470e868bda29cc69e6d1f134a4c
BLAKE2b-256 b952ded1720a71d18c7a6143a883dffead128b75c7ddb5d9258883f3ed701399

See more details on using hashes here.

File details

Details for the file gitrc-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: gitrc-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for gitrc-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba80546e1a1cb844ea4681ae42785ff6407b185b0d2bbd88accf3a4dd9ce3fd1
MD5 d90d9d0d0d2a7253dfe46c2ffb65a9bf
BLAKE2b-256 3ee740581c329d65a1f7fcaa3d431c25db4ae58b93381f9e5175f1d190365e3c

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