Skip to main content

CLI to replace HTTP GET on GitHub API with clones

Project description


Python version range License Linting, testing, coverage, and release Tested OSs, others may work Documentation coverage codecov Code style: black Imports: isort PyPi: release

CLI to replace HTTP GET on GitHub API with clones.


In GitHub Actions the macOS machines share the same IP range, meaning that users will come against the GitHub quota often.

To overcome this issue, use this tool instead of pip install -r. This tool clones rather than GETs:


Additionally, it reuses already cloned repos.

Install package


pip install ghapi-conversion


Install dependencies

pip install -r requirements.txt
# On Python 2.7, `pip install mock` in order to run the tests without error

Install package

pip install -e .


$ python -m ghapi_conversion --help

usage: [-h] [--version] (-r FILE | -l LINK)

CLI to replace HTTP GET on GitHub API with clones

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -r FILE, --requirement FILE
                        Install from the given requirements file. This option
                        can be used multiple times.
  -l LINK, --link LINK  Clone instead of HTTPS GET a
                        `<org>/<repo>/zipball` or
                        >` link.


  • Manually replace current setup with clones, non GitHub API—or authed—hosted alternatives
  • Pack dependencies and download and extract this archive from non GitHub API—or authed—hosted alternative
  • Seamlessly do what ghapi_conversion does, by self-hosting a proxy server




Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the CC0 license, shall be licensed under CC0, without any additional terms or conditions.

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

ghapi_conversion-0.0.7.tar.gz (9.8 kB view hashes)

Uploaded source

Built Distribution

ghapi_conversion-0.0.7-py3-none-any.whl (13.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page