Access database (*.mdb, *.accdb) parser
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file access_parser-0.0.5.tar.gz
.
File metadata
- Download URL: access_parser-0.0.5.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb1497186e744657f11bdfea2cae9595b0b4af4c43730b53a7f10072c875d50a |
|
MD5 | 9edfb6097bdb52812be38bc48514d7d1 |
|
BLAKE2b-256 | c2310caf076793dbd7f71014a81305bd77fa50591fa5ff7272186c2c5614dd4d |