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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file rdflib_store_trigdump-1.0.0.tar.gz.

File metadata

  • Download URL: rdflib_store_trigdump-1.0.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for rdflib_store_trigdump-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fc1c1f6617a5abf3252ddcdfbdbbb71dbf1b30a45632446678aad2238e25cc01
MD5 4af01c048e48bc590c2ae51bb70c4e2d
BLAKE2b-256 9cfd70313a997d4efce4383740a2175cb520ea094d318c7454fda8f5a25b421d

See more details on using hashes here.

File details

Details for the file rdflib_store_trigdump-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rdflib_store_trigdump-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc1fe68ca2e433a475fabcd3fe26e10b020d8d93dc4e0d65df2fd6b4cd6382d3
MD5 9e97ccaea9b59bc84b100ceda0027253
BLAKE2b-256 6283037daf75714e452d9738f970d8428739729397f89bc480ceb02d8313de33

See more details on using hashes here.

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