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

pip install cwms-cli

Note: You may need to run python -m pip install cwms-cli if PIP is not in your path.

Update

pip install cwms-cli --upgrade

Or as of version 0.3.0+

cwms-cli update

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.3.5.tar.gz (58.1 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.3.5-py3-none-any.whl (78.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cwms_cli-0.3.5.tar.gz
  • Upload date:
  • Size: 58.1 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.3.5.tar.gz
Algorithm Hash digest
SHA256 3f1ae93be2a8c43b89035ea978408921e0c5ee9bb2fe2ce7ff8c971f1104bfce
MD5 f20210eb241d59944dc0b824914afd08
BLAKE2b-256 d248de7734e404d7d09ec8323f0f5b76a7584074ef3bd7cd693f1ccee8e51ac2

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwms_cli-0.3.5.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.3.5-py3-none-any.whl.

File metadata

  • Download URL: cwms_cli-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 78.9 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.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c14ca654011f07333e1332c06181b1c7be354a9aeb964ddbe00a0a19f0b88026
MD5 4b365a44948e8dac08b11538c34638ce
BLAKE2b-256 3dc48578c79d16675dce402d0fb09955e13d380743d7243ff84b02f69dcaad54

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwms_cli-0.3.5-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