A collection of utility functions and helpers used when building workflows for the MaRDI Portal — for example, tools to update or interact with the MaRDI Knowledge Graph.
Clone the repository and install the package locally:
git clone https://github.com/MaRDI4NFDI/mardiportal-workflowtools.git
cd mardiportal-workflowtools
python -m pip install --upgrade pip setuptools
python -m pip install .
Some tools require credentials (e.g., for authenticated API access). You can provide them in a simple key-value file named secrets.conf:
mardi-kg-user=your-username
mardi-kg-password=your-password
Make sure this file is kept outside version control (add it to .gitignore).
from mardiportal.workflowtools import some_utility_function