RDA python package to add and process batch jobs
Project description
dscheck
Python project to add and process batch jobs for the NSF NCAR Geoscience Data Exchange (GDEX).
The user guide for this utility tool can be viewed at: User guide.
Source layout
The package lives under src/rda_python_dscheck/. The three files most
relevant to setup and customization are:
-
dscheck.py— entry point installed as thesetuid_dscheckconsole script. Defines theDsCheckclass which subclassesPgCheck, parses command-line options viaself.parsing_input, and dispatches to the appropriate action handler (add_check_info,process_check,get_check_info,set_dscheck_options, ...). Build new actions by adding a method here and routing to it fromstart_actions(). -
pg_check.py— defines thePgCheckclass (inherits fromPgCMDinrda_python_common). Holds the masterOPTSoption table, theALIASmap for long/alias names, theTBLHASHtable field maps fordscheckanddsdaemon, and the helper methods shared by every action (option validation, dynamic batch-option resolution, daemon control, host/specialist resolution, etc.). Add or change options here, then document them indscheck.usg. -
dscheck.usg— single source of truth for the user-facing documentation displayed bydscheck -?and rendered as the user guide. Section 3 lists Action options, Section 4 lists Mode options, and Section 5 lists Single- and Multi-Value Info options. When you add a new option toOPTSinpg_check.py, add a matching entry to the appropriate subsection of this file and (if relevant) to the per-action usage block in Section 3.
Installing from PyPI
The package is published on PyPI, so the regular install command is:
pip install rda_python_dscheck
To upgrade an existing install to the latest published release:
pip install --upgrade rda_python_dscheck
This pulls in rda_python_common (which provides PgCMD, PgLOG,
PgDBI, ...) and registers the setuid_dscheck console script.
Installing for development
For local changes, clone the repo and install in editable mode so that edits are picked up immediately without reinstalling:
git clone https://github.com/NCAR/rda-python-dscheck.git
cd rda-python-dscheck
pip install -e .
Documentation sync
The user guide rendered at
gdex-docs-dscheck.readthedocs.io is
generated from src/rda_python_dscheck/dscheck.usg in this repository. When a
pull request that modifies dscheck.usg is merged here, an automated workflow
converts the updated dscheck.usg into the RST-format source files in the
gdex-docs-dscheck repository and
opens a pull request there with the regenerated docs, ready for review and
merge. No manual RST editing is required — keep all user-facing content in
dscheck.usg and let the sync produce the docs.
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 rda_python_dscheck-2.0.8.tar.gz.
File metadata
- Download URL: rda_python_dscheck-2.0.8.tar.gz
- Upload date:
- Size: 52.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75bc2de45f6fc2ceacdc74ba7ad3e0518af91910721dc391e9f5ed074a424843
|
|
| MD5 |
3c9349481809d7f29d4843f4cce0ec93
|
|
| BLAKE2b-256 |
1995c1673e71d50e8e8640a5aedfcba22ebe43ef184a5ebdf83b9ce5d7cfb719
|
Provenance
The following attestation bundles were made for rda_python_dscheck-2.0.8.tar.gz:
Publisher:
publish.yml on NCAR/rda-python-dscheck
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rda_python_dscheck-2.0.8.tar.gz -
Subject digest:
75bc2de45f6fc2ceacdc74ba7ad3e0518af91910721dc391e9f5ed074a424843 - Sigstore transparency entry: 1569559141
- Sigstore integration time:
-
Permalink:
NCAR/rda-python-dscheck@316e032aab28895d7cd30887fc3fe250f6838ff6 -
Branch / Tag:
refs/tags/v2.0.8 - Owner: https://github.com/NCAR
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@316e032aab28895d7cd30887fc3fe250f6838ff6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file rda_python_dscheck-2.0.8-py3-none-any.whl.
File metadata
- Download URL: rda_python_dscheck-2.0.8-py3-none-any.whl
- Upload date:
- Size: 55.5 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 |
1527d2342a7874a1dfab28e09676fd6cc7991ba4020bb6ebbf7f871b276a515b
|
|
| MD5 |
e836462f2e59c939c704dd7abc8033e9
|
|
| BLAKE2b-256 |
c413cec72b6544ae1524456321fb2a9c9ef3dc975c093afe59fab7b4b17ab719
|
Provenance
The following attestation bundles were made for rda_python_dscheck-2.0.8-py3-none-any.whl:
Publisher:
publish.yml on NCAR/rda-python-dscheck
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rda_python_dscheck-2.0.8-py3-none-any.whl -
Subject digest:
1527d2342a7874a1dfab28e09676fd6cc7991ba4020bb6ebbf7f871b276a515b - Sigstore transparency entry: 1569559214
- Sigstore integration time:
-
Permalink:
NCAR/rda-python-dscheck@316e032aab28895d7cd30887fc3fe250f6838ff6 -
Branch / Tag:
refs/tags/v2.0.8 - Owner: https://github.com/NCAR
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@316e032aab28895d7cd30887fc3fe250f6838ff6 -
Trigger Event:
release
-
Statement type: