simonw / dbf-to-sqlite Goto Github PK
View Code? Open in Web Editor NEWCLI tool for converting DBF files (dBase, FoxPro etc) to SQLite
License: Apache License 2.0
CLI tool for converting DBF files (dBase, FoxPro etc) to SQLite
License: Apache License 2.0
An unimplemented feature...
dbf.DbfError: Tables of type (50, 'Visual FoxPro (VarChar, VarBinary, or BLOB enabled)') not supported
So not useable for most VFP tables, which could be added to the README
dbf-to-sqlite/dbf_to_sqlite/cli.py
Line 23 in 2a15c9b
You re-use the variable table when the original use is still in-scope. This causes a collision when processing multiple DBF files leading to non-sensical table names (table name for the current file is incorrectly set to a long string representing the description of the last table processed)
Great little script, looks like it could be the godsend I'm looking for in terms of getting legacy dbf files into something more usable.
That said I'm having an encoding issue - my DBF files use BIG5 (Traditional Chinese) and I'm getting the following error back:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa7 in position 2: ordinal not in range(128)
I see dbfread has an encoding option - any chance you could add an extra option into your script so we specify the DBF encoding when needed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.