CWL 2 DataCite
CWL 2 DataCite is a Transpiler-Mate plugin that converts metadata from a Common Workflow Language (CWL) document into JSON targeting version 4.6 of the DataCite Metadata Schema.
DataCite 4.6 is the plugin's current conversion target. Compatibility with earlier or later DataCite schema versions is not implied.
Usage
Install the package, then invoke the plugin through the Transpiler-Mate CLI:
pip install cwl2datacite
transpiler-mate cwl2datacite workflow.cwl --output datacite.json
The output path defaults to datacite.json.
Project conventions
This project is templated a Hatch-based Python package with:
- Apache-2.0 license
- Keep a Changelog-compatible
CHANGELOG.md - Diátaxis documentation under
docs/ - top-level
mkdocs.yaml - Taskfile integration with
Terradue/taskfile-utils - GitHub Actions CI
Documentation
Project documentation is published at: https://Transpiler-Mate.github.io/cwl2datacite/
Contribute
Submit a Github issue if you have comments or suggestions.
Local quality checks
Install Hatch and Taskfiles then install the Git hook:
task quality:pre-commit:install
Every commit runs Ruff (including the configured McCabe complexity limit), Ruff formatting, strict mypy checks, and the pytest suite.
Run the complete hook explicitly with:
task quality:pre-commit:run
License
Metadata
Release files for cwl2datacite 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cwl2datacite-0.1.1.tar.gz | 19.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cwl2datacite-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.0 kB
Release files / cwl2datacite-0.1.1.tar.gz
| Download URL | cwl2datacite-0.1.1.tar.gz |
|---|---|
| Size | 19.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
614b2b37dd7710e4a50b7937579570eca38ff5fce217e42e4fceaf657ff62dc3
|
|
BLAKE2b-256 checksum How to use checksums |
e34a8b347299226196296fec4db129065962c9961fa265f9ec7118d109d86ca9
|
| 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 Sep 27, 2026.
Transparency logRelease files / cwl2datacite-0.1.1-py3-none-any.whl
| Download URL | cwl2datacite-0.1.1-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
898b6756f1d553aecf80463b6f7403d7a8e6f26a5bac70179fad886cd18641cd
|
|
BLAKE2b-256 checksum How to use checksums |
f96de8b86f9839360b35bf3d9e4a4cea218498ea0a8e90188cddf18ea4e076e5
|
| 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 Sep 27, 2026.
Transparency log