singlestoredb
Interface to the SingleStoreDB database and workspace management APIs
Decision gist · record as of 2026-08-14
Yes. Active maintenance, low install friction, no known vulnerabilities, and permissive licensing make it a solid choice. Install it if you need a Python driver for SingleStore or are building vector search or real-time analytics applications on that platform. The optional C extension and multiple result formats add practical value for data-heavy workloads.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; C extension acceleration is optional but disabled if system lacks build tools.
- Low friction installation via pure Python wheel.
- Active maintenance with a release 3 days old; last commit 2026-08-11.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-08-11 (3 days) · last repo commit 2026-08-11 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 435,948 downloads/mo, #6,677 on PyPI
Alternatives
Verify before relying
import singlestoredb as s2
conn = s2.connect('user:password@host:3306/db_name')
cur = conn.cursor()
cur.execute('SELECT * FROM table_name')
for row in cur:
print(row)
conn.close()- Performance gain claim ('up to 10x faster') for C extension vs pure Python MySQL connectors needs independent benchmarking.
- Pinecone API compatibility scope and feature parity for vector store operations not detailed in excerpt.
- SQLAlchemy, dbt, and other optional adapter maturity and maintenance status not specified in fact sheet.
What it is and what it does
SingleStoreDB Python SDK is a database driver that connects Python applications to SingleStore, a high-performance distributed SQL database optimized for real-time analytics and vector search workloads. It implements the DB-API 2.0 standard, so it integrates with existing Python database code patterns. The SDK supports two connection methods—MySQL protocol on port 3306 or HTTP Data API on port 9000—and includes a C extension for accelerated data reading when available.
Beyond basic SQL execution, the package offers workspace management APIs for programmatic control of SingleStore Cloud deployments, a Pinecone-compatible vector database interface for similarity search, and result formatting in multiple types (tuples, dicts, named tuples, NumPy arrays, Pandas DataFrames, Polars DataFrames, PyArrow Tables). It also supports optional integrations with SQLAlchemy, dbt, and custom user-defined functions, making it suitable for analytics pipelines, vector search applications, and cloud infrastructure automation.
Use it for
- Connect Python analytics or ETL scripts to SingleStore for real-time data ingestion and querying.
- Build vector similarity search applications using the Pinecone-compatible vector database API.
- Programmatically manage SingleStore Cloud workspaces, clusters, and regions from Python.
- Return query results directly as Pandas or Polars DataFrames for downstream data science workflows.
- Integrate SingleStore with SQLAlchemy-based ORMs or dbt data transformation pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Active maintenance, low install friction, no known vulnerabilities, and permissive licensing make it a solid choice. Install it if you need a Python driver for SingleStore or are building vector search or real-time analytics applications on that platform. The optional C extension and multiple result formats add practical value for data-heavy workloads.
Install
singlestoredb on PyPI
Before you install
Low friction installation via pure Python wheel. Active maintenance with a release 3 days old; last commit 2026-08-11. Six runtime dependencies are all standard, well-maintained packages. No known vulnerabilities.
Requires Python 3.9 or later; C extension acceleration is optional but disabled if system lacks build tools.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
import singlestoredb as s2
conn = s2.connect('user:password@host:3306/db_name')
cur = conn.cursor()
cur.execute('SELECT * FROM table_name')
for row in cur:
print(row)
conn.close()
Verify before relying
- Performance gain claim ('up to 10x faster') for C extension vs pure Python MySQL connectors needs independent benchmarking.
- Pinecone API compatibility scope and feature parity for vector store operations not detailed in excerpt.
- SQLAlchemy, dbt, and other optional adapter maturity and maintenance status not specified in fact sheet.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesPyJWTparsimoniousrequestssqlparamstomlityping-extensions |
| Maintenance | Actively maintained 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 435,948 / month, #6,677 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Database |
Evidence: singlestoredb-1.17.1-py3-none-any.whl
Tags
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 › “singlestore database connector”
- singlestoredbProvides a DB-API 2.0 compatible Python interface to SingleStore, a…
- nsj-queue-libImplements transactional queues and workers backed by a relational…
- mysql-connector-pythonMySQL Connector/Python is a PEP 249-compliant database driver that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
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.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also presto-python-client · trino · definite-sdk · databricks-sql-connector · DBUtils · surrealdb · duckdb-engine · sqlalchemy-databricks · sqlalchemy-jdbcapi · pinotdb