https://github.com/softwarepub/hermes-plugin-python
Hermes-Plugins to deal with Python projects (e.g., harvest from pyproject.toml)
https://github.com/softwarepub/hermes-plugin-python
Last synced: 5 months ago
JSON representation
Hermes-Plugins to deal with Python projects (e.g., harvest from pyproject.toml)
- Host: GitHub
- URL: https://github.com/softwarepub/hermes-plugin-python
- Owner: softwarepub
- Created: 2024-07-05T09:47:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-27T08:13:50.000Z (10 months ago)
- Last Synced: 2025-08-27T17:09:27.801Z (10 months ago)
- Language: Python
- Size: 127 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSES/Apache-2.0.txt
Awesome Lists containing this project
README
# Hermes harvest plugin for .toml files
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.
## Authors
- [@led02](https://www.github.com/led02)
- [@notactuallyfinn](https://www.github.com/notactuallyfinn)
## Related
The hermes project
[Github repository](https://github.com/hermes-hmc/hermes)
The hermes harvest plugin for git
[Github repository](https://github.com/hermes-hmc/hermes-git)
## Run Locally
Clone Hermes project
```bash
git clone https://github.com/hermes-hmc/hermes.git
```
Go to the project directory
```bash
cd your_other_folder
```
Make a python package out of it
```bash
pip install .
```
Clone the project
```bash
git clone https://github.com/hermes-hmc/hermes-python.git
```
Go to the project directory
```bash
cd your_folder
```
Make a python package out of it
```bash
pip install .
```
Go to the project folder you want to harvest
```bash
cd your_project_to_harvest
```
Controll 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
```bash
hermes harvest
```
