Metadata-Version: 2.4
Name: eratos-sensor
Version: 2.17.0
Summary: Senaps Sensor Data API Client
Project-URL: Homepage, https://bitbucket.csiro.au/projects/SC/repos/sensor-api-python-client/browse
Author-email: CSIRO Data61 <senaps@csiro.au>
Maintainer-email: Eratos <support@eratos.com>
License: MIT License
License-File: LICENSE
Keywords: api,client,library,senaps,sensor
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.7
Requires-Dist: enum34; python_version < '3.4.0'
Requires-Dist: requests<3.0.0,>=2.22.0
Requires-Dist: six>=1.7.3
Description-Content-Type: text/markdown

Senaps Sensor Data Python Client
==============================

This project is a python client implementation for the [Senaps Sensor API v2](https://senaps.io/api-docs/).

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/ 
