Skip to main content

A tiny, subprocess-based tool for reading a MS Access database(.rdb) as a Pandas DataFrame.

Project description

# What is this?

A tiny, `subprocess`-based tool for reading a
[MS Access](
database (`.rdb`) as a [Pandas](

## Installation

To read the database, this package (thinly!) wraps
[MDBTools]( Since I assume you're already
using Pandas, it should be your only installation requirement.

If you are on `OSX`, install it via [Homebrew](

$ brew install mdbtools
Then, do,
$ pip install pandas_access

## Usage

import pandas_access as mdb

# Listing the tables.
for tbl in mdb.list_tables("my.mdb"):

# Read a small table.
df = pandas_access.read_table("my.mdb", "MyTable")

# Read a huge table.
accumulator = []
for chunk in pandas_access.read_table("my.mdb", "MyTable", chunksize=10000):

If you need more power than this, see:

## Testing

I needed this code in a quick pinch -- I had no access to MS Access, and I had
a single `.mdb` file. If someone with Access would like to create a tiny
database for unit-testing purposes, I'd be much obliged.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pandas_access, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pandas_access-0.0.1.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page