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 3.1, the 28 crosswalks reviewed here, from CFF, Zenodo and DataCite to Maven, SPDX
and Wikidata, have 476 cells for the 17 terms citation tools need. 151 are for terms the format has
no field for. Of the other 325, only 111 can be used as written: 124 are wrong, ambiguous or prose
(23 of them fill a term the format has no field for), and 90 are blank although the format has the field.
CodeMeta has no crosswalk for pyproject.toml, typst.toml or Quarto extensions 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.
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, and 2
when the check cannot run. 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 3.1:
uvx codemeta-drift export codemeta --tag 3.1 --out mapping-3.1.json
The export covers 32 formats, from CFF, Zenodo and pyproject.toml to DCAT 3 and Wikidata; 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 that is 3.1.
Documentation
- Crosswalk coverage matrix: 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 and just 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.6.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 |
|---|---|---|---|---|
| codemeta_drift-0.6.0.tar.gz | 57.2 kB | With provenance | Details for codemeta_drift-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| codemeta_drift-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for codemeta_drift-0.6.0-py3-none-any.whl |
Total release size: 118.5 kB
Release files / codemeta_drift-0.6.0.tar.gz
| Download URL | codemeta_drift-0.6.0.tar.gz |
|---|---|
| Size | 57.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b262606d70361f4f8b25b5934d70f9a8dba882f1d51bf783a5f593de2c92be2f
|
|
BLAKE2b-256 checksum How to use checksums |
acd0c02bc6688ef4388fbae4cac9622cb188f3a204858005c706c673cd810072
|
| 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 1, 2026.
Transparency logRelease files / codemeta_drift-0.6.0-py3-none-any.whl
| Download URL | codemeta_drift-0.6.0-py3-none-any.whl |
|---|---|
| Size | 61.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
983dc50dcbebfa10013942fad4553e3ebb93b669798d10cdc903b2b4819fc20a
|
|
BLAKE2b-256 checksum How to use checksums |
ef858a463d978940da46488ebe62565cec8a9980ed8cf806f53d09de59152634
|
| 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 1, 2026.
Transparency logSecurity for codemeta-drift 0.6.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 codemeta_drift-0.6.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 Nov 1, 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.