$npx skillfedfor your agent

pystardog

Python client for Stardog Platform Endpoints and Stardog Cloud

Worth itPyPI Front-EndsReleased Mar 2026115.9K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pystardog-0.20.0-py3-none-any.whl
v0.20.0 · released 2026-03-18 · Python >=3.9 · 3 runtime deps: requests, requests-toolbelt, rdflib

Yes. The package has low install friction, active maintenance, permissive licensing, and no known vulnerabilities. It is the official Python client for Stardog and is well-suited for anyone building applications that need to query or manage knowledge graphs on the Stardog platform.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; requires a running Stardog server or Stardog Cloud account to connect to.
  • Low install friction with a pure-Python wheel distribution.
  • Actively maintained with recent releases; last commit on 2026-05-18 and latest release on 2026-03-18.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions—suitable for most production and proprietary projects.

last release 2026-03-18 (149 days) · last repo commit 2026-05-18 · 41 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 115,945 downloads/mo, #12,231 on PyPI

Verify before relying

pip install pystardog

import pystardog

# Connect to a Stardog endpoint and execute a query
conn = pystardog.Connection(endpoint='http://localhost/mydb')
results = conn.query('SELECT ?s ?p ?o WHERE { ?s ?p ?o } LIMIT 10')
  • Exact API surface and method signatures for querying and managing Stardog endpoints.
  • Whether the package supports SPARQL Update operations or only SELECT/CONSTRUCT queries.
  • Authentication mechanism details (API key, username/password, OAuth) for Stardog Cloud.
  • Performance characteristics for large result sets or long-running queries.
  • How rdflib integration works in practice for RDF data handling.
Same gist for agents: .md · .json

What it is and what it does

Pystardog is a Python HTTP client for the Stardog knowledge graph platform, enabling developers to query and manage RDF data stored in Stardog servers or Stardog Cloud. It wraps HTTP communication with requests and requests-toolbelt, and integrates with rdflib for RDF data handling. The package is designed for both local Stardog instances and cloud deployments, with optional cloud-specific functionality available via an extras install.

Typical usage involves establishing a connection to a Stardog endpoint, executing SPARQL queries, and processing results. The library handles authentication, request formatting, and response parsing, abstracting away low-level HTTP details. It supports Python 3.9 through 3.13 and is actively maintained.

Use it for

  • Query a Stardog knowledge graph from a Python application to retrieve semantic data.
  • Integrate Stardog Cloud's natural language query features into Python scripts.
  • Build data pipelines that fetch RDF triples and process them with rdflib.
  • Automate SPARQL queries against a local or remote Stardog server.
  • Prototype semantic search or reasoning applications backed by Stardog.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package has low install friction, active maintenance, permissive licensing, and no known vulnerabilities. It is the official Python client for Stardog and is well-suited for anyone building applications that need to query or manage knowledge graphs on the Stardog platform.

Install

pystardog on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with recent releases; last commit on 2026-05-18 and latest release on 2026-03-18. Supports current Python versions (3.9 through 3.13).

Requires Python 3.9 or later; requires a running Stardog server or Stardog Cloud account to connect to.

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions—suitable for most production and proprietary projects.

Quickstart

pip install pystardog

import pystardog

# Connect to a Stardog endpoint and execute a query
conn = pystardog.Connection(endpoint='http://localhost/mydb')
results = conn.query('SELECT ?s ?p ?o WHERE { ?s ?p ?o } LIMIT 10')

Verify before relying

  • Exact API surface and method signatures for querying and managing Stardog endpoints.
  • Whether the package supports SPARQL Update operations or only SELECT/CONSTRUCT queries.
  • Authentication mechanism details (API key, username/password, OAuth) for Stardog Cloud.
  • Performance characteristics for large result sets or long-running queries.
  • How rdflib integration works in practice for RDF data handling.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
requestsrequests-toolbeltrdflib
MaintenanceActively maintained 149 days since the last release
Last repo commit
First released
Downloads115,945 / month, #12,231 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: pystardog-0.20.0-py3-none-any.whl

Tags

Capabilities
stardog python clientknowledge graph query librarysemantic database pythonrdf query clientstardog cloud apisparql query pythongraph database client
Topics
knowledge-graphsemantic-websparql

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “stardog python client”

  • pystardogPython client library for querying and managing Stardog knowledge…
  • codewords-clientA Python client library for the Codewords API with built-in FastAPI…
  • openapi-python-clientGenerates type-annotated Python HTTP clients from OpenAPI 3.0 and 3.1…

Give your agent the search over MCP, or paste the wish link into any chat.

More Front-Ends packages

SQLAlchemy Worth it
PyPI · Front-Ends · released Aug 2026

SQLAlchemy is a Python SQL toolkit and Object Relational Mapper (ORM) that provides both a high-level ORM layer for declarative object persistence and a Core SQL construction system for direct database abstraction and query building.

permissive licensepure Python · 3.7+
422.7Mdownloads / mo
psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
alembic Worth it
PyPI · Front-Ends · released Aug 2026

Alembic generates and manages database schema migrations for SQLAlchemy applications, handling version control of database structure changes with support for upgrades, downgrades, and auto-generation from model changes.

Install it if you use SQLAlchemy and need to version-control schema changes; skip it only if you manage migrations manually or use a different ORM entirely.

MITpure Python · 3.10+
215.2Mdownloads / mo
weaviate-client Worth it
PyPI · Front-Ends · released Aug 2026

A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.

permissive licensepure Python · 3.10+
213.2Mdownloads / mo
databricks-sql-connector Worth it
PyPI · Front-Ends · released Jul 2026

A Python client library that connects to Databricks clusters and SQL warehouses using a Thrift-based protocol, conforming to the Python DB API 2.0 specification and supporting Arrow-based data exchange.

Install it if you need to query Databricks clusters or SQL warehouses from Python.

Apache-2.0pure Python
119.5Mdownloads / mo
psycopg Worth it
PyPI · Software Development · released May 2026

Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.

Install it if you need to connect Python to PostgreSQL.

LGPL-3.0-onlypure Python · 3.10+
117.0Mdownloads / mo

See also pymantic · pyoxigraph · SPARQLWrapper · sparqlslurper · owlready2 · semanticscholar · wolframalpha · pyshacl · neo4j-graphrag · azure-kusto-data