The Official Python Client of the Array of Things API
Project description
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/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aot-client-2.1.0.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for aot_client-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b3ba56320488e92c7391c36c97defe8767ebd525f33a61d52260da6371e5e47 |
|
MD5 | 1aed6e581e70e2b3112d9b95815fdd6b |
|
BLAKE2b-256 | c5e1759e818f3ece156996b2535eba1c1348e2bb6c8ef036b94915a9a85e8303 |