Module to extract data from SHEF formated files with ability to save output as flat file, dss file, or directly into Corps water management systems (CWMS) database
Project description
Package SHEF Parser
A python based package to parser SHEF files and then loads them into various file formats based on the loader applied. This package can be run as a module in python or through command line
Install
pip install git+https://github.com/HydrologicEngineeringCenter/SHEF_processing.git@master
Command line implementation
#base loader
shefParser -i input_filename -o output_filename
#CWMS cda loader
shefParser -i input_filename --loader cda[$API_ROOT][$API_KEY]
Module implementation
from shef import shef_parser
#base loader
shef_parser.parse(
input_name=input_filename,
output_name=output_filename
)
#CWMS CDA loader
shef_parser.parse(
input_name=input_filename,
loader_spec=f"cda[{CDA_URL}][{CDA_API_KEY}]",
)
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
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 shef_parser-1.5.3.tar.gz.
File metadata
- Download URL: shef_parser-1.5.3.tar.gz
- Upload date:
- Size: 63.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a253285612ddc1b129229a1899ad98b56ef1cb78789166c494dcc9fc0f3c0ccb
|
|
| MD5 |
dd076fee9f7711d3726c6584eac83a71
|
|
| BLAKE2b-256 |
95be61079a66d4133ca8a61ad83d5559d4330db6c52241c7ba7ec7c1d4acd5b8
|
Provenance
The following attestation bundles were made for shef_parser-1.5.3.tar.gz:
Publisher:
pypi-deploy.yml on HydrologicEngineeringCenter/SHEF_processing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shef_parser-1.5.3.tar.gz -
Subject digest:
a253285612ddc1b129229a1899ad98b56ef1cb78789166c494dcc9fc0f3c0ccb - Sigstore transparency entry: 634171292
- Sigstore integration time:
-
Permalink:
HydrologicEngineeringCenter/SHEF_processing@228b13a8bb856d7fe0f5eac1b0547b0e89cda540 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/HydrologicEngineeringCenter
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-deploy.yml@228b13a8bb856d7fe0f5eac1b0547b0e89cda540 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file shef_parser-1.5.3-py3-none-any.whl.
File metadata
- Download URL: shef_parser-1.5.3-py3-none-any.whl
- Upload date:
- Size: 70.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9e5b9acf3343bfc763f5aa32075e1a0b888aa3031a56654eb283560a98b27c5
|
|
| MD5 |
dacd5407f16538fc09bc00df76d46f0d
|
|
| BLAKE2b-256 |
b44386f24c51915319e21d0aeb0895618a78c209a247edaec888113cef8f04db
|
Provenance
The following attestation bundles were made for shef_parser-1.5.3-py3-none-any.whl:
Publisher:
pypi-deploy.yml on HydrologicEngineeringCenter/SHEF_processing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shef_parser-1.5.3-py3-none-any.whl -
Subject digest:
d9e5b9acf3343bfc763f5aa32075e1a0b888aa3031a56654eb283560a98b27c5 - Sigstore transparency entry: 634171313
- Sigstore integration time:
-
Permalink:
HydrologicEngineeringCenter/SHEF_processing@228b13a8bb856d7fe0f5eac1b0547b0e89cda540 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/HydrologicEngineeringCenter
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-deploy.yml@228b13a8bb856d7fe0f5eac1b0547b0e89cda540 -
Trigger Event:
workflow_dispatch
-
Statement type: