Devart Python Connector for xBase: Read and Write DBF Files (FoxPro, dBase, Clipper) from Python
Devart Python Connector for xBase is a DB API 2.0 module that lets Python code query and change Visual FoxPro, FoxPro 2, dBase III to 7, Clipper, Codebase and HiPer-Six DBF tables with SQL on Windows, macOS and Linux, from $74.95 a year for one user. It installs as a small pip wheel, opens a folder of DBF files directly with no database client or ODBC driver, and can skip corrupted rows instead of failing. It's for developers moving data out of, or keeping data in step with, old xBase applications.
Plenty of businesses still run on DBF files: an accounting package from the 1990s, a Visual FoxPro line-of-business app, data exported by industrial or GIS software. Getting that data into a modern database or a pandas DataFrame usually means hunting for an old ODBC driver that only works in 32-bit Windows, or a library that chokes on the first damaged record. Devart's connector reads DBF files directly from Python on any of the three main operating systems.
Quick facts
- Version: 1.4.0, released October 22, 2026 (first released December 2023)
- Developer: Devart
- Formats: FoxPro 2, Visual FoxPro, dBase III to dBase 7, Clipper, Codebase, HiPer-Six
- Python: 3.10 to 3.15 (3.7 to 3.9 dropped in 1.4.0)
- Platforms: Windows and Windows Server 32/64-bit, macOS 64-bit including Apple Silicon, Linux 64-bit
- Download: 4.54 MB Windows wheel for Python 3.15 (6.67 MB macOS, 4.29 MB Linux)
- Price: Single $74.95 a year or $149.95 perpetual; Team (up to 4 users) $189.95 or $379.95; Site $339.95 or $679.95
- Trial: 30 days, for evaluation only
- Refunds: Devart's ordering FAQ gives refunds within 30 days when a technical problem stops the product working and support can't fix it
What we checked: version 1.4.0 and the package sizes for Python 3.10 to 3.15 on the download page, the supported formats and platforms on the compatibility page, the connection parameters and license terms in Devart's documentation, the revision history back to December 2023, and the order page, which charged $74.95 and $149.95 for Single, $189.95 and $379.95 for Team and $339.95 and $679.95 for Site (1-year subscription and perpetual), with no discount applied, on November 29, 2026. We didn't open a DBF database with it.
Download Free TrialBuy Single, 1 Year ($74.95)Buy Single, Perpetual ($149.95)
Overview
You install the wheel for your Python version and platform with pip, import devart.xbase as xbase and call connect() with Database set to the folder that holds the table files. DBFFormat defaults to Auto, which reads the format from each file header; you can force dBaseIII, dBaseIV, dBaseV, dBaseVII, FoxPro2, VisualFoxPro, HiPerSix, Codebase or Clipper, which also decides the format of new tables. CodePage handles old DOS and Windows code pages (Western European DOS, Cyrillic DOS, Japanese, Korean and many more), and UTF-8 has been supported since version 1.1.0.
Two options matter most with real-world DBF data. IndexOnReading=Local switches from the files' native indexes to the connector's own indexing, which Devart says is much faster for complex queries across many tables. And four Ignore switches (IgnoreBrokenTables, IgnoreMetadataErrors, IgnoreDataErrors, IgnoreIndexErrors) let you read what's intact instead of stopping at a damaged table, column or index. ConnectMode picks Shared (the default), Exclusive or Unsafe file locking, and version 1.4.0 added a read-only mode.
Connecting takes two lines, as in Devart's documentation:
import devart.xbase as xbase
my_connection = xbase.connect(Database="path_to_db")
Features
SQL over DBF files
Devart Python Connector for xBase runs SQL SELECT, INSERT, UPDATE and DELETE against DBF tables through the standard DB API 2.0 cursor, so DBF data works like any other Python database.
Many xBase dialects
Devart Python Connector for xBase reads FoxPro 2, Visual FoxPro, dBase III to 7, Clipper, Codebase and HiPer-Six tables, detecting the format from the file header or using the one you set.
Reads damaged data
Devart Python Connector for xBase can skip broken tables, unknown column types, bad values and corrupt indexes, and return the intact records.
Local indexing
Devart Python Connector for xBase can build its own indexes while reading instead of relying on native DBF indexes, to speed up joins and complex queries.
Code pages and Unicode
Devart Python Connector for xBase handles more than twenty DOS and Windows code pages plus UTF-8, so accented, Cyrillic and Asian text comes through correctly.
No client software
Devart Python Connector for xBase opens the files directly, so there's no ODBC driver, OLE DB provider or FoxPro runtime to install on each machine.
Benefits
- Leave 32-bit ODBC behind. Read FoxPro and dBase data from 64-bit Python on Windows, macOS or Linux.
- Migrations that finish. Damaged records are skipped instead of stopping a whole export.
- Small and easy to deploy. A 4 to 7 MB wheel per platform.
- Cheap for one developer. $74.95 a year.
Real-World Uses
- A developer migrates a Visual FoxPro application's tables into PostgreSQL with a Python script, skipping a few corrupted records.
- An analyst loads DBF exports from an old accounting package into pandas every month.
- A Linux server job reads DBF files dropped by legacy software and writes them to a modern database.
- An integrator keeps a still-running dBase application in step with a web shop by updating its tables in Shared mode.
Who It's For, and Who Should Skip It
It's for Python developers and data engineers who work with FoxPro, dBase or Clipper data, especially for migrations off legacy applications and on platforms where old xBase drivers don't run.
Skip it if you only need to read a few clean DBF files once: free Python libraries for DBF files cover simple reads. Skip it if you don't write Python; Devart's ODBC Driver for xBase brings the same files into Excel and other Windows tools. And be careful writing to files a live xBase application is using, since DBF has no transactions.
Usage Guide
- Download the wheel for your Python version and platform from the download page and install it with
pip install and the file name.
- Import the module with
import devart.xbase as xbase.
- Call
connect() with Database set to the folder of DBF files; add DBFFormat, CodePage or IndexOnReading="Local" if you need them.
- Turn on IgnoreDataErrors or IgnoreBrokenTables if the data is old or damaged.
- Open a cursor, run your SQL, fetch the rows, and call
commit() after changes.
- Activate the license key before the 30-day trial ends.
Before you buy
- The trial is for evaluation only. Devart's license forbids using trial-built scripts in production or for commercial purposes.
- Licenses are per user (Single, Team up to 4, Site unlimited at one company address); shipping the connector inside software you distribute needs an OEM license.
- Subscription licenses check in online to activate and verify the license, even though the data is local.
- Python 3.10 or later. Version 1.4.0 dropped Python 3.7 to 3.9.
Where it falls short
- No transactions. DBF files don't support them, so concurrent writers in Unsafe mode can corrupt a table.
- Thin documentation. The docs cover connection parameters and licensing, and the connection page is still titled "Connecting to SQLite", copied from another connector.
- Format quirks still being fixed. The 2025 and 2026 releases fixed dBase III reading, mixed T/F and Y/N logical fields, a "not equal" filter bug and index updates on insert.
What Users Say
We found no published user reviews of the xBase connector on its own. G2 lists Devart Python Connectors as one product with a single review (5.0 out of 5), too few to say much. Devart as a vendor scores 4.6 out of 5 across more than 1,100 G2 reviews of all its products, mostly its database tools and ODBC drivers rather than these connectors.
Its release record shows steady fixes: version 1.0.1 in December 2023, UTF-8, connection pooling and subscription licenses in 1.1.0 (July 2024), the BITTEST function in 1.2.0, better HiPer-Six support in 1.3.0, and in 1.4.0 (October 2026) Python 3.15, a read-only mode and better Codebase support.
Comparisons
vs. free Python DBF libraries
Free libraries read DBF files record by record and are fine for simple exports. The connector adds SQL with joins, writes with locking modes, local indexing and tolerance for damaged data.
vs. Devart ODBC Driver for xBase
The ODBC driver brings DBF files into Excel, Access, Power BI and SQL Server on Windows. The Python connector runs on macOS and Linux as well and needs no ODBC setup.
vs. the old Visual FoxPro ODBC driver
Microsoft's Visual FoxPro ODBC driver is 32-bit only and no longer developed. The connector works in 64-bit Python and on three operating systems.
Editions and Pricing
Devart Python Connector for xBase has one edition, sold as three licenses by number of users. Each button opens the order page with that license and term selected; 2- or 3-year subscriptions and priority support can be chosen there. Embedding the connector in software you distribute needs an OEM license, which Devart quotes on request.
All six prices were read on the order page on November 29, 2026, with no discount applied.
FAQs
Can Devart Python Connector for xBase read Visual FoxPro tables?
Yes. Devart Python Connector for xBase reads and writes Visual FoxPro and FoxPro 2 tables, as well as dBase III to 7, Clipper, Codebase and HiPer-Six.
Does Devart Python Connector for xBase run on Linux and macOS?
Yes. Devart Python Connector for xBase has wheels for 64-bit Linux and for macOS on Intel and Apple Silicon, as well as 32-bit and 64-bit Windows.
Can Devart Python Connector for xBase read corrupted DBF files?
Partly. Devart Python Connector for xBase can ignore broken tables and metadata, data and index errors, so intact records are returned and damaged ones skipped.
Which Python versions does Devart Python Connector for xBase support?
Devart Python Connector for xBase 1.4.0 supports Python 3.10 to 3.15; support for 3.7 to 3.9 was removed in that release.
Does Devart Python Connector for xBase need the FoxPro runtime or an ODBC driver?
No. Devart Python Connector for xBase opens DBF files directly, with no client library, runtime or ODBC driver.
Can a team share one Devart Python Connector for xBase license?
Not a Single license. Devart Python Connector for xBase sells a Team license for up to four users and a Site license for unlimited users at one company address.
System Requirements
- Windows or Windows Server 32/64-bit, macOS 64-bit (Intel or Apple Silicon) or Linux 64-bit
- Python 3.10 to 3.15
- DBF tables in FoxPro 2, Visual FoxPro, dBase III to 7, Clipper, Codebase or HiPer-Six format
- Internet access to activate and check the license
Conclusion
Devart Python Connector for xBase is worth $74.95 a year if you have to get data out of, or keep working with, FoxPro, dBase or Clipper files from Python, especially on 64-bit systems, macOS or Linux where old xBase drivers don't run. The one reason to buy it is SQL access to DBF files that keeps going when some records are damaged. The main reasons not to are free libraries for simple one-off reads and DBF's lack of transactions, which no connector can fix.
Download Free TrialBuy Single, 1 Year ($74.95)Buy Single, Perpetual ($149.95)