aionap - Python Asyncio REST Client
aionap is a Python asyncio enabled REST client. It uses a similar API like slumber and copies shameless other parts of it.
Feel free to contribute via pull requests, issues or email messages.
QuickStart
Install aionap:
$ pip install aionap
Install Optional Requirement:
pip install pyyaml
Use it!
Usage
Get an API object and fetch a url/resource (e.g. https://demo.api-platform.com/books)
import aionap
async with aionap.API('https://demo.api-platform.com') as api
response = await api.books.get()
For more see the documenation, the test/test_demo_api.py file or the example directory.
Installation
aionap is available via PyPI, just install it as usual.
$ pip install aionap
aionap requires Python >= 3.6.
[OPTIONAL] PyYaml (Required for the yaml serializer):
$ pip install pyyaml
Features
Basic Auth support
JSON, YAML serializers
GET, POST, PUT, PATCH, DELETE of resources
Good test coverage
TODO
OAuth support
Readthedocs API documentation (SSL_CERT_FILE)
Compatibility
Python >= 3.6
Licence
BSD 2-Clause License
Metadata
Release files for aionap 0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aionap-0.7.tar.gz | 6.5 kB | Without provenance | Details for aionap-0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aionap-0.7-py3-none-any.whl | Python 3 | none | any | Details for aionap-0.7-py3-none-any.whl |
Total release size: 13.8 kB
Release files / aionap-0.7.tar.gz
| Download URL | aionap-0.7.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f29e0f13b1deac0dd15bd793c4d8722fe40f83067967bf9f37e2522789b0d1d
|
|
BLAKE2b-256 checksum How to use checksums |
680e7d0c2d41e5f63f2afcf8487da7bcb238623decc80e79a6ba073c7f144ad1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3
|
Release files / aionap-0.7-py3-none-any.whl
| Download URL | aionap-0.7-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4c68a30c749baeb78c8d8124c5d80d4fd64cdcda7e08fb759d30955e3054a3a
|
|
BLAKE2b-256 checksum How to use checksums |
b043e76de0a6a11622878d2eefc6f862dd00f64c180d511efa33621004b7286e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3
|
Security for aionap 0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.