Skip to main content

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

Metadata

Release files for kgm 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kgm 2.2.0
File Size Uploaded Provenance Actions
kgm-2.2.0.tar.gz 123.0 kB With provenance Details for kgm-2.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kgm 2.2.0
File Interpreter ABI Platform Actions
kgm-2.2.0-py3-none-any.whl Python 3 none any Details for kgm-2.2.0-py3-none-any.whl

Total release size: 163.9 kB

Release files / kgm-2.2.0.tar.gz

Download URL kgm-2.2.0.tar.gz
Size 123.0 kB
Tags Source
SHA-256 checksum
How to use checksums
662e380e608f9e5d51d56574040f19cff27b083abfab7320b00447e8d6b06f80
BLAKE2b-256 checksum
How to use checksums
8d2f0c606ed90097b7fad367ccf2eff700fd29acbe7461e1a502183131eb97c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 31, 2026.

Transparency log

Release files / kgm-2.2.0-py3-none-any.whl

Download URL kgm-2.2.0-py3-none-any.whl
Size 40.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f8d08e3c702a6f4af94c873147dff9ae75496d6a3a5a716ec4e73e8c66667db
BLAKE2b-256 checksum
How to use checksums
fe201da8bc60e7d30f5b3f30f731047c07beefde00ebf93df3d84cacbfaac281
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 31, 2026.

Transparency log

Security for kgm 2.2.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for kgm-2.2.0.tar.gz

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 Oct 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page