Skip to main content

Read from dbf's if codepage is unsupported by modules dbf and codecs (895 cz Kamenicky, ..).

Project description

Make possible to read from dbf’s with codepage unsupported by modules dbf and codecs (895 cz Kamenicky, ..)

import dbf
from dbf_read_iffy import fix_init, fix_895

fix_init(dbf)
t = dbf.Table('autori.dbf')
t.open('read-only')
for record in t:
    print fix_895(record.autor)
t.close()

You can ignore Python 2.7 installation error in test_v3.py (from aenum which is requirement of dbf).

For 620 pl Mazovia: You can define conversion map in fix_620(). If possible please: Fork me, clone your fork, commit/push, generate Pull request from your fork. Thx.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
dbf_read_iffy-1.0.2.tar.gz (2.6 kB) Copy SHA256 hash SHA256 Source None Aug 18, 2016

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page