Registry / database / pydoris-custom

pydoris-custom

JSON →
library1.1.0pypypiunverified

A custom build of the Python client for Apache Doris (version 1.1.0 on PyPI), based on the official pydoris library but with relaxed dependency constraints. This client provides a DB-API 2.0 interface to connect to Doris clusters, execute SQL queries (primarily using the MySQL protocol), and manage connections. It is intended for users who need a more permissive dependency tree than the original pydoris, but may lag behind official updates.

pip install pydoris-custom
INSTALL
IMPORT
SIG · PYDORIS-CUSTOM
P
pydoris-custom
databasepythonv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

connect
from pydoris import connect
The main entry point for creating a connection to Doris.

Quickstart to connect to a local Doris instance, list tables in the default database.

from pydoris import connect conn = connect( host='127.0.0.1', port=9030, user='admin', password='', database='example_db' ) cursor = conn.cursor() cursor.execute("SHOW TABLES") for row in cursor.fetchall(): print(row) cursor.close() conn.close()
Debug
Known issues
breakingpydoris-custom has relaxed dependency pins (e.g., protobuf, grpcio) and may be incompatible with the official pydoris library's strict version requirements. Mixing both in the same environment can cause version conflicts and import errors.
fix
Use only pydoris-custom or official pydoris in a virtual environment; do not install both.
affects: all
gotchaThe library primarily uses the MySQL protocol for communication, but also supports HTTP. Importing from 'pydoris' does not automatically configure the protocol. You must specify the correct port (MySQL default 9030) and optionally pass 'protocol='https'' for HTTP.
fix
Ensure you connect with the proper port and protocol. For MySQL: port=9030. For HTTP: protocol='https' and port=8030.
affects: all
deprecatedUse of 'from pydoris import Client' is deprecated and may be removed. The recommended approach is to use the 'connect' function which returns a DB-API 2.0 connection object.
fix
Replace 'Client' with 'connect' and use the standard cursor interface.
affects: >=1.0.0
Upgrade
Version history
1.1.0latest on PyPI · released Nov 18, 2025
Audit
Dependencies
pydorisrequiredBase library; pydoris-custom is a fork/modification of pydoris.
mysql-connector-pythonoptionalCommonly used for MySQL protocol communication with Doris.
Agent activity
8 hits · last 30 days
node
6
OpenAI (training)
1
Resources
pydoris-custom — pip install pydoris-custom · libregistry