Skip to main content

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

hydroserverpy-1.9.0.tar.gz (54.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hydroserverpy-1.9.0-py3-none-any.whl (85.5 kB view details)

Uploaded Python 3

File details

Details for the file hydroserverpy-1.9.0.tar.gz.

File metadata

  • Download URL: hydroserverpy-1.9.0.tar.gz
  • Upload date:
  • Size: 54.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for hydroserverpy-1.9.0.tar.gz
Algorithm Hash digest
SHA256 b5e4ddc77372a18e460b9230acceffaa9053f81df27b6afa7d9a4341fd1f6441
MD5 f4827b61421c4863f7b4abb47961f531
BLAKE2b-256 7468a1b4a53f0a05ebbb8b28983a09c31ebf9cd7fd911f8986d8fcba057d271a

See more details on using hashes here.

File details

Details for the file hydroserverpy-1.9.0-py3-none-any.whl.

File metadata

  • Download URL: hydroserverpy-1.9.0-py3-none-any.whl
  • Upload date:
  • Size: 85.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for hydroserverpy-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc6f7d5f05509567d4e9a54d5f6ea4eeb453f655f8d600a1d2b351e4ae9ae3a8
MD5 2a96cc72ca585fa2a279a8288a8745e5
BLAKE2b-256 2ffd649bbffc199211486fd6e9a3924b098a094e1ba189824e801a38912883d6

See more details on using hashes here.

Supported by

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