KGM
KGM is a tool that performs data management functions for Knowledge Graphs and with RDF data files. These include synchronising data loaded into KGs with RDF files in directories, obtaining labels for IRIs in KGs and more.
The tool is implemented as a Python command line application and code library which builds on RDFLib and kurra.
Documentation
For Installation, Use and all of KGM's capabilities, see the documentation: https://kurrawong.github.io/kgm/.
Testing
Run uv run pytest, or Poetry etc. equivalents, to execute pytest. You must have Docker Desktop running to allow all
loader tests to be executed as some use temporary test containers.
Extending
Many functions have been placed into kgm/utils.py and hopefully extensions can be made to individual
functions there.
For example, to extend the criteria KGM uses to judge the newness of a local v. a remote artefacts for the
sync function, see the compare_version_indicators()
License
This code is available for reuse according to the BSD 3-Clause License.
© 2024-2026 KurrawongAI
Contributing
Contributions are welcome through Issues or Pull Requests created in this repository.
Contact
For all matters, please contact:
KurrawongAI
info@kurrawong.ai
https://kurrawong.ai
Release Procedure
- format code:
task format - pass tests:
task test - update version in pyproject.toml
- commit all updates:
git commit -a "..." - make GitHub release
- this will trigger pypi.yml workflow to publish to PyPI
- update version in pyproject.toml to next release alpha and push
Release files for kgm 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kgm-2.1.1.tar.gz | 139.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kgm-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 176.6 kB
Release files / kgm-2.1.1.tar.gz
| Download URL | kgm-2.1.1.tar.gz |
|---|---|
| Size | 139.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
746d5e914998df529d8a4a76c79112004369dd5055b4003ca5c5780f430dad1f
|
|
BLAKE2b-256 checksum How to use checksums |
b976f391e30eeb96bb15fae6232b755a8e77f5cbcabe2ba82eac85b218292c02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / kgm-2.1.1-py3-none-any.whl
| Download URL | kgm-2.1.1-py3-none-any.whl |
|---|---|
| Size | 37.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e492239875d036790b27ecb236bb733f18460377ef19c005b433d4b5301639b6
|
|
BLAKE2b-256 checksum How to use checksums |
2471632b5c5da745dffdb27b3d33c7ffac374d7e1f384cb63a35d383fe5634c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency log