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](https://api.arrayofthings.org/).
## 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:
```bash
$ pip install aot-client
```
You can then use it pull down lists of metadata and observations
as well as detailed information about metadata.
```python
from aot_client import AotClient
client = AotClient()
projects = client.list_projects()
for proj in projects:
print(f'{proj["name"]} is available at /api/projects/{proj["slug"]}')
```
## Development and Contributing
To run the tests locally:
```bash
$ pipenv install --dev
$ pipenv run python -m pytest
```
To build a release and push it to PyPI:
```bash
$ pipenv run python setup.py sdist bdist_wheel
$ pipenv run twine upload dist/*
```
This library serves as the official Python client to the [Array of Things API](https://api.arrayofthings.org/).
## 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:
```bash
$ pip install aot-client
```
You can then use it pull down lists of metadata and observations
as well as detailed information about metadata.
```python
from aot_client import AotClient
client = AotClient()
projects = client.list_projects()
for proj in projects:
print(f'{proj["name"]} is available at /api/projects/{proj["slug"]}')
```
## Development and Contributing
To run the tests locally:
```bash
$ pipenv install --dev
$ pipenv run python -m pytest
```
To build a release and push it to PyPI:
```bash
$ 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-0.2.0.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for aot_client-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea32f4e9cbabce3aee0581bb4acc314c96a22281b49a8bdade83ddbd72a05dfa |
|
MD5 | e544edeeed78ac122148f641e0d23f6a |
|
BLAKE2b-256 | 0c953e87e2e4cfd1b00a7b96e6637a1d3d1832b9e7314760bcf8279aab68de73 |