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.

Source Distribution

dbf_read_iffy-1.0.1.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file dbf_read_iffy-1.0.1.tar.gz.

File metadata

  • Download URL: dbf_read_iffy-1.0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dbf_read_iffy-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8e381481bdc524409513830c4bab3e18dd002c22bfb59309179541be8f8bcdda
MD5 1512821d0ad6286b4714c276cf8a6360
BLAKE2b-256 89b0fea34b96115caf1e445fea8a591fc49913e006f0b9bcbc434cd5d8ceb251

See more details on using hashes here.

Supported by

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