Registry / database / access-parser

access-parser

JSON →
library0.0.6pypypi✓ verified 34d ago

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.

databasedata
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
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.272s · 20.2MB
glibc
py 3.103.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)
Debug
Known footguns
breakingRemoved logging configuration on import: In v0.0.6, the library no longer configures logging on import. If your code relied on the library setting up logging, you must configure logging explicitly.
gotchaFile must be a proper .mdb or .accdb file: The library does not handle corrupted or password-protected databases. Trying to open an invalid file raises InvalidAccessDBError.
deprecatedPython 3.6 support is not actively tested: The library claims requires_python >=3.6, but newer versions may break on Python 3.6 due to dependency updates.
gotchaNUL characters in parsed strings: Prior to v0.0.6, strings could contain NUL characters. Upgrade to v0.0.6+ to avoid this.
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.

Agent activity
59 hits · last 30 days
chatgpt-user
10
bytedance
9
bingbot
7
gptbot
4
petalbot
4
ahrefsbot
4
claudebot
3
amazonbot
2
dotbot
1
script
1
Resources