AccessDB Parser (Pure Python)
Microsoft Access (.mdb / .accdb) database files parser. The parsing logic is fully written in python and works without any external binary dependencies.
Installing
Use pip: pip install access-parser
Or install manually:
git clone https://github.com/ClarotyICS/access_parser.git
cd access_parser
python3 setup.py install
Demo
Usage Example
from access_parser import AccessParser
# .mdb or .accdb file
db = AccessParser("/path/to/mdb/file.mdb")
# Print DB tables
print(db.catalog)
# Tables are stored as defaultdict(list) -- table[column][row_index]
table = db.parse_table("table_name")
# Pretty print all tables
db.print_database()
Known Issues
This library was tested on a limited subset of database files. Due to the differences between database versions and the complexity of the parsing we expect to find more parsing edge-cases.
To help us resolve issues faster please provide as much data as you can when opening an issue - DB file if possible and full trace including log messages.
Thanks
- This library was made possible by the great work by mdb-tools. The logic in this library heavily relies on the excellent documentation they have https://github.com/brianb/mdbtools
- Huge thanks to Mashav Sapir for the help debugging, CRing and contributing to this project https://github.com/mashavs
Metadata
Release files for access-parser 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| access_parser-0.0.6.tar.gz | 17.7 kB | Details |
Release files / access_parser-0.0.6.tar.gz
| Download URL | access_parser-0.0.6.tar.gz |
|---|---|
| Size | 17.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4fe1eb197cd49fa0b8ac02320d8dd98e07795f6fc01a59061434f50c064b4c69
|
|
BLAKE2b-256 checksum How to use checksums |
cb8f2eb15ff25f58ae4674737aa3f5d6d7b44fc98d9a14c35f06c221a8950cc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|