Skip to main content

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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hydroserverpy 1.12.2
File Size Uploaded Provenance Actions
hydroserverpy-1.12.2.tar.gz 72.2 kB Without provenance Details for hydroserverpy-1.12.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hydroserverpy 1.12.2
File Interpreter ABI Platform Actions
hydroserverpy-1.12.2-py3-none-any.whl Python 3 none any Details for hydroserverpy-1.12.2-py3-none-any.whl

Total release size: 185.6 kB

Release files / hydroserverpy-1.12.2.tar.gz

Download URL hydroserverpy-1.12.2.tar.gz
Size 72.2 kB
Tags Source
SHA-256 checksum
How to use checksums
149258c314fbccc8ceb62ec425f3b4405d4aca4ac2149855e1d60945d34f833e
BLAKE2b-256 checksum
How to use checksums
432a770948637ccb3937a2ab45a010ab39f6a919f2ee5a3080d01c1e22e017d3
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.2-py3-none-any.whl

Download URL hydroserverpy-1.12.2-py3-none-any.whl
Size 113.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22f7aa46ac25b0943be5166c2f270c9c48478c0885273ad0cb276f267d672666
BLAKE2b-256 checksum
How to use checksums
0b2ca1387129ea8eaad940e3edc9b5039ea3346eb07e02d5d5d9073050056f13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for hydroserverpy 1.12.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.12.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page