Metadata-Version: 2.1
Name: aiostp
Version: 0.0.7.dev0
Summary: asyncio client library for stpmex.com
Home-page: https://github.com/cuenca-mx/aiostp
Author: Cuenca
Author-email: dev@cuenca.com
License: UNKNOWN
Platform: UNKNOWN
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
Requires-Dist: aiohttp (<3.8.0,>=3.7.3)
Requires-Dist: cryptography (<4.1,>=3.0)
Requires-Dist: cuenca-validations (<0.7.0,>=0.5.0)
Requires-Dist: aiofile (<3.4.0,>=3.3.0)
Requires-Dist: pydantic (<1.8.0,>=1.7.0)
Requires-Dist: pandas (<1.3.0,>=1.1.0)
Requires-Dist: stpmex (<3.8.0,>=3.6.0)

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')
```


