$npx skillfedfor your agent

starrocks

Python SQLAlchemy Dialect for StarRocks with optional Alembic integration

Worth itPyPI Front-EndsReleased Aug 2026581.8K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — starrocks-1.3.4-py3-none-any.whl
v1.3.4 · released 2026-08-01 · Python <3.15,>=3.10 · 5 runtime deps: sqlalchemy, pymysql, lark, alembic, asyncmy2

Yes. The package is actively maintained, has no known vulnerabilities, supports current Python versions, and provides a well-integrated path into StarRocks for Python developers already using SQLAlchemy. Install it if you need to connect a Python application to StarRocks; the low friction and permissive license make it a straightforward choice.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 3.10, <= 3.14; StarRocks server must be running and accessible at the specified host and port.
  • Low friction install with a pure-Python wheel.
  • Maintained actively with a recent release and high repository engagement.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.

last release 2026-08-01 (13 days) · last repo commit 2026-08-14 · 11,992 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 581,817 downloads/mo, #5,906 on PyPI

Verify before relying

pip install starrocks

from sqlalchemy import create_engine, text

engine = create_engine('starrocks://root@localhost:9030/mydatabase')
with engine.connect() as connection:
    rows = connection.execute(text("SELECT * FROM mytable LIMIT 2")).fetchall()
    print(rows)
  • Whether asyncmy2 is a typo for asyncmy or a distinct package; the dependency list shows 'asyncmy2' but documentation references 'asyncmy'.
  • Performance characteristics and connection pooling behavior under high concurrency.
  • Completeness of StarRocks-specific DDL support (e.g., all table properties, index types, partition strategies).
Same gist for agents: .md · .json

What it is and what it does

This package is a SQLAlchemy dialect that bridges Python applications to StarRocks, a next-generation real-time analytics database. It allows developers to use SQLAlchemy's ORM and expression language to query and manage StarRocks tables, as well as define tables with StarRocks-specific attributes like primary keys, distribution strategies, and replication settings. The package also integrates with Alembic to automate schema migrations, including support for views and materialized views.

The dialect supports both synchronous connections (via pymysql) and asynchronous connections (via asyncmy2), making it suitable for both traditional and async Python applications. It includes helpers for defining views and materialized views, and can generate migration code from existing database schemas. The package is actively maintained and targets modern Python versions from 3.10 to 3.14.

Use it for

  • Build a Python web application that queries StarRocks for real-time analytics dashboards using SQLAlchemy ORM.
  • Automate schema migrations in a StarRocks data warehouse using Alembic without writing raw SQL.
  • Define and manage complex StarRocks tables with distribution and replication settings via SQLAlchemy declarative models.
  • Integrate async Python applications (e.g., FastAPI services) with StarRocks using the asyncmy driver.
  • Generate Python ORM models from an existing StarRocks database schema using sqlacodegen.

Worth the install?

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

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, supports current Python versions, and provides a well-integrated path into StarRocks for Python developers already using SQLAlchemy. Install it if you need to connect a Python application to StarRocks; the low friction and permissive license make it a straightforward choice.

Install

starrocks on PyPI

Before you install

Low friction install with a pure-Python wheel. Maintained actively with a recent release and high repository engagement. Requires Python 3.10 or later and depends on stable, widely-used libraries (sqlalchemy, pymysql, lark, alembic, asyncmy2).

Requires Python >= 3.10, <= 3.14; StarRocks server must be running and accessible at the specified host and port.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.

Quickstart

pip install starrocks

from sqlalchemy import create_engine, text

engine = create_engine('starrocks://root@localhost:9030/mydatabase')
with engine.connect() as connection:
    rows = connection.execute(text("SELECT * FROM mytable LIMIT 2")).fetchall()
    print(rows)

Verify before relying

  • Whether asyncmy2 is a typo for asyncmy or a distinct package; the dependency list shows 'asyncmy2' but documentation references 'asyncmy'.
  • Performance characteristics and connection pooling behavior under high concurrency.
  • Completeness of StarRocks-specific DDL support (e.g., all table properties, index types, partition strategies).

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <3.15,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
sqlalchemypymysqllarkalembicasyncmy2
MaintenanceActively maintained 13 days since the last release
Last repo commit
First released
Downloads581,817 / month, #5,906 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Database :: Front-Ends

Evidence: starrocks-1.3.4-py3-none-any.whl

Tags

Capabilities
sqlalchemy dialect starrockspython starrocks clientstarrocks database connectionalembic schema migration starrocksasync sqlalchemy starrocksorm starrocks pythonstarrocks asyncmy driver
Topics
sqlalchemy-dialectanalytics-databaseschema-migration
PyPI keywords
starrockssqlalchemydialect

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 › “sqlalchemy dialect starrocks”

  • starrocksProvides a SQLAlchemy dialect and Alembic integration for connecting…
  • sqlalchemy-pgspiderProvides a SQLAlchemy dialect that enables connections to PGSpider…
  • sqlalchemy-databricksProvides a SQLAlchemy dialect that connects to Databricks workspaces…

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 Flask-Alembic · alembic_utils · sqlalchemy-cockroachdb · iomete-sqlalchemy · sqlalchemy-databricks · sqlalchemy_exasol · sqlalchemy-jdbcapi · databricks-sqlalchemy · pydoris-custom