Skip to main content

RDFLib store that reads and dumps TriG data on open and close

Project description

rdflib-store-trigdump

This is a thin wrapper around RDFLib's Memory store adding (unsafe) persistence:

  • When opening the store, data is read from a TriG file
  • When closing the store, data is serialized to the TriG file

Usage

from rdflib import Graph

graph = Graph("TriGDump")
graph.open("/path/to/my/file.trig", create=True)

# do something

graph.close()

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

rdflib_store_trigdump-1.0.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

rdflib_store_trigdump-1.0.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

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