Skip to content

Hermes-Plugins to deal with Python projects (e.g., harvest from pyproject.toml)

Notifications You must be signed in to change notification settings

softwarepub/hermes-plugin-python

Repository files navigation

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

Related

The hermes project

Github repository

The hermes harvest plugin for git

Github repository

Run Locally

Clone Hermes project

  git clone https://github.com/hermes-hmc/hermes.git

Go to the project directory

  cd your_other_folder

Make a python package out of it

  pip install .

Clone the project

  git clone https://github.com/hermes-hmc/hermes-python.git

Go to the project directory

  cd your_folder

Make a python package out of it

  pip install .

Go to the project folder you want to harvest

  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

  hermes harvest

Logo

About

Hermes-Plugins to deal with Python projects (e.g., harvest from pyproject.toml)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages