Skip to main content

Access database (*.mdb, *.accdb) parser

Project description

AccessDB Parser

Microsoft Access (.mdb / .accdb) database files parser. access_parser parsing logic is fully written in python and works without any external binary dependencies.

Installing

git clone https://github.com/ClarotyICS/access_parser.git
cd access_parser
python3 setup.py install

Demo

asciicast

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 to a file
db.dump_database("/path/to/output/file.txt")

Known Issues

  • OLE fields are currently not supported
  • Only a subset of memo fields are parsed

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

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

access_parser-0.0.1.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

access_parser-0.0.1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file access_parser-0.0.1.tar.gz.

File metadata

  • Download URL: access_parser-0.0.1.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.8

File hashes

Hashes for access_parser-0.0.1.tar.gz
Algorithm Hash digest
SHA256 362b596785a04393e8e050bb4edb88a8c00be53c8c968d4efacd47d6ac933fd2
MD5 2ea5c20dffa36042a20b08d6a817dfcc
BLAKE2b-256 1ecc67cd1a02c6df126663fbc02be05cbc24f8d31f59bbe6f948e888d45cf185

See more details on using hashes here.

File details

Details for the file access_parser-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: access_parser-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.8

File hashes

Hashes for access_parser-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 372ae2c08b6f2c8ef8f6fdaf612498a043468fd554295c1a9fc7743e44814ed6
MD5 a8a8c4c163693e1983502227f3d5026b
BLAKE2b-256 4632cc7eb0a59a1877805ff1832ab0c3f18cb3f6e883264b4b9d17c159e7b638

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page