New level of functionality and performance in data access via Python
Project description
Python Connector for xBase
Python Connector for xBase is a connectivity solution for accessing FoxPro, Visual FoxPro, dBase, and other databases in DBF file formats from Python applications. It fully implements the Python DB API 2.0 specification. The connector is distributed as a wheel package for Windows, macOS, and Linux.
Direct connection
The connector enables you to establish a direct connection to Visual FoxPro, dBase, and other xBase databases eliminating the need for the client library. A direct connection increases the speed of data transmission between a Python application and an xBase database and simplifies the deployment.
Local indexing
The connector offers an internal data indexing mechanism that is way more efficient than native DBF indexes for complex queries.
Retrieval of corrupted data
You can choose to ignore corrupted data and metadata errors in DBF tables. Corrupted data is skipped, while intact data is properly retrieved.
Using the connector
To retrieve data from a database:
Import the module.
import devart.xbase
Connect to a database using the connect()
module method and obtain a connection
object.
my_connection = devart.xbase.connect(
Database="path_to_db"
)
Create a cursor
object using the cursor()
connection method.
my_cursor = my_connection.cursor()
Execute the SQL statement using the execute()
cursor method.
my_cursor.execute("SELECT * FROM employees")
Retrieve the result set using one of the fetch*()
cursor methods.
for row in my_cursor.fetchall():
print(row)
Ordering and activating the license
You can purchase a license for the connector on the ordering page:
https://www.devart.com/python/xbase/ordering.html
To activate the license, follow the instructions in the documentation:
https://docs.devart.com/python/xbase/activate-a-license.htm
What's new
Python Connector for xBase 1.1
- Added support for the UTF-8 encoding
- Added support for tables with duplicate column names
- Added connection pooling
- Added activation with a license key
- Added the subscription license type
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for devart_xbase_connector-1.1.1-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b25adfc56c442fe453f04325eb40650df801247a3e71b8f23a8688457e00e830 |
|
MD5 | f24c0008f7354fe0e3b2e4d8825a3193 |
|
BLAKE2b-256 | 4bb7a6221af7c8510e58d69190f20b9e75089c6da271e387284e1ecd8876c333 |
Hashes for devart_xbase_connector-1.1.1-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1a503daf150edc1c6f2fffaa73f2d3c3f8477775939559317eeebeff1055dc7 |
|
MD5 | f9dcd4d33ea9dd25990f18796bd539a8 |
|
BLAKE2b-256 | 9ba010dd7dd48d7c146366dd60cd53473c3647f32982e0fc28940477cc433aac |
Hashes for devart_xbase_connector-1.1.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54f8273a26a49be33d134229580c777830c5037ac727c051d6d9af68a9c764bf |
|
MD5 | da64231c963d1dbb083e0a323a20bd24 |
|
BLAKE2b-256 | c24c5b80d5970558c29f90d53ddac9c59a13c188cbb19a626121645c1b3290bd |
Hashes for devart_xbase_connector-1.1.1-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9806857facb14e39d306f3c697407ee161a6ab71cfb56067021a4f590d637c9 |
|
MD5 | 212cda07816246d38fb02c108df93860 |
|
BLAKE2b-256 | 673011612452c1429a8096dc0f62373f96d546614c4e76420ec56d64bb8e9eda |
Hashes for devart_xbase_connector-1.1.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b75833f0b2386587d8ae784b76ea224cec76809642c9bf5b24cbd295417a319 |
|
MD5 | 90715db47b39402df354542c56e58846 |
|
BLAKE2b-256 | d8edaa29d8b439c45249bc80175cf4c99e5c801d932307db3a17471060df030f |
Hashes for devart_xbase_connector-1.1.1-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca07a137e6dbf2d2e7fb0f336fc56f684967206c9b42449647d7f31b96f27ab3 |
|
MD5 | 55f5d808f82d60db4b417a36ce6ddb7c |
|
BLAKE2b-256 | 241781a2c7ce9b5e44b05900bd31f5771b9c505aa143192e526cfb16a0c18bfc |
Hashes for devart_xbase_connector-1.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 857370255ed6f4ced712147e9b5aa5cc6c22a1910183d3bc1cec64121439995d |
|
MD5 | a310705a11256e669197007d12bd395b |
|
BLAKE2b-256 | b30ea8585568fafe7794b40e4d25f38cf640abe0ccb4001a739e69fbec1f7356 |
Hashes for devart_xbase_connector-1.1.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ef61c2818f9afec87f52715b5c12449b91d561ec0f659859f3a1873f3c99944 |
|
MD5 | cd809305b1e2def70d542ca1700d75ca |
|
BLAKE2b-256 | 57d467ed89003a3ac285ef74cd2eef6a1d84d8e32aa403088b56a7cd263903e9 |
Hashes for devart_xbase_connector-1.1.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed8cf7e64bda19cfea65313e6aa7e29341845416ffd03407c0d1308356029d50 |
|
MD5 | e133cfb343adcb4be334648225c244e1 |
|
BLAKE2b-256 | 01c8aba4e8b9fa411ab5aef3d19aaf0c37357150db3ed3e299f2539e3780c382 |
Hashes for devart_xbase_connector-1.1.1-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 172fa75afd5eb233cd829c4918caba4affa60a9f5b0ef3e5cb3d0a33e3e85729 |
|
MD5 | 0fc45e16c915ba5728bd9798b429adf7 |
|
BLAKE2b-256 | d3ba468e3a5286fd1725137dd174e64b784236972d614f7cc023a583c461465c |
Hashes for devart_xbase_connector-1.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4b025e39585b9c778ab288387fabeb5a62be92e3ecb2954a8de58ad73edb678 |
|
MD5 | d4c841a450db8e329d0e3e8c07f08eaa |
|
BLAKE2b-256 | 6cb5094861e60d468b5d6bc43f3ee849a5ae6f72ca15f3fa093ea8ea57cdb040 |
Hashes for devart_xbase_connector-1.1.1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e164b9205b77059078cde7bc94f5306cc7b54a01bda5252b145a47a40c41b48 |
|
MD5 | 90ab7833249180ed0d28fb456456d88f |
|
BLAKE2b-256 | ca4573ae9749a4e2ae22223cbfe4a78434067f454e327275bf2b2527a235054f |
Hashes for devart_xbase_connector-1.1.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f26ed23e8be91a8abbba2b7ffd419d4d86596cc82ceca5032f90a63f5ead540 |
|
MD5 | 1bb729dc46ee0b73c7714679e21d3121 |
|
BLAKE2b-256 | 6a1d687a7befb4d504609de405fa7d2292040da66734f937608b4f2ae8fd39ec |
Hashes for devart_xbase_connector-1.1.1-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c81ea6b2a48256346423507ae1918cdb367e234b10bb2065bc4b0eb8d272c688 |
|
MD5 | 3ecfc054677db554a433d2164c43ab7c |
|
BLAKE2b-256 | 027440ec8b859327706850eb5e7c5f0c3a54b8da32d7ed9c8f340e5d7deff2c1 |
Hashes for devart_xbase_connector-1.1.1-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec68273dfd81f8daf3c731440b80109b5537811c7d69c0713b556e12defd376c |
|
MD5 | a00986f964dc159e8b0b200bbc8b575d |
|
BLAKE2b-256 | 6ca12887b9b9be5e1174e04c3d8998356ca4fe9afa5e2818f0646745582afac7 |
Hashes for devart_xbase_connector-1.1.1-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 469cd3150f37c04f68a3f32d8ba16f0b5b6600257ba13008f64e5f4914fa536a |
|
MD5 | 26b59e365e47cc6feddda3d64ed8ce44 |
|
BLAKE2b-256 | b3001d96f404fd74fc19c5cecd0193c61dfeb87b550e35c7144f81f02d369e49 |
Hashes for devart_xbase_connector-1.1.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8a8de6f3086e5f1665509ca02b26a1e2178cf5de39658bcc353cf0911e25e9f |
|
MD5 | a464ad21e8eaa3901351d37b47ae1601 |
|
BLAKE2b-256 | f71d19725592e85da3f448df9d579294ac584272d8a69d44b5f18187eaa5e563 |
Hashes for devart_xbase_connector-1.1.1-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a55a55644d290a90bb8cb2dcb0427b3cb2363c0bb05c972fdc9a125467c2a33 |
|
MD5 | 70eeaec0b17224627e24ba49fcfd3b2f |
|
BLAKE2b-256 | d5909295a7ab2f1744757b959412135f8ea7e1bc2b3892fdbdb74d33d9b40f31 |
Hashes for devart_xbase_connector-1.1.1-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e06787201c4d151ff8450758b27673424d4c3ebacfa3496b7a28eacf9668713c |
|
MD5 | 485da4222c00340078a74321f2dd5341 |
|
BLAKE2b-256 | 48f10739d759bcf46518a22afc6544a149a2c64cdd02b0b372e0038338a33250 |
Hashes for devart_xbase_connector-1.1.1-cp38-cp38-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a960059f19d66bb5810fcee5a92547ab1d10a837ab5bebe49020fe0cd1c3d44 |
|
MD5 | cb2eca616f207eb94b8470eafde95b3d |
|
BLAKE2b-256 | 1edaf3d6ca9fa95dbfde42090078516707aa087cde69a8f8a5cf3a7bb5fb682e |
Hashes for devart_xbase_connector-1.1.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c82a77238c602bde3bd056d00bc0993a3f0a9651d8b56f98d3bcea6aa1d3ab2d |
|
MD5 | ad02ae46147577b5b14d1d45b5f10b2c |
|
BLAKE2b-256 | f74c5386e2a103d337a5518a1f6e0252caff2fb061f7859dbf871a276a26d005 |
Hashes for devart_xbase_connector-1.1.1-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72226eac2c72bbc6dae5b40b5f8580c822d18dbe768a763f5c7a981ba1737fce |
|
MD5 | c3cad0c91be9f6793a8cc8fbc0e23b0d |
|
BLAKE2b-256 | 8bd857b341e1e90ce1fdf5d02829323b5db6f6436884adcf0c4dcbe4e1b71833 |
Hashes for devart_xbase_connector-1.1.1-cp37-cp37m-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff0d7f6c999d61ba2e4a415d3b3813ce2f734bc21df8c9db63c6b9d930b2f213 |
|
MD5 | 22138c740bb8b5b0077830709463ecf9 |
|
BLAKE2b-256 | d74cdfa83d2e3064a2228eb6f55bd2cba943391ba6c3c3227cff15552bb315d5 |
Hashes for devart_xbase_connector-1.1.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76fd1ee4e768e4ed361a345e87144477f71f8eca991828ce9f11aaf7cbe13b21 |
|
MD5 | 2902acfc7ac9eee30f1ba7b2f64a86bc |
|
BLAKE2b-256 | f236e0eafecbf75e26b4f6943b49709b740a30f057134f50d7836a094d7fc862 |