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.
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.2.tar.gz
(2.6 kB
view details)
File details
Details for the file dbf_read_iffy-1.0.2.tar.gz.
File metadata
- Download URL: dbf_read_iffy-1.0.2.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfdedb3ab4b693a352aac15439e1b513cc8ae240350c0746e34bcbc127ecc0f1
|
|
| MD5 |
0b55971926d7bfce19e02d75d7112c61
|
|
| BLAKE2b-256 |
5c0d7cfd2ebf357673ad7e468781e9238cf0b426d201b8508f141ddc6946ff4f
|