/dbfpy

(Unofficial Repository) Python module for reading and writing DBF files. Originally it was created by Jeff Kunce and later maintained by Hans Fiby. (ru) Питоновский модуль для чтения / записи(генерирования) DBF-файлов. Вам, возможно, лучше подойдёт https://github.com/j2a/ydbf ;)

Primary LanguagePython

Python modules for accessing .dbf (dbase) files
readme_dbfpy.txt

2011-10-13 dvska
(en) Hardcoded to produce "0x30 Visual Foxpro" no-memo DBF format with data in cp1251 encoding
(ru) ×èòàåò DBF; ïèøåò â ôîðìàò "0x30 Visual Foxpro no-memo DBF" â êîäèðîâêå Windows-1251 (`ANSI`)

jjk  11/15/99
2000-10-06 Hans Fiby

I have used this code, in various forms, to read .dbf files.
It includes some experimental code to write to .dbf files.
This code may provide a starting point for others.

Files:
    dbf.py      reads (and possibly writes) .dbf file data directly from disk
    dbfload.py  reads an entire .dbf file into memory, provides access to data
    binnum.py   a module to decode/encode binary numbers
    strutil.py  a module of string utilities
    dbfnew.py   a module to create new .dbf files
    county.dbf  a sample .dbf file
    readme.txt  this file
    dbfpy.tgz   the distribution tarball

dbf.py and dbfload.py are independent ways to access .dbf files.

*** !!  USE AT YOUR OWN RISK    !! ***
*** !! NO WARRANTIES WHATSOEVER !! ***

Jeff Kunce <kuncej@mail.conservation.state.mo.us>
http://starship.python.net/crew/jjkunce/
Hans Fiby <hans@fiby.at>
http://www.fiby.at