Skip to main content

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

Metadata

Release files for pip-login 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pip-login 0.0.7
File Interpreter ABI Platform
pip_login-0.0.7-py3-none-any.whl Python 3 none any Details

Release files / pip_login-0.0.7-py3-none-any.whl

Download URL pip_login-0.0.7-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aaa3b717c4f89416e637d9a0c72390a670994da167575ba3c3a08fd2cde7b086
BLAKE2b-256 checksum
How to use checksums
33af81e07ce35d12cf4de5b21e54bdb63ee1e630260345d1279c249f3283152e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

0.0.7 This release

1 release file

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page