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.
- 📖 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cwms_cli-0.5.0.tar.gz.
File metadata
- Download URL: cwms_cli-0.5.0.tar.gz
- Upload date:
- Size: 70.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d69090884d68a830ec1bbbf03a82a1092e6985f7d25189918982adc8ae8e699
|
|
| MD5 |
8970888a6de54b0a040d40b4d8a2831f
|
|
| BLAKE2b-256 |
1ff9e1c3627797e0c41e47cc4c0c5853eea9b48aaf2dd436ed125570fee04682
|
Provenance
The following attestation bundles were made for cwms_cli-0.5.0.tar.gz:
Publisher:
release-please.yml on HydrologicEngineeringCenter/cwms-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cwms_cli-0.5.0.tar.gz -
Subject digest:
7d69090884d68a830ec1bbbf03a82a1092e6985f7d25189918982adc8ae8e699 - Sigstore transparency entry: 1262900850
- Sigstore integration time:
-
Permalink:
HydrologicEngineeringCenter/cwms-cli@28128101c975fa67ca0c6824895fa7ba155d155e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/HydrologicEngineeringCenter
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@28128101c975fa67ca0c6824895fa7ba155d155e -
Trigger Event:
push
-
Statement type:
File details
Details for the file cwms_cli-0.5.0-py3-none-any.whl.
File metadata
- Download URL: cwms_cli-0.5.0-py3-none-any.whl
- Upload date:
- Size: 95.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
349f943768f21873145eedf5a7e86e33de4a7a368aad7262aa4ab3ee72c28129
|
|
| MD5 |
bf0fba6ca55e6ca9eef7bf3503a6eef3
|
|
| BLAKE2b-256 |
cbfc4d55c15f286e603bde9dd6e563ef8258d77217901b443a584eea0c641e92
|
Provenance
The following attestation bundles were made for cwms_cli-0.5.0-py3-none-any.whl:
Publisher:
release-please.yml on HydrologicEngineeringCenter/cwms-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cwms_cli-0.5.0-py3-none-any.whl -
Subject digest:
349f943768f21873145eedf5a7e86e33de4a7a368aad7262aa4ab3ee72c28129 - Sigstore transparency entry: 1262900859
- Sigstore integration time:
-
Permalink:
HydrologicEngineeringCenter/cwms-cli@28128101c975fa67ca0c6824895fa7ba155d155e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/HydrologicEngineeringCenter
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@28128101c975fa67ca0c6824895fa7ba155d155e -
Trigger Event:
push
-
Statement type: