Skip to main content

No project description provided

Project description

pip-login

Command line interface for logging into a private python repository by configuring pip.conf and storing credentials with python keyring.

This utilizes the new python keyring feature in pip 19.2.1

Usage

To install:

pip install pip-login

Then just run the following:

pip-login

By default pip login will prompt for url, username and password. The url is what you'd normally pass as an --extra-index-url. The username and password will be stored using python keyring and the url will be added to your pip.conf or pip.ini. If run in a virtualenv it will store the pip.conf in the virtualenv, otherwise it stores it to the per-user location. See the pip config user guide for more information.

Additionally, although not recommended, you can set all of the parameters via command line arguments (See --help) or by setting the following environment variables.

PIP_LOGIN_REPOSITORY
PIP_LOGIN_USERNAME
PIP_LOGIN_PASSWORD

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_login-0.0.6.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

pip_login-0.0.6-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file pip_login-0.0.6.tar.gz.

File metadata

  • Download URL: pip_login-0.0.6.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for pip_login-0.0.6.tar.gz
Algorithm Hash digest
SHA256 c22125a2170e2b02af5393e07187f4dcda4543e4a08f3446c38fab9e82df1a0d
MD5 3d9c9afdb07c61cd04c9a42a3288e413
BLAKE2b-256 5ed8df62ecd353f538b1f626d447aaae2c3bd7b961d5a927ef699a0e90260e1f

See more details on using hashes here.

File details

Details for the file pip_login-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: pip_login-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for pip_login-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f230662deae1c22775bcf1a66afa9b654a35f3a643203edeff9225f55537532a
MD5 97380fee265bb85f30beda7538c67d60
BLAKE2b-256 ce787fe531b8ae1e8d3b2536f68dc2e48d96377366b316adf88868cb2791a6b8

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