Skip to main content

Install pip packages from private repositories without an ssh agent

Project description

pip_install_privates

codecov.io travis-ci.org

Install pip packages from private Github repositories without an SSH agent.

Installation

Get it from pypi:

pip install pip_install_privates

Or install directly from GitHub:

pip install git+https://github.com/ByteInternet/pip-install-privates.git@master#egg=pip-install-privates

Usage

To use pip_install_privates, you need a Personal Access Token from Github. Go to Settings → Personal access tokens and click “Generate new token”. Make sure to give the “repo” permission (“Full control of private repositories”). Copy the generated token and store it somewhere safe. Then use it in the command below:

pip_install_privates --token $GITHUB_TOKEN requirements.txt

Run pip_install_privates --help for more information.

Developing

After performing git clone on the repository, create a virtualenv however you prefer, for example:

mkvirtualenv -a $PWD pip_install_privates

Install the package, its dependencies and dev dependencies:

pip install -e . -r requirements.txt

Run tests for your specific Python verison:

nosetests

Or for all Python versions:

tox

About

This software is brought to you by Byte, a webhosting provider based in Amsterdam, The Netherlands. We specialize in fast and secure Magento hosting and scalable cluster hosting.

Check out our Github page for more open source software or our site to learn about our products and technologies. Look interesting? Reach out about joining the team. Or just drop by for a cup of excellent coffee if you’re in town!

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

pip_install_privates-0.6.3.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file pip_install_privates-0.6.3.tar.gz.

File metadata

  • Download URL: pip_install_privates-0.6.3.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.9

File hashes

Hashes for pip_install_privates-0.6.3.tar.gz
Algorithm Hash digest
SHA256 0b2d487d263128d353e3bc4fa11c034b16d81794c294336c0e8dc39da5f33b89
MD5 85b788246e3aedbc2346ab01ada67571
BLAKE2b-256 c1d9a74bebe405e9db732dd440b575366a08ea6b58dd6cbb20e036d5ef6c10fe

See more details on using hashes here.

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