The reproschema-py
library provides a Python interface and a command-line tool to work with ReproSchema, a YAML-based framework for creating and managing reproducible research protocols.
For more information, see the full documentation.
reproschema requires Python 3.10+.
pip install reproschema
Fork this repo to your own GitHub account, then clone and install your forked repo in the developer mode:
git clone https://github.com/<your github>/reproschema-py.git
cd reproschema-py
pip install -e .
This repository uses the pydantic
representation of the reproschema
model, defined in model.py.
The pydantic
model is automatically generated from the LinkML model maintained in the ReproNim/reproschema repository.
All changes to the model should be made in the LinkML source in that repository.
This repo uses pre-commit to check styling.
- Install pre-commit with pip:
pip install pre-commit
- In order to use it with the repository, you have to run
run pre-commit install
in the root directory the first time you use it.
When pre-commit is used, you may have to run git commit twice, since pre-commit may make additional changes to your code for styling and will not commit these changes by default.