New level of functionality and performance in data access via Python
Project description
Python Connector for Microsoft Access
Python Connector for Microsoft Access is a connectivity solution for accessing Microsoft Access databases 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
Python offers a standard pyodbc module, which you can use to access Microsoft Access databases through the Microsoft Access ODBC Driver. This method has several disadvantages:
- Microsoft offers Access ODBC drivers only for the Windows platform.
- Users might experience issues opening databases created in the latest versions of Microsoft Access.
- Users have to install either Microsoft Access or Microsoft Access Database Engine Redistributable on their machine.
- By default, Microsoft Access is a single-user database system. An Access database cannot be opened concurrently in multiple applications. Our connector provides the following advantages:
- A direct access to a database without installing Microsoft Access or Microsoft Access Database Engine Redistributable on the user's machine
- Support for all major desktop platforms: Windows, macOS, and Linux
- Support for the .mdb and .accdb file formats, including databases created in the latest Microsoft Access versions
- A read-only multi-user mode to enable several users to read data from a database simultaneously
Using the connector
To retrieve data from a database:
Import the module.
import devart.access
Connect to a database using the connect()
module method and obtain a connection
object.
my_connection = devart.access.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/access/ordering.html
To activate the license, follow the instructions in the documentation:
https://docs.devart.com/python/access/activate-a-license.htm
What's new
Python Connector for Microsoft Access 1.1
- 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_access_connector-1.1.1-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76c408e20d27fd6f5d96c0715e84193b4b6cbc69e5055a496fe56dea5029db19 |
|
MD5 | 91f986f0e5d4c008783c75595d83b304 |
|
BLAKE2b-256 | b406e6a386593f5c5c774e0f8ab7715c00e7531fd84ce85eb15d8805c56fb8d8 |
Hashes for devart_access_connector-1.1.1-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92696770285e52f8dc49eeb788bd81f2f1a9c701c4f3de100021697914718c54 |
|
MD5 | 932a986cfa6ba8e31a0ac430d85146d7 |
|
BLAKE2b-256 | fd3245de70b52b91440dc4bc7db5ba27db2ca50122acc894f67af0cef0b70c67 |
Hashes for devart_access_connector-1.1.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a47349974db1e6f8e8512bf9d82a98f7531963b11c811cf296aa9b59d42d9a0d |
|
MD5 | bb1b889e45163b6f929f88cca732a997 |
|
BLAKE2b-256 | 8e4019ea4c316a5c289fe33870784d7c3b1386dde710923f16fd10cf71fa5bc5 |
Hashes for devart_access_connector-1.1.1-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07149a3c023cc6d4a7543cdceb0b73771ce044334d565296b45d0c75ae8b5d72 |
|
MD5 | 60ad2015711f02460f9e190ae5ac9294 |
|
BLAKE2b-256 | 4e64f3f338e125ab474a3166e1385e85bf21017f6ae86b071e5a8a17004cbf85 |
Hashes for devart_access_connector-1.1.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d08e657b9d67e5415fe72261d4d75ec246b578abce6e5fd14cdcafba189af5f5 |
|
MD5 | 458b5d64c527bdb8a3ed054bd2339030 |
|
BLAKE2b-256 | 1f2edaa188edd641e2da93f1f726c7635f964ed90ff49e6dc0f0db91e333a475 |
Hashes for devart_access_connector-1.1.1-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdcec9304e0b514828e8b247b2bbd8593ee9b61e4e9d7e38f134fcafdbbdb225 |
|
MD5 | 93987667f1091f2c248ec87dcfb635ee |
|
BLAKE2b-256 | ccf44df4537180e752511b460f3d4e348612114cdf65e708d56e08eed55d166b |
Hashes for devart_access_connector-1.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73503981bca1cb06def0326fcbc3afb47983feecc9e8c70df0d89bc7c2570e5d |
|
MD5 | 5e05bdfbdcf38651a1721a57710ddcb4 |
|
BLAKE2b-256 | f82e92ebd92bd5567f40f40031ddd889769c1796f1f90cfbc9d34053a815c436 |
Hashes for devart_access_connector-1.1.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49cafa8e8b3c2028ec9189526347aa6bafcf954a1b15622225510156d6ef1754 |
|
MD5 | 514c547fc6b8445f0d33b5d083a3290e |
|
BLAKE2b-256 | dad17ebcf44112225703753b5b01c219021427724ce59ccfa99cbcea15bb0268 |
Hashes for devart_access_connector-1.1.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6badcc2bb95c0d1bb6f60efdd7ea55a53377ae165bc1295e860d6ab8b54f5310 |
|
MD5 | b6d2bfabb7a8c0d1a75b8f633bb93575 |
|
BLAKE2b-256 | d97a5c0baa148d1987af3f72f9ce8af3d55b62b17dd5f99eb44cf817ee6b7606 |
Hashes for devart_access_connector-1.1.1-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54a5ea29155f877d4b586a026cacf7f919f108fb35083c24ecb29a46a4c420fc |
|
MD5 | ef64705b3e2161cbe1eaec66336531f0 |
|
BLAKE2b-256 | 0c876bf7f8403c020c784e30502844b5e0c28e65704470d4b257e0d7d2cc9419 |
Hashes for devart_access_connector-1.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f75223f5a7ee901658de5bc5fc04d0abda631db2e2ea8274219f49ecd98f8a5e |
|
MD5 | 8a25615cb963e0391e95c398598caf23 |
|
BLAKE2b-256 | 9c3341e35a3fafc3e2bafeae3246190d402903472c3342d914791a3268835383 |
Hashes for devart_access_connector-1.1.1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ab0025f07368b118be3f0ab4842f1384a6f6649b520c75e300eb0c9f5fdeb3f |
|
MD5 | c0d40d229fa562caa81fb882b26324c6 |
|
BLAKE2b-256 | 86285e4c2f054644ccb124be528ad3672390a905a6a9bb1306c6c5e2fa048d26 |
Hashes for devart_access_connector-1.1.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bc2e64dacac5b5f42b45b8795233f09af5de5d3faac73b2694b62f0131abf39 |
|
MD5 | 30f15ba09789274203759f823fd59305 |
|
BLAKE2b-256 | fc5fa9807295e91c78e5b4f5a98e59ebea6efa64c58abf8687eba22a2bfc1090 |
Hashes for devart_access_connector-1.1.1-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bf3fd6ae94c67c9423be4086fd7123bc0855caa0ce47295170446f00530868a |
|
MD5 | 7b8c3f996570a4c7df3509289cf06a70 |
|
BLAKE2b-256 | b6093b7be07d2abd6e9f89c9420d10b6fc4b076c1ee7f744828b5e16894ca5c9 |
Hashes for devart_access_connector-1.1.1-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e2c5f651d63bd9d7c638dd0b2cb297023ae8c7b14d0439727383acb7d0ebb41 |
|
MD5 | df0d9c20e8ddf42cc9293a793a25fb51 |
|
BLAKE2b-256 | 4a4332546c8ac0e9398b405d9ab15a0e141eb312ccd8ba5a04455fe44c128dd9 |
Hashes for devart_access_connector-1.1.1-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f12e3bfdb3700ae86b3e13b3bd7b3f20f73fa3289c47a7e98b7eca9fcfe95a51 |
|
MD5 | 9cbbb6c1f637bcb3d5370e63e31fbd1f |
|
BLAKE2b-256 | 4bcee8891769e0acb14cf4a57c0b803e9f51da278682ec49fd8511a6fa70ae9f |
Hashes for devart_access_connector-1.1.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 435f563fabf7fa38315513b5a2bda9fd00b2714a9f1a208dbe9fc6257943de46 |
|
MD5 | cada5c09c7f2b7ed8ac5301bb5d1b960 |
|
BLAKE2b-256 | 1e25f6d5c300031799733c5b021455cbbb746dbacb7aff06624d29f3d1d3160e |
Hashes for devart_access_connector-1.1.1-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f8ab80e1818eae54ac1bc37c63e3ef33a663b0efbd8de3a1a78cdd32ebd6e42 |
|
MD5 | 53e03d20f336f890ea4a65390074b798 |
|
BLAKE2b-256 | 28b68656e56695dfe0115bdf7d84ec8be7c891b42a39fbbb3503b6565834fa7c |
Hashes for devart_access_connector-1.1.1-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d27dfd0077c3880836d41377afe57cbd4ced60c852775982d70e29a2907db00 |
|
MD5 | 4741bdcf0842da1a7376469a4bdabefe |
|
BLAKE2b-256 | 7ca6513ab6d2206856a6a741cc30555eb3ad7c282636e2904ec46dc83d395e6c |
Hashes for devart_access_connector-1.1.1-cp38-cp38-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48fdfa21796c915d708ca14ab6824eaa4fe08a2f05802b9e5516bae1533e4db6 |
|
MD5 | 44d0b42eea8066f874a7ff640d659b29 |
|
BLAKE2b-256 | 7bb2ef83119ce82545b20264b98d220d4c24c6472ace73a2e5a2fccd2230cc41 |
Hashes for devart_access_connector-1.1.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e6c7c9769e3ab1d98b0e9a15a4135f2f83e603a1af3e267280ede2100dec539 |
|
MD5 | 92b8688f3638082171d7ce711ce42d78 |
|
BLAKE2b-256 | df00d01574dbe4fcef32acbdd21cec02cbebb8f1617642bf397e30ba7d5bf07d |
Hashes for devart_access_connector-1.1.1-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a4d4474ca873aa92d51334c18f5d5878ad7b826b0c0d6ae54f87c566993de54 |
|
MD5 | a2e06fd558d7a6e65ea8f5c6cdc045d8 |
|
BLAKE2b-256 | 4fee4dcc097d42dbbacf744eb6bc996dc8a12cd8a77e570b60dbe31674cf6ccd |
Hashes for devart_access_connector-1.1.1-cp37-cp37m-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0095c293a2b8fadb5d7ba9def424d0f1ddd92b5824a3da2fa68d833ecbbc5d7b |
|
MD5 | 980ceb27355366652bb25e5d1ed7ece6 |
|
BLAKE2b-256 | 3b76d284be5b9b86f61c62055871e752d7081614c2628d8f184ad005292b7a6d |
Hashes for devart_access_connector-1.1.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6287a6f18fc56530bac3a1a7109541065ce07d4757e5c209a3160cb906bd58c9 |
|
MD5 | d87dd27036cdd0c18b7f18d410f6f2e8 |
|
BLAKE2b-256 | a5a55709833d2fdabfe53034c17329086696b545555782d430b4d761964847e4 |