Skip to main content

CWL 2 DataCite

PyPI - Version PyPI - Python Version

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

Apache License, Version 2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cwl2datacite-0.1.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

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

cwl2datacite-0.1.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file cwl2datacite-0.1.0.tar.gz.

File metadata

  • Download URL: cwl2datacite-0.1.0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cwl2datacite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ac968479a6988e8fcbba4c0cd4b2c862843ed077daade09b178c85274c0c62e5
MD5 b86620cab335768c10fe03587dd410cb
BLAKE2b-256 de36105e0a08a7963df342b0082bb93e1310e5598c289013e773094f7858d572

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwl2datacite-0.1.0.tar.gz:

Publisher: package.yaml on transpiler-mate/cwl2datacite

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

File details

Details for the file cwl2datacite-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cwl2datacite-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cwl2datacite-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76b063a3f72c33690ae5ae69361510dfa439a4ab06973dd1bada0e0a912d07f8
MD5 5e89bc866acb44af0b566e220d19057b
BLAKE2b-256 ec4db3d53a8c2dc06024e7eaa1d96bcfa0acf50af914872a01beaff3284669ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwl2datacite-0.1.0-py3-none-any.whl:

Publisher: package.yaml on transpiler-mate/cwl2datacite

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page