pydoris-custom
Python interface to Doris (custom build with relaxed dependencies)
Decision gist · record as of 2026-08-14
Yes, if you need to query Apache Doris from Python. The package is production-stable, actively maintained, has no vulnerabilities, and low install friction. The custom build removes unnecessary bloat. The only caveat is that mysqlclient may require system libraries on some platforms, but that is a one-time setup cost.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- mysqlclient requires MySQL development headers; on some systems you may need to install libmysqlclient-dev or equivalent before pip install succeeds.
- Low friction install with three stable runtime dependencies (sqlalchemy, mysqlclient, requests).
- The package is actively maintained with recent commits and marked production-stable.
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 is permissive; you can use this package in commercial and proprietary projects with minimal restrictions, provided you include a copy of the license.
last release 2025-11-18 (269 days) · last repo commit 2026-08-14 · 15,768 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 216,345 downloads/mo, #9,381 on PyPI
Alternatives
Verify before relying
pip install pydoris-custom
from sqlalchemy import create_engine, text
engine = create_engine('doris://root:password@localhost:9030/catalog.database')
connection = engine.connect()
rows = connection.execute(text('SELECT * FROM table')).fetchall()- Whether mysqlclient requires system-level MySQL development libraries on your platform
- Performance characteristics and query latency on datasets of different scales
- Compatibility with specific Doris versions beyond what the README documents
What it is and what it does
This is a Python driver for Apache Doris, a real-time analytical database designed for fast queries on large datasets. It wraps the Doris client protocol and exposes it through SQLAlchemy, so you can use standard SQLAlchemy patterns to connect, query, and fetch results. The package depends on sqlalchemy for ORM/query building, mysqlclient for the underlying protocol connection, and requests for HTTP communication.
The custom build removes sqlalchemy-utils, which the original package included but never actually used, making the install lighter. It supports Python 3.7 through 3.11 and is marked production-stable. The package is actively maintained and has no known security vulnerabilities.
Use it for
- Running analytical queries on Doris from a Python application using SQLAlchemy's query API
- Building data pipelines that read from Doris and transform results in Python
- Connecting a web framework (Django, Flask) to a Doris backend for reporting or dashboards
- Prototyping analytics code against a Doris cluster before deploying to production
- Integrating Doris queries into Python data science workflows alongside pandas or numpy
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to query Apache Doris from Python.
The package is production-stable, actively maintained, has no vulnerabilities, and low install friction. The custom build removes unnecessary bloat. The only caveat is that mysqlclient may require system libraries on some platforms, but that is a one-time setup cost.
Install
pydoris-custom on PyPI
Before you install
Low friction install with three stable runtime dependencies (sqlalchemy, mysqlclient, requests). The package is actively maintained with recent commits and marked production-stable. The custom build removes an unused dependency, reducing bloat.
mysqlclient requires MySQL development headers; on some systems you may need to install libmysqlclient-dev or equivalent before pip install succeeds.
License in practice
Apache 2.0 is permissive; you can use this package in commercial and proprietary projects with minimal restrictions, provided you include a copy of the license.
Quickstart
pip install pydoris-custom
from sqlalchemy import create_engine, text
engine = create_engine('doris://root:password@localhost:9030/catalog.database')
connection = engine.connect()
rows = connection.execute(text('SELECT * FROM table')).fetchall()
Verify before relying
- Whether mysqlclient requires system-level MySQL development libraries on your platform
- Performance characteristics and query latency on datasets of different scales
- Compatibility with specific Doris versions beyond what the README documents
Package facts
| License | Apache 2.0 permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagessqlalchemymysqlclientrequests |
| Maintenance | Actively maintained 269 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 216,345 / month, #9,381 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/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Database :: Front-Ends |
Evidence: pydoris_custom-1.1.0-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 › “doris mpp analytics client”
- pydoris-customA Python client for Apache Doris that provides SQLAlchemy integration…
- pydorisPydoris is a Python client for Apache Doris that enables…
- myclimycli is a command-line client for MySQL and compatible databases…
Give your agent the search over MCP, or paste the wish link into any chat.
More Front-Ends packages
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.
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.
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.
A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.
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.
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.
See also pydoris · trino · databricks-dbapi · PyHive · sqlalchemy-jdbcapi · starrocks · sqlalchemy-databricks · pyathenajdbc · pinotdb