Array of Things Client
This library serves as the official Python client to the Array of Things API.
System Requirements
This library will only run on Python 3.6 or better.
We will not support Python 2 or earlier versions of Python 3.
Using the Library
The AoT Client is available on PyPI:
$ pip install aot-client
You can then use it pull down lists of metadata and observations as well as detailed information about metadata.
from aot_client import AotClient
client = AotClient()
projects = client.list_projects()
for page in projects:
for proj in page.data:
print(f'{proj["name"]} is available at /api/projects/{proj["slug"]}')
Development and Contributing
To run the tests locally:
$ pipenv install --dev
$ pipenv run python -m pytest
To build a release and push it to PyPI:
$ pipenv run python setup.py sdist bdist_wheel
$ pipenv run twine upload dist/*
Metadata
Release files for aot-client 2.1.0
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 | |
|---|---|---|---|---|
| aot-client-2.1.0.tar.gz | 4.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aot_client-2.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / aot-client-2.1.0.tar.gz
| Download URL | aot-client-2.1.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5b4cc72c569d301952312af02539df7b04f3247fbbe18d5a943f43649bbd8f2
|
|
BLAKE2b-256 checksum How to use checksums |
69b0ed10628331ef300498f4ca071b5ef4b261f1e9d5558b632339402401d790
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|
Release files / aot_client-2.1.0-py3-none-any.whl
| Download URL | aot_client-2.1.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b3ba56320488e92c7391c36c97defe8767ebd525f33a61d52260da6371e5e47
|
|
BLAKE2b-256 checksum How to use checksums |
c5e1759e818f3ece156996b2535eba1c1348e2bb6c8ef036b94915a9a85e8303
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|
Security for aot-client 2.1.0
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.