A Python client for managing HydroServer data
Project description
HydroServer Python Client
The hydroserverpy Python package provides an interface for managing HydroServer data and metadata, loading observations, and performing data quality control. This guide will go over how to install the package and connect to a HydroServer instance. Full hydroserverpy documentation and examples can be found here.
Installation
You can install the package via pip:
pip install hydroserverpy
Connecting to HydroServer
To connect to HydroServer, you need to initialize the client with the instance of HydroServer you're using and your user credentials if you want to access and modify your own data. If you don't provide authentication credentials you can read public data, but you will not be able to create or modify any data.
Example: Anonymous User
from hydroserverpy import HydroServer
# Initialize HydroServer connection.
hs_api = HydroServer(
host='https://playground.hydroserver.org'
)
Example: Basic Authentication
from hydroserverpy import HydroServer
# Initialize HydroServer connection with credentials.
hs_api = HydroServer(
host='https://playground.hydroserver.org',
email='user@example.com',
password='******'
)
Funding and Acknowledgements
Funding for this project was provided by the National Oceanic & Atmospheric Administration (NOAA), awarded to the Cooperative Institute for Research to Operations in Hydrology (CIROH) through the NOAA Cooperative Agreement with The University of Alabama (NA22NWS4320003). Utah State University is a founding member of CIROH and receives funding under subaward from the University of Alabama. Additional funding and support have been provided by the State of Utah Division of Water Rights, the World Meteorological Organization, and the Utah Water Research laboratory at Utah State University.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hydroserverpy-1.7.0b3.tar.gz.
File metadata
- Download URL: hydroserverpy-1.7.0b3.tar.gz
- Upload date:
- Size: 36.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
657edab33715cf34100cc2a0036d004cc6d6463f61f309165787636f3a92fc02
|
|
| MD5 |
b71f6036068e067783f4ab64743dd314
|
|
| BLAKE2b-256 |
2057279863b858fa7067de8867cc14a268d208260504e7ed3ba6ae3108c9fe15
|
File details
Details for the file hydroserverpy-1.7.0b3-py3-none-any.whl.
File metadata
- Download URL: hydroserverpy-1.7.0b3-py3-none-any.whl
- Upload date:
- Size: 62.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fecd4a9173d006f27b3ba6e6be69d623389a410e84e8fdd889b5994dcee44545
|
|
| MD5 |
f793771c2b883da5a4878362c0a12284
|
|
| BLAKE2b-256 |
d3231d947b2a56b3fb30acaf67e43e4072ad7f2fbcf5fc27e6f2c4edefb2dd9f
|