Skip to main content

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

Project description

AccessDB Parser

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

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
db.print_database()

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.3.tar.gz (10.9 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.3-py2-none-any.whl (15.3 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: access_parser-0.0.3.tar.gz
  • Upload date:
  • Size: 10.9 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.3.tar.gz
Algorithm Hash digest
SHA256 fbe8bd5c4e6fd2d9f6036c45b478231b0d06715259134354238188f294cb8031
MD5 2f44d1389f1d42a0f73cc4ac9b65a785
BLAKE2b-256 2bc78be563cc513b037b7565fbfe73b7054cd3ef8f673989512a5fd554bfb8f9

See more details on using hashes here.

File details

Details for the file access_parser-0.0.3-py2-none-any.whl.

File metadata

  • Download URL: access_parser-0.0.3-py2-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 2
  • 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.3-py2-none-any.whl
Algorithm Hash digest
SHA256 de354b02f8418985b0104ccb5d9b2ce229927e1ed59ceb18b4dd01042234efc3
MD5 81f1820407c6ee34abfd0cfb95e46517
BLAKE2b-256 c7f6cbbf5ad62811e75eed6c042b39027e55837bc164445b7af3017166b9849c

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