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
Release history Release notifications | RSS feed
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.0.0.tar.gz
(110.1 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.0.0.tar.gz.
File metadata
- Download URL: triplelite-1.0.0.tar.gz
- Upload date:
- Size: 110.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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 |
87249f5db8a544cf8dc4e8c3d15db9787d214e00d5e81ba160ee860ac533b662
|
|
| MD5 |
320c36560a97941e68d27b4c3181857b
|
|
| BLAKE2b-256 |
7b16c9cfed2100eea7a9ed9c3d9e36e72bc3a697c178f51b0156547a2f075a0a
|
File details
Details for the file triplelite-1.0.0-py3-none-any.whl.
File metadata
- Download URL: triplelite-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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 |
b98ab8484150d6b9559d0f48df6d2018f016c699a9976bd62114ff2ee1aaf8a7
|
|
| MD5 |
e1f143d3f7bff19613945d2f3f6115e0
|
|
| BLAKE2b-256 |
2db0e7fa73f842ca2b2712ba03294908a13f066dc260f779361be4f06f749a1c
|