A modern, lightweight SPARQL 1.1 client for Python
Project description
sparqlite
A modern, lightweight SPARQL 1.1 client for Python. Built on pycurl for high performance.
Quick start
pip install sparqlite
from sparqlite import SPARQLClient
with SPARQLClient("https://opencitations.net/meta/sparql") as client:
result = client.query("""
PREFIX fabio: <http://purl.org/spar/fabio/>
PREFIX dcterms: <http://purl.org/dc/terms/>
SELECT ?article ?title WHERE {
?article a fabio:JournalArticle ;
dcterms:title ?title .
}
LIMIT 5
""")
for row in result["results"]["bindings"]:
print(f"{row['title']['value']}")
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
sparqlite-1.2.1.tar.gz
(691.2 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 sparqlite-1.2.1.tar.gz.
File metadata
- Download URL: sparqlite-1.2.1.tar.gz
- Upload date:
- Size: 691.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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 |
dc3dd259c621e1750dbc22fc2ad1c551c88464e80c48061ce1165bc8e954b4dd
|
|
| MD5 |
ca9247068386eb8bf6d3071adfba3e66
|
|
| BLAKE2b-256 |
83d4f7a4a45a5d123dc6a3b8cbd0f72f3a0feee70eb7391ce57ef9229755b298
|
File details
Details for the file sparqlite-1.2.1-py3-none-any.whl.
File metadata
- Download URL: sparqlite-1.2.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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 |
e637dc3fea38900cdaad8b07b23fd4f786b7bd0819694ad13d5244ca061035d2
|
|
| MD5 |
7d86e7a4b5beb0d845396d12b50a9ac4
|
|
| BLAKE2b-256 |
a27ec4d3c731c73ffd5825e059bad348770a191682517052a58697eddcc9fd5f
|