Skip to main content

Useful stuff when programming with RDFLib

Project description

RDF Helpers

This is a python package that contains all kinds of useful functionality when building RDF applications with RDFLib:

  • Various ways to manipulate RDF graphs (shortcuts, really)
  • Predefined graph transformations (e.g., containers --> repeated properties)
  • Templated queries (substitution not limited to RDF terms like in RDFLib with initBindings)
  • Templated graph creation (based on SPARQL CONSTRUCT)
  • Journaled graphs
  • Label caching
  • etc.

Available to install from PyPI. Documentation can be found here.

Changes in the 0.7.x release

Main theme: we folded rdfproducers into this.

Changes:

  • All old code moved into subpackage rdfhelpers.core.
    • rdfhelpers.rdfhelpers is now rdfhelpers.core.basics.
  • New subpackage rdfhelpers.experimental.
    • Class Constructor is not necessarily stable yet, so rdfhelpers.constructor became rdfhelpers.experimental.constructor, and the class does not get exported in the top level.
  • Added more typing annotations.
  • Attempting to call Composable.validate() without pyshacl being installed now raises an exception (earlier it merely logged a warning).
  • Added methods to Composable to bring it closer to the rdflib.Graph class.
  • New package rdfhelpers.producers.

Contact

Author: Ora Lassila ora@somanyaircraft.com

Copyright (c) 2022-2025 Ora Lassila and So Many Aircraft

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rdfhelpers-0.7.8.tar.gz (25.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rdfhelpers-0.7.8-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

Details for the file rdfhelpers-0.7.8.tar.gz.

File metadata

  • Download URL: rdfhelpers-0.7.8.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.4

File hashes

Hashes for rdfhelpers-0.7.8.tar.gz
Algorithm Hash digest
SHA256 12e93205e794a2cda0a4d8286714745302c95e8a625ac7ed5e9cff9089f9f088
MD5 9f22721bb2f685334b1998b8e30d0027
BLAKE2b-256 bed2ecaf3858b316eac0148af6ed7172380460d6ad67ba98377fdf56ba07ba7a

See more details on using hashes here.

File details

Details for the file rdfhelpers-0.7.8-py3-none-any.whl.

File metadata

  • Download URL: rdfhelpers-0.7.8-py3-none-any.whl
  • Upload date:
  • Size: 36.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.4

File hashes

Hashes for rdfhelpers-0.7.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5e6e723cadacbff7fb635956bf9a8fc55d2fe85c950fcca6e4337a92ae910021
MD5 c1c859b5ec344dfe4d5a7de05d97340f
BLAKE2b-256 2e650d5f3e092b4e4c1bc73ddc8abb8f88bbf6587e79f8ce55848216ffae7448

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page