NOTE: This repository and the associated Python package are deprecated.
As of hermes v0.10, the Python/pyproject.toml plugin is part of the hermes codebase.
It can be configured by adding the following code to your hermes.toml file:
[harvest]
sources = [ "toml" ]No further installation is required.
Please remove any pip install calls for hermes-plugin-python or git+https://github.com/softwarepub/hermes-plugin-python from your publication workflow.
This plugin enables the harvesting of metadata stored in the .toml file of the project. It is configured to automatically harvest from "pyproject.toml". Although it can be used for every .toml file it uses the fields commonly used in .toml files for python.
The hermes project
The hermes harvest plugin for git
Clone Hermes project
git clone https://github.com/hermes-hmc/hermes.gitGo to the project directory
cd your_other_folderMake a python package out of it
pip install .Clone the project
git clone https://github.com/hermes-hmc/hermes-python.gitGo to the project directory
cd your_folderMake a python package out of it
pip install .Go to the project folder you want to harvest
cd your_project_to_harvestControll that you have a file named "hermes.toml" in your project with the following content.
[harvest]
sources = ["cff", "toml"]
[deposit.invenio_rdm]
site_url = "https://sandbox.zenodo.org"
access_right = "open"
Run harvest command
hermes harvest