Skip to main content

Pure python package for reading/writing dBase, FoxPro, and Visual FoxPro .dbf files (including memos)

Project description

Currently supports dBase III, and FoxPro - Visual FoxPro tables. Text is returned as unicode, and codepage settings in tables are honored. Documentation needs work, but author is very responsive to e-mails.

Not supported: index files (but can create tempory non-file indexes), null fields (data returned is blank), and auto-incrementing fields.

This version is backwards-incompatible as far as the default types of returned data. However, it does supply backwards-compatible custom data types that can be specified when tables are opened: Char (auto-trims white-space), Date & DateTime (allows False values), and Logical (allows unknown values). To get the old behavior with a dBase III table would look like this: table = Table(somefile, default_data_types=dict(C=Char, L=Logical, D=Date, T=DateTime, M=Char))

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 dbf, version 0.90.0
Filename, size File type Python version Upload date Hashes
Filename, size dbf-0.90.0.zip (59.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page