Skip to main content

Microsoft Access (.mdb, .accdb) database file parser

Project description

MDBParser

Easy use Python library to read Microsoft Access (.mdb, .accdb) database files, this library use the mdb-tools command.

Installing

Use pip: pip install mdb-parser

Or install manually:

git clone https://github.com/fedestella263/mdb_parser
cd mdb_parser
python3 setup.py install

Usage Example

from mdb_parser import MDBParser, MDBTable

db = MDBParser(file_path="db.accdb")

# Get and print the database tables
print(db.tables)

# Get a table from the DB.
table = db.get_table("MY_TABLE_NAME")

# Or you can use the MDBTable class.
table = MDBTable(file_path="db.accdb", table="MY_TABLE_NAME")

# Get and print the table columns.
print(table.columns)

# Iterate the table rows.
for row in table:
    print(row)

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

mdb_parser-0.0.3.tar.gz (2.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: mdb_parser-0.0.3.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.4

File hashes

Hashes for mdb_parser-0.0.3.tar.gz
Algorithm Hash digest
SHA256 dd511dc34cb21aec3d8d70af37447176ab368d2a665db04146da324941a577e8
MD5 9f3921a47c6665585f16503fb6790a11
BLAKE2b-256 ecfc5a13d517f6a17cedfeae70a88bb83ea61a08901fb683a7d9ff315e4475d5

See more details on using hashes here.

Supported by

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