A command line tool to manage the content of RDF store (GraphDB, Fuseki, RDF4J...). Written in python.
kgsteward is available from PyPI. It depends on rather standard Python packages. Its installation should be straightforward.
The recommended option is to install kgsteward with uv
uv tool install kgstewardand to upgrade it to the latest version with
uv tool upgrade kgstewardor alternatively, it can be intalled with pip3:
pip3 install kgstewardYou can also clone this repo, and launch kgsteward using the script ./kgsteward at its root
uv run ./kgstewardSee the documentation
Requirements:
-
uvfor development. -
Docker installed (we use
testcontainersto deploy triplestores for testing) -
Install uv pre-commit hooks (once):
uv tool install pre-commit --with pre-commit-uv --force-reinstallRun tests, -s will print all outputs:
uv run pytest -sWith HTML coverage report:
uv run pytest -s --cov --cov-report html
python -m http.server 3000 --directory ./htmlcovStart documentation website in development:
uv run mkdocs serve