Metadata-Version: 2.1
Name: devpi-client-extensions
Version: 0.3.0
Summary: devpi client extensions
Home-page: https://github.com/hoefling/devpi-client-extensions
License: MIT
Author: Oleg Höfling
Author-email: oleg.hoefling@gmail.com
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation
Provides-Extra: keyring
Requires-Dist: devpi-client (>=3.0.0)
Requires-Dist: jeepney; (python_version >= "3.5") and (extra == "keyring")
Requires-Dist: keyring; extra == "keyring"
Project-URL: Repository, https://github.com/hoefling/devpi-client-extensions
Description-Content-Type: text/x-rst

devpi-client-extensions
=======================

Some useful stuff around `devpi client`_. Although this package is proudly named *extensions*,
currently there is only one thing implemented ready to be used: a hook that uses passwords from
``.pypirc`` or `keyring`_ on login to devpi server so you don't have to enter your password
if you store it for upload anyway.

Install
-------

.. code-block:: sh

   $ pip install devpi-client-extensions

Usage
-----

Just use the ``devpi login`` command as usual:

.. code-block:: sh

   $ devpi login hoefling
   Using hoefling credentials from .pypirc
   logged in 'hoefling', credentials valid for 10.00 hours

Keyring Support
---------------

Since version 0.3, reading credentials using `keyring`_ is supported. Install the package with `keyring` extras:

.. code-block:: sh

   $ pip install devpi-client-extensions[keyring]

Example with storing the password in keyring:

.. code-block:: sh

   $ keyring set https://my.devpi.url/ hoefling
   $ devpi login hoefling
   Using hoefling credentials from keyring
   logged in 'hoefling', credentials valid for 10.00 hours

Stats
-----

|pypi| |build| |appveyor| |coverage| |landscape| |requirements| |black|

.. |pypi| image:: https://badge.fury.io/py/devpi-client-extensions.svg
   :target: https://badge.fury.io/py/devpi-client-extensions
   :alt: Package on PyPI

.. |build| image:: https://travis-ci.org/hoefling/devpi-client-extensions.svg?branch=master
   :target: https://travis-ci.org/hoefling/devpi-client-extensions
   :alt: Build status

.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/hoefling/devpi-client-extensions?branch=master&svg=true
   :target: https://ci.appveyor.com/project/hoefling/devpi-client-extensions
   :alt: Windows build status

.. |coverage| image:: https://codecov.io/gh/hoefling/devpi-client-extensions/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/hoefling/devpi-client-extensions
   :alt: Coverage status

.. |landscape| image:: https://landscape.io/github/hoefling/devpi-client-extensions/master/landscape.svg?style=flat
   :target: https://landscape.io/github/hoefling/devpi-client-extensions/master
   :alt: Code Health

.. |requirements| image:: https://requires.io/github/hoefling/devpi-client-extensions/requirements.svg?branch=master
     :target: https://requires.io/github/hoefling/devpi-client-extensions/requirements/?branch=master
     :alt: Requirements status

.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/ambv/black

.. _devpi client: https://pypi.org/project/devpi-client/

.. _keyring: https://pypi.org/project/keyring/

