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

To install a specific version:

cwms-cli update --target-version 0.7.1 --yes

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.7.1.tar.gz (91.6 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.7.1-py3-none-any.whl (119.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cwms_cli-0.7.1.tar.gz
Algorithm Hash digest
SHA256 c347fbb3969916dc1296ef7d168a13d849a1ad556c6b9245df92a32c0b92a1b3
MD5 1e7d31666cfe71f44fba9f60984d453f
BLAKE2b-256 91d22bb97c4ab26be1b72eb895ee63ee156c424a03bf1110e8ed8a75fd692e76

See more details on using hashes here.

Provenance

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

Publisher: release-please.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.7.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for cwms_cli-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d00dcc610c73a7f97a634424224068530bc77929dd4b7d273aa6fceb24d97a3
MD5 223d33ef9394bfb1c92f8939581472f8
BLAKE2b-256 9b2a3673d2e946f0740f89e2910c97d149217d676463bf6184a0d61dad8782e1

See more details on using hashes here.

Provenance

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

Publisher: release-please.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