skillfed

pymonetdb

Native MonetDB client Python API

pymonetdb v1.9.1 265.9K downloads/30d#8,314 on PyPI30
Copyleft license Active released

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 pymonetdb

uv

uv add pymonetdb

poetry

poetry add pymonetdb

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPyTopic :: DatabaseTopic :: Database :: Database Engines/Servers

Tags

monetdb python clientmonetdb database driverdbapi 2.0 monetdbpython monetdb connectormonetdb sql interface
database-drivermonetdb

More Database packages