Skip to main content

AAP Client

Project description

https://travis-ci.org/EMBL-EBI-TSI/aap-client-python.svg?branch=master https://codecov.io/gh/EMBL-EBI-TSI/aap-client-python/branch/master/graph/badge.svg https://coveralls.io/repos/github/EMBL-EBI-TSI/aap-client-python/badge.svg?branch=master

Overview

This library can be used to interface with the AAP, although it is also able to sign tokens. (for testing the verification is done correctly)

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 dependecies, then running pytest:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

aap_client_python-0.1.4-py2.py3-none-any.whl (8.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file aap_client_python-0.1.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for aap_client_python-0.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 70b667c8d38d0de5a653cc2235e95319571587ff4a8b279ad77d0e7eaa17f1ad
MD5 e9ce62eaa1e29a10a58fdb0e2dd9bc7b
BLAKE2b-256 f9834204521d7db893c45e786b4724033eec577312a6cff8f9b4bd58a5c11b1a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page