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
Built Distribution
Hashes for pip_login-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cee05b984532429c16c7a20b3b5747257498f40a8cee0239ac51f5b96306969e |
|
MD5 | 5e6aa9736146264fc30a46eed8cc5f05 |
|
BLAKE2b-256 | 400885ebfa2197bfe22966848d2da08879ea0217bdfba19b1e38ce159be984cc |