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.2
- Added support for Python 3.13
- Added support for accessing Select and Union queries as views
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.2.0-cp313-cp313-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37cc48f1eadaa823de7a94aa1a89495bec2561ca2759e05c3c90bfa8f93d849d |
|
MD5 | c7c80cca6212067f58d524a49f5409d3 |
|
BLAKE2b-256 | c884270141bbb04c6ef8cb33b52d128b1fa138384ff63f515bf396713cf7c23b |
Hashes for devart_access_connector-1.2.0-cp313-cp313-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42150772f60c178b1853369e862a216f8fbb91d02d566470ca2ccd72fc09eb35 |
|
MD5 | fb207ed461b66eafcbed30a38334d178 |
|
BLAKE2b-256 | 21e55fe5bf7fde7ecfc6a7fbfb49c09e567dff53874ef1e4dfdb7aaed195526e |
Hashes for devart_access_connector-1.2.0-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e0ac46f6ccbdeda1565fed3e862e404ac749e9df928a9ef0b4332f65ba66477 |
|
MD5 | d7eaafe1ac49bf0499b5692eaa8e992a |
|
BLAKE2b-256 | bcc9607219cd499703946cd8db74e2a46e60d285d886b85870943bf8a988fd7d |
Hashes for devart_access_connector-1.2.0-cp313-cp313-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1725673bcdcf78ca4a3d0c898f13ea04ca95a9195612730a2be2fdd5b8c2b913 |
|
MD5 | c197ce07bc89c4a725a91c2b0d2f9a34 |
|
BLAKE2b-256 | 63f794523558a67752231d371cdb0ee51c5816c911b47cb45bbb9303c8609937 |
Hashes for devart_access_connector-1.2.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 348896c33b840c9af30a4ba457044c90bd03f4d7e24123177e3de6d2bdcbadde |
|
MD5 | 4bc53d9dc58286fe2743f2792acc4d26 |
|
BLAKE2b-256 | e9804bc8f7b196f3795143497a9db5bac155cff26ded31986c48f5505dcbd67b |
Hashes for devart_access_connector-1.2.0-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6edc0d444e7cd0980d1100daa256ccd440fea5d695d0b8dcba1de3c8b707c7e4 |
|
MD5 | faf0db783532db1e0c3ce1747beb50b8 |
|
BLAKE2b-256 | 10203ea6267bb1541dcbfbf90a12737fabf1474b6fe146a6b9dd34c471c11783 |
Hashes for devart_access_connector-1.2.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77a26ed415fe8d2a27bbb98a28a917a92e6636ffc3b6caa733302ad7eb439a2e |
|
MD5 | a041e591ae3bb02e2bf7e9e5661544c4 |
|
BLAKE2b-256 | 438a79a296b1a7bd9e58f19a87deeb5623cbfae654daaa4b91dea603100ed8bd |
Hashes for devart_access_connector-1.2.0-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d91f722df37c1cd4a6fc0ab51ae7a10218a249b7e7165a5723f3cd2e52a83b3f |
|
MD5 | 4849e18334dddd07f5387325dca32098 |
|
BLAKE2b-256 | 396ead1b06f46810b82518ce3850c452863eb189db95627d421c5fdb2aaa016f |
Hashes for devart_access_connector-1.2.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c84544060a5b903c2571d82d27e2bed48090b71a291554822e11303f1a15c383 |
|
MD5 | a48ffafd18443741fbcca452aaa95198 |
|
BLAKE2b-256 | 980a9f73990de1a88c1d76ded1a1dbd6ab612924809c6a467151df12d8eb61a5 |
Hashes for devart_access_connector-1.2.0-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37936a104f89c84747de157742568bf357f1d83ab62003aaa6bb8b744c08c224 |
|
MD5 | 015aa9eb195caf87228cf2ef18ff845e |
|
BLAKE2b-256 | ea3e5f942b7c27c9b0dfde6476efc05be453e9877f78d948be61e9b0c0bf9223 |
Hashes for devart_access_connector-1.2.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b4a0d54bf2e0650bd31ccb116fe4065f686190154805784bb5bbbb04f937f2d |
|
MD5 | ad317ca6db4b71495ab4f23dcc8fa89c |
|
BLAKE2b-256 | 5b2b950716486f04e3900947bda713d8fe58f6053fc19de6e472ab90b224ebbd |
Hashes for devart_access_connector-1.2.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bdb8a6ade24cdc396016c714e76581187d4e5cb0c1afdcb10b6b5a4f1fc23a4 |
|
MD5 | fde2e0b7ce314b597d4c591816b4bf23 |
|
BLAKE2b-256 | 5fabe09721d902265a6ae6bb15545a167baff7d74ba1e867e967cbef55747a25 |
Hashes for devart_access_connector-1.2.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d388dfee56fe984bd49ff452c3314e3d112a7c756bc14e0fd799be3ca8962271 |
|
MD5 | 3889e54156052d03e4e0d5c34fff4b53 |
|
BLAKE2b-256 | 8b02d7fcf09620ae95efcfa3b237b7cd40703f4148dcb905d8cda4f3560a9f9e |
Hashes for devart_access_connector-1.2.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf817fbc2fd65ef43eac23b14d9e5d92cac3220e2bb89ee6bfd1d4c0125ed89c |
|
MD5 | 56b96228c3f416179dea5da1f07c4fad |
|
BLAKE2b-256 | 9639dd0f16410a96c3c3e202e1560df0975edd0a1cb43cd40c71e227fd7d08a4 |
Hashes for devart_access_connector-1.2.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b1c3718337d52f4b35735ba4cf7cb5eaf66a43a1f28fbf0265d91c1e0d157d9 |
|
MD5 | b14691990bf6514e45e227fa1302db84 |
|
BLAKE2b-256 | 401eb4fa9b6d581b8e6d830b7b7ac42fc57ebeaa184503d4ef6c581d9dfa1781 |
Hashes for devart_access_connector-1.2.0-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcd6ad30aa145b7278f7f4ba72f931b4c21a5c262c4ec6fbe02c1a50f6c0114b |
|
MD5 | fc1535cf9f074d36ae633d86353bdf14 |
|
BLAKE2b-256 | 074793e292f394d322eb9304b995ae158408c78acfa1f193bdad3e855241a795 |
Hashes for devart_access_connector-1.2.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de3649c7501abed2702fda7457b76d8710dcce4cfa4af44c88f8fa842d6fd0e7 |
|
MD5 | 9a3a6de5e9365a5559c1f8e95646e0d8 |
|
BLAKE2b-256 | 3b668f1cd6fa79b7479c73909fe2c084d41e7130dd905397c24862fe94b49543 |
Hashes for devart_access_connector-1.2.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd16abb4726bc2da9a7c3d8e4872992afb8509e250348e41ecf97e423c4b6440 |
|
MD5 | d1bccd3a6c76a1799083a6f1183f1d96 |
|
BLAKE2b-256 | 692f7f1ec5cb0bfd5072922a2871cf1890dae9e4e9013e6b979eda32029ddf0a |
Hashes for devart_access_connector-1.2.0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60ba7acaff88dbe44ea182315ea35705c235bda25df49bd67b961f003de14c6d |
|
MD5 | 3e9c1de1c6b5da7ac2780451d8b5bba3 |
|
BLAKE2b-256 | 19ecd4aa7314f464e5d792610c2af2da27a01f3ccf6108ebe92fb8212686cee2 |
Hashes for devart_access_connector-1.2.0-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ef47ad93e6c6804a145122e729c45869ba97544412fcc1a926e3eb0fceaf5f4 |
|
MD5 | 00f435f28310d49edc8a7bcda379a366 |
|
BLAKE2b-256 | 627a91fa008206ea3095d3a41a4a56c777882de51cb0fa901b554721f699dca7 |
Hashes for devart_access_connector-1.2.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44dcca4e92b17c6120d2be62bf28dc41e509d5aba7719ae2e320d5480ccb0213 |
|
MD5 | de98132fc8554c27974ae90d72e4b70d |
|
BLAKE2b-256 | 7fe26d78e0868a19bfa7b782275d0c90e783e913fe4f348d03a72ab42ccb3eaa |
Hashes for devart_access_connector-1.2.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00538a0925649f14d08561137dc29089d1f0412c62dc388784ab584019dd5566 |
|
MD5 | 48767c15b96469666028532e325d809e |
|
BLAKE2b-256 | 3e3b6839bb46d6b219dcefdd759efca3133ffe0103e6b9d834e2658e2709b204 |
Hashes for devart_access_connector-1.2.0-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 215555019c872932436b92152a2382413a2673b99b72ce759fac2eac07fda44c |
|
MD5 | 0d5e5da5dbbd41533167db6354135557 |
|
BLAKE2b-256 | 04aa775564a9a0db9e650262868160be8ddf338c23ed3327bcba7e4cccd6922b |
Hashes for devart_access_connector-1.2.0-cp38-cp38-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c9c7551b15af87a894848dc70184d3af5e8fe481177c827afce1a165d28bf38 |
|
MD5 | 812fa4324e2bb71380389ad15f914d49 |
|
BLAKE2b-256 | 8658285fcd8d5898f6a787a5de6ed51a05e44b5129e6e4ec2899f619b2a8ca12 |
Hashes for devart_access_connector-1.2.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da37c2795c337a94bbe048662c4a099ae4f4c7058410c0f46d7cbba220e658a2 |
|
MD5 | e56be8b120b835e5a2566dfdf1f70d70 |
|
BLAKE2b-256 | ab8628f41eb43eeb47029a61d60862451edc1b78670348b65774ce0b61284b9d |
Hashes for devart_access_connector-1.2.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c80b3f6827b0e8fe1bd2520754e283ce3bb76a0d388d09968081818d3be625e |
|
MD5 | 574a1046db17644135c977e04f16bdc6 |
|
BLAKE2b-256 | 2b53691839578e7d6d8a655ccf6523912c75222c64c86ed86fff8c0e15e879b6 |
Hashes for devart_access_connector-1.2.0-cp37-cp37m-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dac8b69985e3f5ce7a9391050b75f75dcd0d62cd24dfa293f72381776432ec4 |
|
MD5 | cb63007fd79419def6c0e9e3a6916bd0 |
|
BLAKE2b-256 | f33cd7d60150eff4c3e560d5a302b30654af6fb42261d89ba26631b28d8242d0 |
Hashes for devart_access_connector-1.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67685e59b7dd05565369c36ada4212029970d29d208cbf4ad48649abf5eaecbc |
|
MD5 | 08b22972a0339ec8b00a9c699c8316e8 |
|
BLAKE2b-256 | f414676fa0900774ed16d0fe3674fd31af85e00388fbb794dc5a30d969aa9c5c |