questdb
QuestDB client library for Python
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, production-stable, permissively licensed, and has no known vulnerabilities. Install friction is moderate due to compiled wheels, but binaries are available for Python 3.10 and 3.11 across common platforms. Install it if you need to ingest data into QuestDB from Python with authenticated or encrypted connections.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires QuestDB server running and accessible at the configured address; NumPy float64 arrays require QuestDB server >= 9.0.0.
- Medium install friction due to compiled wheels (Cython and Rust).
- Wheels are available for Python 3.10 and 3.11 across macOS (x86_64 and ARM64), Linux (glibc and musl), and Windows.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and state significant changes, but no copyleft obligation applies.
last release 2026-07-27 (18 days) · last repo commit 2026-08-14 · 71 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 235,051 downloads/mo, #9,011 on PyPI
Alternatives
Verify before relying
pip install questdb
import questdb
from questdb import TimestampNanos
with questdb.connect('ws::addr=localhost:9000;') as db:
with db.sender() as sender:
sender.row('trades', symbols={'symbol': 'ETH-USD'}, columns={'price': 2615.54}, at=TimestampNanos.now())
sender.flush(wait=True)- Performance characteristics (throughput, latency) for different transport protocols and payload sizes.
- Behavior and error handling when QuestDB server is unavailable or connection drops mid-operation.
- Memory overhead and efficiency when ingesting very large datasets or streaming many rows.
- DataFrame ingestion API details and whether optional dataframe extra is required for bulk loads.
What it is and what it does
QuestDB is a Python client for the QuestDB time-series database. It implements the QuestDB Wire Protocol (QWP) over WebSocket for pooled connections and queries, plus legacy InfluxDB Line Protocol (ILP) transports over HTTP and TCP for row-level writes. The library supports two API layers: a deployment-level `questdb.connect()` for connection pools and bulk operations, and a connection-level `Sender` for individual row writes and lower-level transport control.
The package depends on numpy and uses compiled Cython and Rust extensions for performance. It requires Python 3.10 or later and supports modern platforms (macOS, Linux with glibc or musl, Windows). Authentication and TLS encryption are built in. The library is actively maintained and production-stable, with recent releases and no known security vulnerabilities.
Use it for
- Stream individual metric rows (price ticks, sensor readings) to QuestDB via ILP/HTTP or ILP/TCP.
- Query a QuestDB deployment through a pooled connection without managing individual sockets.
- Send time-series data with optional TLS encryption and authentication in regulated or secure environments.
- Ingest numpy arrays as columns in QuestDB tables for scientific or financial data analysis.
- Write time-series data with symbol columns and timestamp precision control.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, production-stable, permissively licensed, and has no known vulnerabilities. Install friction is moderate due to compiled wheels, but binaries are available for Python 3.10 and 3.11 across common platforms. Install it if you need to ingest data into QuestDB from Python with authenticated or encrypted connections.
Install
questdb on PyPI
Before you install
Medium install friction due to compiled wheels (Cython and Rust). Wheels are available for Python 3.10 and 3.11 across macOS (x86_64 and ARM64), Linux (glibc and musl), and Windows. Active maintenance with a release 18 days old; repository shows recent commits and stable production status.
Requires QuestDB server running and accessible at the configured address; NumPy float64 arrays require QuestDB server >= 9.0.0.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and state significant changes, but no copyleft obligation applies.
Quickstart
pip install questdb
import questdb
from questdb import TimestampNanos
with questdb.connect('ws::addr=localhost:9000;') as db:
with db.sender() as sender:
sender.row('trades', symbols={'symbol': 'ETH-USD'}, columns={'price': 2615.54}, at=TimestampNanos.now())
sender.flush(wait=True)
Verify before relying
- Performance characteristics (throughput, latency) for different transport protocols and payload sizes.
- Behavior and error handling when QuestDB server is unavailable or connection drops mid-operation.
- Memory overhead and efficiency when ingesting very large datasets or streaming many rows.
- DataFrame ingestion API details and whether optional dataframe extra is required for bulk loads.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packagenumpy |
| Maintenance | Actively maintained 18 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 235,051 / month, #9,011 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 :: PluginsIntended Audience :: DevelopersProgramming Language :: CythonProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: RustTopic :: Database :: Front-EndsTopic :: Scientific/EngineeringTopic :: Software Development :: LibrariesTopic :: System :: Networking |
Evidence: questdb-5.0.0-cp310-cp310-macosx_10_9_x86_64.whl; questdb-5.0.0-cp310-cp310-macosx_11_0_arm64.whl; questdb-5.0.0-cp310-cp310-manylinux_2_28_aarch64.whl; questdb-5.0.0-cp310-cp310-manylinux_2_28_x86_64.whl; questdb-5.0.0-cp310-cp310-musllinux_1_2_aarch64.whl; questdb-5.0.0-cp310-cp310-musllinux_1_2_x86_64.whl; questdb-5.0.0-cp310-cp310-win32.whl; questdb-5.0.0-cp310-cp310-win_amd64.whl; questdb-5.0.0-cp311-cp311-macosx_10_9_x86_64.whl; questdb-5.0.0-cp311-cp311-macosx_11_0_arm64.whl; questdb-5.0.0-cp311-cp311-manylinux_2_28_aarch64.whl; questdb-5.0.0-cp311-cp311-manylinux_2_28_x86_64.whl; questdb-5.0.0-cp311-cp311-musllinux_1_2_aarch64.whl; questdb-5.0.0-cp311-cp311-musllinux_1_2_x86_64.whl; questdb-5.0.0-cp311-cp311-win32.whl; questdb-5.0.0-cp311-cp311-win_amd64.whl; questdb-5.0.0-cp312-cp312-macosx_10_13_x86_64.whl; questdb-5.0.0-cp312-cp312-macosx_11_0_arm64.whl; questdb-5.0.0-cp312-cp312-manylinux_2_28_aarch64.whl; questdb-5.0.0-cp312-cp312-manylinux_2_28_x86_64.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 › “questdb python client”
- questdbA Python client library for QuestDB that sends data via the QuestDB…
- 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 Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also influxdb3-python · influxdb · qh3 · graphyte · pygelf · mitmproxy-wireguard · websocket-client · influxdb-client · velbus-aio · statshog