# rdflib-store-trigdump
This is a thin wrapper around [RDFLib](https://github.com/RDFLib/rdflib)'s
[Memory store](https://rdflib.readthedocs.io/en/stable/apidocs/rdflib.plugins.stores.html#rdflib.plugins.stores.memory.Memory)
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
```python
from rdflib import Graph
graph = Graph("TriGDump")
graph.open("/path/to/my/file.trig", create=True)
# do something
graph.close()
```
Raw data
{
"_id": null,
"home_page": "https://codeberg.org/Denkar.io/rdflib-store-trigdump",
"name": "rdflib-store-trigdump",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10,<4.0",
"maintainer_email": "",
"keywords": "rdf,cache,graph,rdflib",
"author": "Dominik George",
"author_email": "nik@naturalnet.de",
"download_url": "https://files.pythonhosted.org/packages/9c/fd/70313a997d4efce4383740a2175cb520ea094d318c7454fda8f5a25b421d/rdflib_store_trigdump-1.0.0.tar.gz",
"platform": null,
"description": "# rdflib-store-trigdump\n\nThis is a thin wrapper around [RDFLib](https://github.com/RDFLib/rdflib)'s\n[Memory store](https://rdflib.readthedocs.io/en/stable/apidocs/rdflib.plugins.stores.html#rdflib.plugins.stores.memory.Memory)\nadding (unsafe) persistence:\n\n * When opening the store, data is read from a TriG file\n * When closing the store, data is serialized to the TriG file\n\n## Usage\n\n```python\nfrom rdflib import Graph\n\ngraph = Graph(\"TriGDump\")\ngraph.open(\"/path/to/my/file.trig\", create=True)\n\n# do something\n\ngraph.close()\n```\n\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "RDFLib store that reads and dumps TriG data on open and close",
"version": "1.0.0",
"split_keywords": [
"rdf",
"cache",
"graph",
"rdflib"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "9e97ccaea9b59bc84b100ceda0027253",
"sha256": "fc1fe68ca2e433a475fabcd3fe26e10b020d8d93dc4e0d65df2fd6b4cd6382d3"
},
"downloads": -1,
"filename": "rdflib_store_trigdump-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9e97ccaea9b59bc84b100ceda0027253",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 3872,
"upload_time": "2023-01-01T19:28:09",
"upload_time_iso_8601": "2023-01-01T19:28:09.074307Z",
"url": "https://files.pythonhosted.org/packages/62/83/037daf75714e452d9738f970d8428739729397f89bc480ceb02d8313de33/rdflib_store_trigdump-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "4af01c048e48bc590c2ae51bb70c4e2d",
"sha256": "fc1c1f6617a5abf3252ddcdfbdbbb71dbf1b30a45632446678aad2238e25cc01"
},
"downloads": -1,
"filename": "rdflib_store_trigdump-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "4af01c048e48bc590c2ae51bb70c4e2d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<4.0",
"size": 3391,
"upload_time": "2023-01-01T19:28:11",
"upload_time_iso_8601": "2023-01-01T19:28:11.126041Z",
"url": "https://files.pythonhosted.org/packages/9c/fd/70313a997d4efce4383740a2175cb520ea094d318c7454fda8f5a25b421d/rdflib_store_trigdump-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-01 19:28:11",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "rdflib-store-trigdump"
}