A pure-Python library for reading Microsoft Access database files (*.mdb, *.accdb) without requiring the Microsoft Access ODBC driver or any external dependencies. Version 0.0.6, released 2024-07-15, maintained irregularly.
Install & Compatibility
Where this runs
tested against v0.0.6 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.272s · 20.2MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 2.6s · import 0.246s · 21MB
18MB installed
● package 18MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
The library exposes AccessParser directly from the top-level package.
from access_parser import AccessParser
Custom exception for invalid database files.
from access_parser import InvalidAccessDBError
Open an Access database and iterate over table rows.
from access_parser import AccessParser
# Replace with your .mdb or .accdb file path
parser = AccessParser('example.mdb')
# Get list of table names
print(parser.tables())
# Iterate over rows in a table
for row in parser.iter_rows('Table1'):
print(row)
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Security & dependencies
CVE tracking and dependency tree are planned for a later release.