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.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67c8a5450e3ca463c73fed55257f3555c1c3e896e04644a9570ef8123f576718 |
|
MD5 | b207617dc274ab4ce51b774506f80ba2 |
|
BLAKE2b-256 | 48451f8c40ac300073db8a878cb2f07e4ff0b61e068f006c88d2dbaddba9d116 |
Hashes for devart_access_connector-1.1.0-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f554d77bfff42dc85e710b03fc023de91ed9b9069702f2b4f9c9fc8a0188faa |
|
MD5 | 3e9ec202aab9dc40a221d9c08f970315 |
|
BLAKE2b-256 | 13c397e77846f4697a182fa74343174d19a86a0f53ef22c90859f4d0858b9855 |
Hashes for devart_access_connector-1.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f147edc86f8ae93665b154ebe05987778cba2d52084953c6a5401841d9c24f0 |
|
MD5 | 64708091fd248ca1b0cb509fe7a842f6 |
|
BLAKE2b-256 | 436a973f8e841400d44298941a997b6ca76ea90429aba48da1c8f2680c5b39df |
Hashes for devart_access_connector-1.1.0-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a869f4a30772b44f850629c6bb4912dddd80ebe79c8de5ccc58c76941d4509f |
|
MD5 | b1b0952dfd1b39e7f1b0ec8d854025f1 |
|
BLAKE2b-256 | 4438e9d56528de9b4b09f8505d8f84980d72d929fdf7b9307b033da53141f74b |
Hashes for devart_access_connector-1.1.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0e4f733baeaec4e546562490b9dea0317cc4e24e94a2125300ae94b41804e14 |
|
MD5 | 4d012baa228b9be1db736dfc64ef5fe3 |
|
BLAKE2b-256 | ca09ffb2fc731e005cd21d3031aa1f6a97e70f1aebd3af53a53975c607c01417 |
Hashes for devart_access_connector-1.1.0-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 905e056e7461be2dc9e3708a813988056b383ba72410c786cd2ebbcda78e0db4 |
|
MD5 | 037510afec44c1f6a1594de9847a63a1 |
|
BLAKE2b-256 | 71377f1282d5113ba2a4e8ef2469c4e3d70d95cc12363bfd1ebb3896029a0994 |
Hashes for devart_access_connector-1.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ac184600e310ef54e6291e17e0175a9088bb224b398b1f35168f2951dbe8450 |
|
MD5 | a7d2aa072d3ac0778967e2471187fe53 |
|
BLAKE2b-256 | 8882b6577d95e92148500507519d734d3a04475c6c9c32006259e1d8d12a6d84 |
Hashes for devart_access_connector-1.1.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4afd30da135b42c259f917e1ea341508100597703a9a3018292b11f4be8674f |
|
MD5 | b5c73acc7555cdd83ee6bcc892a378a3 |
|
BLAKE2b-256 | 82d068c136427641cc0fda5841c5aff5221d3f14d7091d089276fa85da2975bc |
Hashes for devart_access_connector-1.1.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ced949538aabfb272ea749235972f2868c14976351e4775d07b76df140e744b |
|
MD5 | dbd163ff89206952c43bb89b1a9cb92f |
|
BLAKE2b-256 | 5ae20036b70e13e46ec22190ffe02055590b98e2e944d05cd7ae50770d541496 |
Hashes for devart_access_connector-1.1.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5cc4c46b1082d94491d0a2df6db246656e5c2c73bd23bf7ce0ceb036a1b9afa |
|
MD5 | e03b70fc7bbcee756f85982836b0d61f |
|
BLAKE2b-256 | 7fe293ac157f79c28a73a14b4771e974c59a672d917b0c5bfb0a8f8f918f68a6 |
Hashes for devart_access_connector-1.1.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3422cec91d6563b1c47403aa11b688f401c6a1adca17cd2cdc45e718d8579366 |
|
MD5 | cc61d06c1bc6e357a6e830397f15e354 |
|
BLAKE2b-256 | 4f6755473c599ec0c20cc6c7bec30ece2a92d7ffb061c613aa5ba2c23bdfc5ea |
Hashes for devart_access_connector-1.1.0-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2e5dfd45a22ffa659b2f709ede98a6c6d02df4473f3bc6310e58eb7844b2542 |
|
MD5 | 450738e0ed1084fa07c4708fee2da6cb |
|
BLAKE2b-256 | f3bb883badc34c0690b757ffac0b9cf5caa62231ac8a48fcb300507957427fc6 |
Hashes for devart_access_connector-1.1.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2e8a9d8c3efc84d870e0b00eca4d2b8606af391a9b5777c2aacd5812f63377a |
|
MD5 | 5dfe14231483d698030c52484fb04593 |
|
BLAKE2b-256 | f1cc8beb38b4a6ac38fc08229b9f7f00aa060b3f8537b10fd672b24e56641570 |
Hashes for devart_access_connector-1.1.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96e53150e6a6033ab8470e5e7fac101577d381ad02c024d3f3af1dc7152f3b69 |
|
MD5 | f2517145ca9adaacf25b082e08a2a47b |
|
BLAKE2b-256 | 908fe618b923cc6eca8b10741cfccb48327b329931c15f3124a210b843e17177 |
Hashes for devart_access_connector-1.1.0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4435bbe176436cceab36ccebd50b9d6130a54e093346592bc44be9d811ac7be8 |
|
MD5 | 687a53718daf995d658ec998191be4e0 |
|
BLAKE2b-256 | fbd8ba52bc80c137bdb9b9806acc9688addf34b6bc5a89180b7879a382ac7f57 |
Hashes for devart_access_connector-1.1.0-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4ff1d07fe04e494c4d80c2a22ea7e870ecdce5171020382f6004e9b91afbd62 |
|
MD5 | e46f12a50aa12e8807e3ddc0afc5cad3 |
|
BLAKE2b-256 | d2466fed5591b97ef74d62d5de4c671a23becb1353feb9ac81db56d914b2fcc4 |
Hashes for devart_access_connector-1.1.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce17d910cb767a2210c1ce07c05e46d78b513834d85fec95aa9a93ca4973db09 |
|
MD5 | 0dc6e9dd8a5b219ffcacd6ee3103f47e |
|
BLAKE2b-256 | 65ca13ac659957398374bbbad3753af585aaec0ec35ab5510a21defd94723995 |
Hashes for devart_access_connector-1.1.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edc81412dce479ba393d365e8ef748fe6470f4d6d9a252e369fcfff7a2d2341a |
|
MD5 | 370662466cb0efcc381e155934c4db38 |
|
BLAKE2b-256 | 64896ed95dccc6e7b9fbff34c4c14145e3d1884e9a0dd66dbb70dade4e9da27c |
Hashes for devart_access_connector-1.1.0-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98e0a84bfd57c3fa8aab2832380d5d05d74890b78deb3234856d362e555ceaa0 |
|
MD5 | 36a70473c73dbcc52788ed102c2c8ccb |
|
BLAKE2b-256 | a655dcb0d551aed73dd388ae14faa00b89638c4da72cbf0a1f687eb94d48706c |
Hashes for devart_access_connector-1.1.0-cp38-cp38-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72fc19ebe0115542baa14ca7c708f848724a6f7158cd7db006135439bdea018c |
|
MD5 | e322039691b0ec0878570ba9c0d84a05 |
|
BLAKE2b-256 | b4aaee75d4330896d97307fc7c320d6c7760ddf17f48fe752bff23bd0e46167a |
Hashes for devart_access_connector-1.1.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf0a73f4f84e484e90bc8b7f255644b9e0f3561520d3cfa4a7d5f65e5650ef4c |
|
MD5 | a6eb909a80a4ecab5b395dade20dee49 |
|
BLAKE2b-256 | f1c65a7873dde30b508a6562a49fe124237785297ad9f8b0eb108f1cbfd92ed0 |
Hashes for devart_access_connector-1.1.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0df80982565607f859d1ed8ba74cf0423c1892e3760c0f41becdf6783ca5305d |
|
MD5 | f1c901adf44f94b78442319cace51ff3 |
|
BLAKE2b-256 | cdc5c6989c0a2def003ece087376b745df342ceaa5957ae3d6ee27badf42893b |
Hashes for devart_access_connector-1.1.0-cp37-cp37m-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b527a187dace668a1afa0dabd6f10029b572989bf369a62b9ce7efcaeb2fc4a |
|
MD5 | 7edd371c52296c4d8577ea870d1eeeee |
|
BLAKE2b-256 | 83c3ba487b8097d4756febe8a35e9f96538d026a5379925d1153d3a243a07c73 |
Hashes for devart_access_connector-1.1.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f33be7f995768cd47696564b16cbf4d77eeb66455a7f41407833cd2d4b94de99 |
|
MD5 | fa42979b9fc5cc5ff0296600b7d896d6 |
|
BLAKE2b-256 | 4cb49e418370729af55adb069bdbbd3100267a06f5c7aad8f7fa925c49955352 |