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.0.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 | |
|---|---|---|---|
| esgvoc-7.0.0.tar.gz | 5.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| esgvoc-7.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 MB
Release files / esgvoc-7.0.0.tar.gz
| Download URL | esgvoc-7.0.0.tar.gz |
|---|---|
| Size | 5.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f973b40975b58b1ba3e26aa92b7a6991e8af11d3381c01e2bd609b59d7cc676
|
|
BLAKE2b-256 checksum How to use checksums |
653197a15bfef438853faddde121da30706e645769775dda72ef8aa43d9f4cc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 8, 2026.
Transparency logRelease files / esgvoc-7.0.0-py3-none-any.whl
| Download URL | esgvoc-7.0.0-py3-none-any.whl |
|---|---|
| Size | 255.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6794f83419b8002f9e74ec87e1dac36a78fdd69c45f3fc9af715d5c2c8baa1c6
|
|
BLAKE2b-256 checksum How to use checksums |
b6233a9423e23068b1d25ceffe3b6cd82d98c7900313b2d617d388d3f1b74329
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 8, 2026.
Transparency log