Skip to main content

Invenio Publisher Transpiler-Mate Plugin

PyPI - Version PyPI - Python Version GitHub Actions Workflow Status Code coverage

invenio-publish publishes the Schema.org metadata of a CWL document as an InvenioRDM record. It uses the dedicated invenio-rest-api-client for the record, draft, DOI, file-upload, versioning, and publication APIs. The same client and workflow are compatible with Zenodo.

  • Without s:identifier, the plugin creates a draft, reserves a DOI, uploads any attachments, and publishes a new record.
  • With an existing DOI in s:identifier, the plugin creates and publishes a new version of that record.

Install the plugin and the Transpiler-Mate runtime in the same environment:

python -m pip install invenio-publish transpiler-mate-runtime

Then publish to an InvenioRDM instance (Zenodo Sandbox is shown here):

export INVENIO_TOKEN="your-access-token"
transpiler-mate invenio-publish \
  --base-url https://sandbox.zenodo.org/ \
  --auth-token "$INVENIO_TOKEN" \
  --attach workflow.cwl \
  workflow.cwl

This command publishes the draft; use a sandbox instance while testing. See the documentation for a complete metadata example and the create/update workflow.

Documentation

Project documentation is published at: https://Transpiler-Mate.github.io/invenio-publish/

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

Metadata

Release files for invenio-publish 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for invenio-publish 0.1.1
File Size Uploaded
invenio_publish-0.1.1.tar.gz 18.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for invenio-publish 0.1.1
File Interpreter ABI Platform
invenio_publish-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.0 kB

Release files / invenio_publish-0.1.1.tar.gz

Download URL invenio_publish-0.1.1.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c9011849cd54c9921a2843dd824412c7cad67b265f3a9449cd4ce120f9b13763
BLAKE2b-256 checksum
How to use checksums
f6cdb295c9e686faa7a40fc39236b7f7770a5a86ae926296947dca815103b5d6
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

Release files / invenio_publish-0.1.1-py3-none-any.whl

Download URL invenio_publish-0.1.1-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fff3d9851ab67399846ef4a11ffc2524ca0ba39e75121cd0ff8f1f6aaf7858c1
BLAKE2b-256 checksum
How to use checksums
8a6143456e04d9cab8b672357a4f472271d9fab160a6d51fdf64c6db36bd3d39
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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release 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