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.32.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

pysta-0.0.32-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file pysta-0.0.32.tar.gz.

File metadata

  • Download URL: pysta-0.0.32.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pysta-0.0.32.tar.gz
Algorithm Hash digest
SHA256 99a72ccbda8b5cd0999609017c7fc82981c6a9b642a94cf510bd99ae69a246a9
MD5 a13ca0d4f1fc19d25d46901574db3b18
BLAKE2b-256 a047864907b2ef89c6efb0e0fd0609b35c8df0529415a82097a8c787eb377d50

See more details on using hashes here.

File details

Details for the file pysta-0.0.32-py3-none-any.whl.

File metadata

  • Download URL: pysta-0.0.32-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pysta-0.0.32-py3-none-any.whl
Algorithm Hash digest
SHA256 0e5d73a66295e22220e6d1e26299252c4a15863db858b2470ab0aecb7a34922d
MD5 24987322134ef33340e434e6da3a103a
BLAKE2b-256 f89baf4efe7822d6b6af88a32d9e8b24195be52bdf27739d09b43ef6dc331a7d

See more details on using hashes here.

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