Skip to main content

Python SensorThings Client

Project description

PySTA

Python SensorThings API client

What is PySTA

PySTA is a SensorThings API client written in python. It provides a simple object-based interface to SensorThings entities.

Who is PySTA

PySTA is developed by the New Mexico Water Data Initiative in collaboration with the Internet of Water

Why is PySTA

PySTA was started out of the NMWDI's need for simple python tools to load data into a SensorThings instance.

How to install

PySTA can easily be installed via PyPI.org

pip install pysta 

How to Use

Get all the locations for agency NMBGMR and output as a json file to out.locations.json

sta locations --agency NMBGMR

Specify an output name

sta locations --agency NMBGMR --out mylocations.json

Output as csv

sta locations --agency NMBGMR --out mylocations.csv

Output as ShapeFile

sta locations --agency NMBGMR --out mylocations.shp

Get help

sta locations --help

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

pysta-0.0.30.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distribution

pysta-0.0.30-py3-none-any.whl (15.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page