python library and CLI to interact with WCRP CVs
Project description
ESGVOC Library
ESGVOC is a Python library designed to simplify interaction with controlled vocabularies (CVs) used in WCRP climate data projects. It supports querying, caching, and validating terms across various CV repositories like the universe and project-specific repositories (e.g., CMIP6Plus, CMIP6, etc.).
Full documentation is available at https://esgf.github.io/esgf-vocab/.
Features
-
Query controlled vocabularies:
- Retrieve terms, collections, or descriptors.
- Perform cross-validation and search operations.
- Supports case-sensitive, wildcard, and approximate matching.
-
Caching:
- Download CVs to a local database for offline use.
- Keep the local cache up-to-date.
-
Validation:
- Validate strings against CV terms and templates.
Installation
ESGVOC is available on PyPI. Install it with pip:
pip install esgvoc
Following this command to install or update the latest CVs.
esgvoc install
How to contribute
- Pip
pip install -e .
pip install pre-commit
pre-commit install
- UV
uv sync
uv run pre-commit install
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 esgvoc-1.1.2.tar.gz.
File metadata
- Download URL: esgvoc-1.1.2.tar.gz
- Upload date:
- Size: 5.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42e663fc079c7886bd22fedbdd2382122f8716f0275450c0699f79320cb603ed
|
|
| MD5 |
04649bd3f6080ca69c6887dd166cdb5d
|
|
| BLAKE2b-256 |
595ba9d8089140ae8ed40e7207298e3806f4df7a60e9bbf49539cc2398c37233
|
Provenance
The following attestation bundles were made for esgvoc-1.1.2.tar.gz:
Publisher:
pypi-publish.yml on ESGF/esgf-vocab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
esgvoc-1.1.2.tar.gz -
Subject digest:
42e663fc079c7886bd22fedbdd2382122f8716f0275450c0699f79320cb603ed - Sigstore transparency entry: 545699297
- Sigstore integration time:
-
Permalink:
ESGF/esgf-vocab@8d8059336a696288a0c4d560dc09fd2cc9e2565b -
Branch / Tag:
refs/tags/1.1.2 - Owner: https://github.com/ESGF
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@8d8059336a696288a0c4d560dc09fd2cc9e2565b -
Trigger Event:
release
-
Statement type:
File details
Details for the file esgvoc-1.1.2-py3-none-any.whl.
File metadata
- Download URL: esgvoc-1.1.2-py3-none-any.whl
- Upload date:
- Size: 131.9 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 |
55046df2c5166cced1799f3ebf595bf582079a33ae91ac8edca692fef8594a18
|
|
| MD5 |
76a85d6df27799d3dadb0f94925d9412
|
|
| BLAKE2b-256 |
3919a632bfcebcd17c711214900a513776cc02043823bf71cef005dcca95f6a5
|
Provenance
The following attestation bundles were made for esgvoc-1.1.2-py3-none-any.whl:
Publisher:
pypi-publish.yml on ESGF/esgf-vocab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
esgvoc-1.1.2-py3-none-any.whl -
Subject digest:
55046df2c5166cced1799f3ebf595bf582079a33ae91ac8edca692fef8594a18 - Sigstore transparency entry: 545699335
- Sigstore integration time:
-
Permalink:
ESGF/esgf-vocab@8d8059336a696288a0c4d560dc09fd2cc9e2565b -
Branch / Tag:
refs/tags/1.1.2 - Owner: https://github.com/ESGF
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@8d8059336a696288a0c4d560dc09fd2cc9e2565b -
Trigger Event:
release
-
Statement type: