Invenio Publisher Transpiler-Mate Plugin
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file invenio_publish-0.1.0.tar.gz.
File metadata
- Download URL: invenio_publish-0.1.0.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3300af9e82ed132e2775d8721ffb1a8822e98a9629a9c4a1567c66ff77729939
|
|
| MD5 |
ccdc5d63d4b7d2c94762783686414ba5
|
|
| BLAKE2b-256 |
ef3238de8eae51a1524fe3cdd3376112c2caab9b8f86fec610e46b14ad7dfd67
|
Provenance
The following attestation bundles were made for invenio_publish-0.1.0.tar.gz:
Publisher:
package.yaml on transpiler-mate/invenio-publish
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
invenio_publish-0.1.0.tar.gz -
Subject digest:
3300af9e82ed132e2775d8721ffb1a8822e98a9629a9c4a1567c66ff77729939 - Sigstore transparency entry: 2714209076
- Sigstore integration time:
-
Permalink:
transpiler-mate/invenio-publish@88a2977b3faa006dddf13d8a5a9601a5312cc579 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/transpiler-mate
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yaml@88a2977b3faa006dddf13d8a5a9601a5312cc579 -
Trigger Event:
push
-
Statement type:
File details
Details for the file invenio_publish-0.1.0-py3-none-any.whl.
File metadata
- Download URL: invenio_publish-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2327340354431787d6bf19a8f65c552e69f468d338f5db1f495c7e0b496a83c7
|
|
| MD5 |
c33d5d66b32a9e141c8006b3d812420d
|
|
| BLAKE2b-256 |
1439f516838db85db28627846652125e56f60ae141deaa9853ec1ba839c9bb6c
|
Provenance
The following attestation bundles were made for invenio_publish-0.1.0-py3-none-any.whl:
Publisher:
package.yaml on transpiler-mate/invenio-publish
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
invenio_publish-0.1.0-py3-none-any.whl -
Subject digest:
2327340354431787d6bf19a8f65c552e69f468d338f5db1f495c7e0b496a83c7 - Sigstore transparency entry: 2714209109
- Sigstore integration time:
-
Permalink:
transpiler-mate/invenio-publish@88a2977b3faa006dddf13d8a5a9601a5312cc579 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/transpiler-mate
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yaml@88a2977b3faa006dddf13d8a5a9601a5312cc579 -
Trigger Event:
push
-
Statement type: