codemeta-drift
Show where CodeMeta's crosswalks to citation and package formats are wrong or missing, check where its vocabulary, definitions, examples and crosswalks disagree, and export reviewed field mappings for citation tools such as citesync.
Why this exists
CodeMeta describes software metadata: authors, licences,
versions and repository URLs. Its crosswalks map fields in other formats to CodeMeta
terms. For example, the Citation File Format (CFF) uses title where CodeMeta uses name.
These files need to agree. In one checked snapshot, the property list replaced position
with maintainer, while the crosswalks kept position. Joining the tables by row number
would attach a field to the wrong term. codemeta-drift compares names and reports the mismatch.
Use it to check the CodeMeta standard's own files. To keep a project's CITATION.cff,
codemeta.json and package manifests in sync, use citesync.
How the crosswalks hold up
At CodeMeta 4.0, the 30 crosswalks reviewed here, from CFF, Zenodo and DataCite to Maven, SPDX,
Wikidata and GitLab, have 540 cells for the 18 terms citation tools need. 189 are for terms the format has no field for. Of the other 351, only 120 can be used as written: 140 are wrong,
ambiguous or prose (30 of them fill a term the format has no field for), and 91 are blank although the format
has the field. The 19th term, resourceType, has no CodeMeta property, so no crosswalk can have its cell.
CodeMeta has no crosswalk for pyproject.toml, typst.toml, Quarto extensions, RIS or EndNote at all. The coverage matrix
shows every cell and the reason for each correction, lists the other 16 crosswalks by the shape
of their cells, and the
web page also checks CodeMeta's main branch each week.
The 3.1 matrix preserves the earlier figures.
Try it
You need Git and uv. Check a CodeMeta checkout:
git clone https://github.com/codemeta/codemeta
uvx codemeta-drift codemeta
uvx codemeta-drift codemeta --ref 4.0
The first check reads the working tree. --ref reads a release, branch or commit.
To install the command for repeated use, run uv tool install codemeta-drift.
Each output line names the check, file, term and problem. For example, the 4.0 check reports:
EXAMPLE_NO_TERM examples/codemeta.json: softwareSuggestions: not a term of codemeta.jsonld
Exit codes are 0 when the checked files agree, 1 when they disagree, 2 on a usage
error, 3 when the check cannot run and 130 when interrupted. A check with no findings prints nothing; SKIPPED notices
for optional files do not make it fail. Add --json for structured output.
See finding codes, compared files and JSON output.
Mapping export
Export the reviewed mappings for CodeMeta 4.0 (or 3.1):
uvx codemeta-drift export codemeta --tag 4.0 --out mapping-4.0.json
The 4.0 export covers 36 formats, from CFF, Zenodo and pyproject.toml to DCAT 3, Wikidata and GitLab; the
mapping export lists them.
It records the field path for each term, with a reason for each curated correction.
It does not convert field values.
The exporter reads the tag's commit and refuses rows it cannot resolve.
Read the export guide and contract, or inspect the
committed example. Only tags with curated mappings can be
exported; currently those are 3.1 and 4.0.
Documentation
- Crosswalk coverage matrix (also 3.1): every term and format, with the reason for each correction.
- Offline schema recovery: preview a synthetic rename and apply an explicit approval.
- Zenodo path coverage: verified paths, upstream source checks and validation limits.
- Understand findings and use the JSON interface.
- Inspect the dated CodeMeta findings report.
- Export mappings and validate paths against schemas.
- Set up development and run tests.
Crosswalk hub
Derive field correspondences between two formats or write SSSOM spokes for every format with
codemeta-drift hub. Values still need each format's parser and normalization.
Schema watcher
Compare downloaded schemas and prepare issue drafts with the schema watcher. The weekly workflow polls public sources and also checks citesync's mapping pin. Publishing requires a configured token.
Development
From a codemeta-drift checkout, with uv, just and Node (its built-in test runner, no packages) installed:
uv sync
just check
The development guide covers hooks, fixture updates and mutation testing. CONTRIBUTING.md gives the commit and sign-off rules.
License
Apache-2.0. The CodeMeta test fixtures use the same licence; see NOTICE.
Metadata
Release files for codemeta-drift 0.7.2
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 |
|---|---|---|---|---|
| codemeta_drift-0.7.2.tar.gz | 91.0 kB | With provenance | Details for codemeta_drift-0.7.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| codemeta_drift-0.7.2-py3-none-any.whl | Python 3 | none | any | Details for codemeta_drift-0.7.2-py3-none-any.whl |
Total release size: 184.5 kB
Release files / codemeta_drift-0.7.2.tar.gz
| Download URL | codemeta_drift-0.7.2.tar.gz |
|---|---|
| Size | 91.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd6ccbce401cdbd2f3c6616b090e2ee0cfde7180e2c0b9d189b6585fc790ad71
|
|
BLAKE2b-256 checksum How to use checksums |
55e9e58db02cab80bea0a99d45667a79ef0499eb86b9ae9ae5f1812a6336dfa5
|
| 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 Nov 10, 2026.
Transparency logRelease files / codemeta_drift-0.7.2-py3-none-any.whl
| Download URL | codemeta_drift-0.7.2-py3-none-any.whl |
|---|---|
| Size | 93.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0af931c1a48040f1e977e250a82ecc1e2ec66fd05ba66fffa9eafbabd1461882
|
|
BLAKE2b-256 checksum How to use checksums |
4ef87d96c231f83fb467cbed0fc3bcb26152a3ad82a6fea13e76973c192b3599
|
| 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 Nov 10, 2026.
Transparency logSecurity for codemeta-drift 0.7.2
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 codemeta_drift-0.7.2.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 Nov 10, 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.