Light and easy DBF reader
Project description
https://github.com/idlesign/dbf_light
Description
Light and easy DBF reader
No fancy stuff, just DBF reading for most common format versions.
Python 2.7, 3.4+;
Uses namedtuple for row representation and iterative row reading to minimize memory usage;
Works fine with cyrillic (supports KLADR and CBRF databases).
API
from dbf_light import Dbf
with Dbf.open('some.dbf') as dbf:
for field in dbf.field:
print('Field: %s' % field)
print('Rows:')
for row in dbf:
print(row)
CLI
Requires click package (can be installed with: pip install dbf_light[cli]).
$ dbf_light describe myfile.dbf
$ dbf_light show myfile.dbf
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_light-0.1.0.tar.gz
(66.5 kB
view hashes)
Built Distribution
Close
Hashes for dbf_light-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04b426a43460ebdafb84e49e6f3d677777dc33373d9581c17a04cbe378701d54 |
|
MD5 | b5b915cead17f8df4cfec461fa67aaaf |
|
BLAKE2b-256 | ac5fbbb6b79307e6685570bede355fb1b9b8d92de14f72e072626de1fb70500c |