Introduction
This repository provides Python tools for creating, validating, and searching EarthCODE Open Science Catalog metadata.
Installation
pip install earthcode
Publishing to the Open Science catalog
In the guide/ folder you can find instructions how to publish your results to the Open Science Catalog.
Start with the guide/0.Prerequisites - local.ipynb notebook if you are running the examples locally.
Alternatively, start with guide/0.Prerequisites-EarthCODE-Workspaces.ipynb if you are using the EarthCODE workspace.
Examples
In the examples folder you can find notebooks that show:
- How to use the library to semantically search the Open Science Catalog -
examples/earthcode_data_discovery.ipynb - (Experimental) How to combine the library and the OSC editor -
examples/contribute_via_osc_editor.ipynb - How to validate a local copy of the catalog and open a PR -
examples/contribute_via_pr_osc.ipynb
For Developers:
Local install
git clone https://github.com/ESA-EarthCODE/earthcode-library.git- Install pixi - https://pixi.sh/dev/installation/
cd earthcode-librarypixi installpixi run jupyter lab
You can run tests through pixi run pytest. If running on Windows use pixi run pytest --basetemp=C:\t to avoid long path errors, since some of the project names are >260 chars.
To create a new release and publish it
edit pyproject.toml to 1.1.4 and run
pixi lockgit add pyproject.toml pixi.toml pixi.lockgit commit -m "Release v1.1.4"git push origin maingit tag -a v1.1.4 -m "Release v1.1.4"git push origin v1.1.4
Metadata
Release files for earthcode 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| earthcode-0.1.8.tar.gz | 1.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| earthcode-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.2 MB
Release files / earthcode-0.1.8.tar.gz
| Download URL | earthcode-0.1.8.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25d7b04287b17b292c27bdcb3d3e5f016fa1d3adb457536e48ce06b481e7f2cd
|
|
BLAKE2b-256 checksum How to use checksums |
c7fb02955a27acc0f686fe13dcfccba16d704bf289725007e89923876aca3dbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 2, 2026.
Transparency logRelease files / earthcode-0.1.8-py3-none-any.whl
| Download URL | earthcode-0.1.8-py3-none-any.whl |
|---|---|
| Size | 55.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33015c2f70cc3ac1ac6bba7f7804ea568ffb6001654ca218705b66aa9e1807dd
|
|
BLAKE2b-256 checksum How to use checksums |
8e7354666c08299679299969cdf8e07e9613c6396acd85e02e772b64d0ba7a3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 2, 2026.
Transparency log