Installation
Requirements
Section titled “Requirements”- Python 3.9 or higher
- libcurl development headers (for pycurl)
Install with pip
Section titled “Install with pip”pip install sparqliteSystem dependencies
Section titled “System dependencies”sparqlite uses pycurl for HTTP requests, which requires libcurl development headers.
Debian/Ubuntu
Section titled “Debian/Ubuntu”sudo apt-get install libcurl4-openssl-devFedora/RHEL
Section titled “Fedora/RHEL”sudo dnf install libcurl-develbrew install curlWindows
Section titled “Windows”On Windows, pycurl wheels include the necessary libraries, so no additional installation is required.
Verify installation
Section titled “Verify installation”from sparqlite import SPARQLClient
with SPARQLClient("https://opencitations.net/meta/sparql") as client: print("sparqlite is ready!")