Skip to main content

Command line utilities for Corps Water Management Systems (CWMS) python scripts. This is a collection of shared scripts across the enterprise Water Management Enterprise System (WMES) teams.

Project description

cwms-cli

A collection of scripts to create, read, update, list, and delete data through CWMS Data API (CDA) and other commonly used API in the US Army Corps of Engineers water management. CWMS-CLI wraps these API in a friendly to use terminal based interface.

Docs - 📖 Read the docs: https://cwms-cli.readthedocs.io/en/latest/

Install

pip3 install git+https://github.com/HydrologicEngineeringCenter/cwms-cli.git@main

Note: If you are on Windows OS, you may just need to use the command pip

Command line implementation

View the help in terminal:

cwms-cli --help

run from within python

from cwmscli.usgs.getusgs_cda import getusgs_cda
from cwmscli.usgs.getusgs_measurements_cda import getusgs_measurements_cda
from cwmscli.usgs.getUSGS_ratings_cda import getusgs_rating_cda

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

cwms_cli-0.2.1.tar.gz (44.7 kB view details)

Uploaded Source

Built Distribution

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

cwms_cli-0.2.1-py3-none-any.whl (60.2 kB view details)

Uploaded Python 3

File details

Details for the file cwms_cli-0.2.1.tar.gz.

File metadata

  • Download URL: cwms_cli-0.2.1.tar.gz
  • Upload date:
  • Size: 44.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cwms_cli-0.2.1.tar.gz
Algorithm Hash digest
SHA256 cae1a95c8ebb8de09c9e433b1c5c35486d3dca668ab0624967dc6da7d87e1d1e
MD5 9315f9711f811c7f1dbfbd48ddc15fb3
BLAKE2b-256 4c8f4a0b5c0223c32889bf1ea4bab8e8cdf5f1c3561b89e7a3ce1d3d7ef55f84

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwms_cli-0.2.1.tar.gz:

Publisher: pypi-deploy.yml on HydrologicEngineeringCenter/cwms-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cwms_cli-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: cwms_cli-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 60.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cwms_cli-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8c0a1530ac0b26e8e18724ed6be1ecf6ad266b8373935fc558b253816923aa7c
MD5 408c361e871a99efedc979e71058fb02
BLAKE2b-256 4b736e4731454a0b101b9fdb16fa016c927a96accdd205d8fdb932cb8e17bb59

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwms_cli-0.2.1-py3-none-any.whl:

Publisher: pypi-deploy.yml on HydrologicEngineeringCenter/cwms-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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