Senaps Sensor Data API Client
Project Links
Meta
Author: CSIRO Data61
Maintainer: Eratos
Requires Python: >=3.7
Classifiers
Development Status
- 4 - Beta
License
- OSI Approved :: MIT License
Operating System
- OS Independent
Programming Language
- Python
- Python :: 3.7
- Python :: 3.8
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
Topic
- Software Development :: Libraries
Senaps Sensor Data Python Client
This project is a python client implementation for the Senaps Sensor API v2.
Project home page: https://bitbucket.csiro.au/projects/SC/repos/sensor-api-python-client/browse
Installation
Install from the master branch:
$ pip install -e git+https://bitbucket.csiro.au/scm/sc/sensor-api-python-client.git#egg=senaps_sensor
Or install from a tag:
$ pip install -e git+https://bitbucket.csiro.au/scm/sc/sensor-api-python-client.git@v2.13.0#egg=senaps_sensor
Documentation
TODO
Roadmap
- Define unimplemented models
- Define unimplemented API endpoints
Development
Clone the project from bitbucket:
$ git clone https://bitbucket.csiro.au/scm/sc/sensor-api-python-client.git
$ cd sensor-api-python-client
Create a python virtual environment, then install the requirements as below:
$ (venv) pip install -r requirements.txt && pip install -r test_requirements.txt
Testing
Run the test suite with:
$ (venv) nosetests -v tests.test_auth tests.test_api tests.test_internal_auth tests.test_parsers
Or, use tox to run the setup.py package build and test suite for all python versions (ensure your environment variables for any API calls that hit the web are correct, see tox.ini passenv configuration):
$ (venv) tox
Acknowledgements
This project has been heavily derived from the Tweepy python twitter client project: https://github.com/tweepy/tweepy/