pymonetdb
Native MonetDB client Python API
What it is and what it does
pymonetdb is a pure-Python driver for connecting to MonetDB databases. It implements the Python DBAPI 2.0 specification, meaning it follows the standard database API conventions that Python developers expect—connect, create a cursor, execute queries, and fetch results. The driver works cross-platform and has no external C library dependencies, making it straightforward to install and deploy.
The package supports Python 3.7 through 3.13 and PyPy, so it works with modern Python versions and alternative implementations. It's designed for developers who need to query MonetDB from Python applications without installing MonetDB client libraries on their system. The driver handles the protocol communication with MonetDB servers directly.
Use it for:
- Query MonetDB databases from Python applications using standard DBAPI 2.0 patterns
- Build data pipelines that extract data from MonetDB for analysis or transformation
- Integrate MonetDB as a backend database for Python web applications or services
- Write Python scripts that perform administrative or analytical queries against MonetDB
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
pymonetdb is a native Python client library for MonetDB databases, providing DBAPI 2.0-compatible access without requiring any MonetDB system libraries.
Yes. pymonetdb is actively maintained, has no external dependencies, and provides a standard DBAPI 2.0 interface for MonetDB access. The MPL 2.0 copyleft license is permissive for most use cases. Install it if you need to connect Python to MonetDB; the low friction and stable maintenance make it a straightforward choice.
Install
pymonetdb on PyPI
pip
pip install pymonetdbuv
uv add pymonetdbpoetry
poetry add pymonetdbInstalling pymonetdb
Before you install
Low install friction with no runtime dependencies. Actively maintained as of July 2026, with recent releases and an active repository.
License in practice
Licensed under Mozilla Public License 2.0 (MPL 2.0), a copyleft license. You may use, modify, and distribute the package, but modifications and derivative works must be made available under the same license terms.
Quickstart
pip install pymonetdb
import pymonetdb
conn = pymonetdb.connect(hostname='localhost', username='monetdb', password='monetdb', database='demo')
cursor = conn.cursor()
cursor.execute('SELECT * FROM table')
results = cursor.fetchall()
Verify before relying
- Whether the package supports connection pooling or async operations beyond standard DBAPI 2.0
- Performance characteristics when handling large result sets or bulk operations
Package facts
| License | not declared (copyleft) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 36 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 265,907/month — #8,314 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pymonetdb-1.9.1-py2.py3-none-any.whl
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
adbc-driver-sqliteProvides a DBAPI 2.0-compatible Python…
permissive · top 5,000 on PyPI
ydb-dbapiA Python DBAPI driver for YDB that provides…
unclear · top 5,000 on PyPI
adbc-driver-managerProvides Python bindings to load and use ADBC…
permissive · top 5,000 on PyPI
python-tdsPure Python DBAPI driver for MSSQL that…
permissive · top 5,000 on PyPI
mysql-connector-python-rfA pure-Python MySQL driver that implements the…
copyleft · top 15,000 on PyPI
adbc-driver-snowflakeProvides a DBAPI 2.0-compatible interface to…
permissive · top 15,000 on PyPI
adbc-driver-postgresqlProvides a DBAPI 2.0-compatible Python…
permissive · top 5,000 on PyPI
adbc-driver-flightsqlProvides a DBAPI 2.0-compatible Python…
permissive · top 15,000 on PyPI
databricks-dbapiProvides a DBAPI 2.0 connection interface and…
permissive · top 15,000 on PyPI
pyodbcpyodbc provides Python access to ODBC databases…
permissive · top 1,000 on PyPI