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.4.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

pip_login-0.0.4-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pip_login-0.0.4.tar.gz
  • Upload date:
  • Size: 2.9 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.4.tar.gz
Algorithm Hash digest
SHA256 710351ca9e70be751d6e8109944312b975e0cb4888735057edfa727bf82be9d9
MD5 78350e8303a82adda7e087caaa5b240a
BLAKE2b-256 695698f0616b63cd4dcc8dbeafe2ffdbe37e92661c2282eab806ecb112f8d743

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pip_login-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7c5e7c0df78c4be943b35a56d882e8d359fd78dcbf7957a949200fff26eaa8df
MD5 85e36b012d81b8543cdeabf6492c8945
BLAKE2b-256 46469cb8f2fc6ae710c1dd0203d38820a8ba0ffafdcfd8209f1f11ff14119519

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