semvec/pypi-packages huggingface dataset:
aap-client-python 1.0.0b1
AAP Client
License: Apache 2.0
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
Keywords: aap jose jwt auth flask

.. image:: https://travis-ci.org/EMBL-EBI-TSI/aap-client-python.svg?branch=master
   :target: https://travis-ci.org/EMBL-EBI-TSI/aap-client-python
.. image:: https://codecov.io/gh/EMBL-EBI-TSI/aap-client-python/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/EMBL-EBI-TSI/aap-client-python
.. image:: https://readthedocs.org/projects/aap-client-python/badge/?version=latest
   :target: https://aap-client-python.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status


Overview
########

This library is meant to be used in the backed to interact with Tokens produced by EBI's AAP

Cryptographic files here shouldn't be used in production, they're just for testing :)

Usage
#####

To install the package, enable the virtual environment where it's going to be used and run
``$ pip install aap-client-python``

To use the Flask functionality this needs to be installed:
``$ pip install aap-client-python[flask]``

Developing
##########

To prepare the environment for developing the library, create a virtual environment, go to project root and then run:

::

  $ pip install -e .[dev]

Testing
#######
The recommended way is to test using detox.
This allows for testing in all the supported python versions using virtual environments effortlessly.
To use, install it, then run in the project root:

::

  $ pip install detox
  $ detox

Alternatively, testing can be done in the same environment as the dev one by installing it's dependencies, then running pytest:

::

  $ pip install -e .[test]
  $ python -m pytest -s