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.
- Note: at present, this is a design choice. You can't use esgvoc without this cache, it always downloads the CVs to a local database first
-
Validation:
- Validate strings against CV terms and templates.
-
Apps:
- Ease some treatment using the CV.
Installation
ESGVOC is available on PyPI. Install it with pip:
pip install esgvoc
After installing ESGVOC, use this command to install the latest CVs (or update them if you have already installed ESGVOC).
esgvoc install
For developers
- with pip
pip install -e .
pip install pre-commit
pre-commit install
- with uv
uv sync
uv run pre-commit install
Metadata
Release files for esgvoc 7.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| esgvoc-7.2.0.tar.gz | 5.7 MB | With provenance | Details for esgvoc-7.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| esgvoc-7.2.0-py3-none-any.whl | Python 3 | none | any | Details for esgvoc-7.2.0-py3-none-any.whl |
Total release size: 6.0 MB
Release files / esgvoc-7.2.0.tar.gz
| Download URL | esgvoc-7.2.0.tar.gz |
|---|---|
| Size | 5.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
70f68debed11ff1620e6b812eecb07e49c12132ad1ef0e1bb0816267f4855b97
|
|
BLAKE2b-256 checksum How to use checksums |
f6df71446991ea310edd81917ebaf2dfa96c2df24539f9d4c5d6d6017fc060ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logRelease files / esgvoc-7.2.0-py3-none-any.whl
| Download URL | esgvoc-7.2.0-py3-none-any.whl |
|---|---|
| Size | 259.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e233a60ab77787785719514970a794b20660565ef577777d69ca9d8ffdd4033
|
|
BLAKE2b-256 checksum How to use checksums |
beb8849859b31b1e68baa6bcfb71457c937ba0aadbdf4183e488f65a572708c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logSecurity for esgvoc 7.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for esgvoc-7.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.