This release is a pre-release and may not be stable for production use.
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.
Metadata
Release files for hydroserverpy 1.12.0b5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hydroserverpy-1.12.0b5.tar.gz | 72.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hydroserverpy-1.12.0b5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 185.6 kB
Release files / hydroserverpy-1.12.0b5.tar.gz
| Download URL | hydroserverpy-1.12.0b5.tar.gz |
|---|---|
| Size | 72.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb7146bbc6ad8b5580b0fe5834d617e50c7f4879bce27ea6394bec4ab99d6341
|
|
BLAKE2b-256 checksum How to use checksums |
8e97f89330e624c1a4bc4c033c9712c0755b67d3469d0e74d4203fe96add5c7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / hydroserverpy-1.12.0b5-py3-none-any.whl
| Download URL | hydroserverpy-1.12.0b5-py3-none-any.whl |
|---|---|
| Size | 113.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b13a987c13a8988ceefd393a2ab2a8a7f6551a4fb1f5aaf3f02a437f8937103
|
|
BLAKE2b-256 checksum How to use checksums |
2e65801fc23c305e4e1be3cc3fa50709ed8acb69f14eb9b64f3b7bba33c14b2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|