Metadata-Version: 2.1
Name: aiostp
Version: 0.0.12.dev1
Summary: asyncio client library for stpmex.com
Home-page: https://github.com/cuenca-mx/aiostp
Author: Cuenca
Author-email: dev@cuenca.com
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

asyncio client library for stpmex.com
# STP – Async python client library for stpmex.com

[![test](https://github.com/cuenca-mx/aiostp/workflows/test/badge.svg)](https://github.com/cuenca-mx/aiostp/actions?query=workflow%3Atest)
[![codecov](https://codecov.io/gh/cuenca-mx/aiostp/branch/main/graph/badge.svg)](https://codecov.io/gh/cuenca-mx/aiostp)
![release](https://github.com/cuenca-mx/aiostp/workflows/release/badge.svg)


# Installation

`pip install aiostp`

# Authentication

The preferred way to configure the credentials for the client is to set the
`STP_PRIVATE_LOCATION` and `STP_KEY_PASSPHRASE` environment variables. The client
library will automatically configure based on the values of those variables.
`STP_PRIVATE_LOCATION` can be the route to the file, or the private key itself.

To configure manually:
```python
import aiostp

aiostp.configure(priv_key='PKxxxx', priv_key_passphrase='yyyyyy')
```
