Skip to main content

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

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

esgvoc-0.2.1.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

esgvoc-0.2.1-py3-none-any.whl (78.3 kB view details)

Uploaded Python 3

File details

Details for the file esgvoc-0.2.1.tar.gz.

File metadata

  • Download URL: esgvoc-0.2.1.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for esgvoc-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8a91dffe5ce766bc4ea5399de6a2b7da2f9ecabb57a37c046d631a162f075264
MD5 6d306c2f47bf50165b487b4c4afcc26c
BLAKE2b-256 397a221be6790ff37c2cff25104a55b1fe2062f0231cce0c9e3f4098bf7186ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for esgvoc-0.2.1.tar.gz:

Publisher: pypi-publish.yml on ESGF/esgf-vocab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file esgvoc-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: esgvoc-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 78.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for esgvoc-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9293e2df45f10085812708a6929e774cb5482a5d0c4f39a8b5ba1ea5a58dbda3
MD5 7a0ccf99d941e7d292a49e5eb74247c2
BLAKE2b-256 163f60987da6e0dda5e9dac0dac373e0432390a6a256a19c5156e3a803900b81

See more details on using hashes here.

Provenance

The following attestation bundles were made for esgvoc-0.2.1-py3-none-any.whl:

Publisher: pypi-publish.yml on ESGF/esgf-vocab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page