Lightweight RDF graph with configurable indices
Project description
TripleLite
Lightweight in-memory RDF triple store for Python with configurable indexing.
Install
pip install triplelite
For rdflib interop:
pip install triplelite[rdflib]
Quick start
from triplelite import TripleLite, RDFTerm
g = TripleLite()
g.add(("http://example.org/s", "http://example.org/p", RDFTerm("uri", "http://example.org/o")))
for s, p, o in g.triples(("http://example.org/s", None, None)):
print(s, p, o.value)
See the full documentation at opencitations.github.io/triplelite.
License
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
triplelite-1.2.0.tar.gz
(111.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file triplelite-1.2.0.tar.gz.
File metadata
- Download URL: triplelite-1.2.0.tar.gz
- Upload date:
- Size: 111.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9989cb165d93cbd96cb3c2680dbf8ca7d8d34571f3320063351a52a493658ee
|
|
| MD5 |
4657c26729a62d2bc77a8d5c19afbe51
|
|
| BLAKE2b-256 |
7e0c3ae66dbac6dbcd3bbf7eccbe8e4ae71621af9040220aef029b6b75fc7242
|
File details
Details for the file triplelite-1.2.0-py3-none-any.whl.
File metadata
- Download URL: triplelite-1.2.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a571e6c3ed92faad76eeb57e1a50876a33e5d8e0d3ad402a264f32e9a05de9d2
|
|
| MD5 |
7ce91add345c5d36e74d7d6b70228d21
|
|
| BLAKE2b-256 |
77ac256e0f3576d61399df665abf8ba0dc472942b282e8a3aa38472db8daefef
|