Metadata-Version: 2.4
Name: pip_login
Version: 0.0.7
Home-page: https://github.com/skaughtx0r/pip-login
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: keyring
Requires-Dist: prompt_toolkit
Requires-Dist: pip>=19.2.1
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python

# 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](https://pip.pypa.io/en/stable/user_guide/#config-file)
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
```
