New level of functionality and performance in data access via Python
Project description
Python Connector for Microsoft Excel
Python Connector for Microsoft Excel is a connectivity solution for accessing Microsoft Excel, Apache OpenOffice Calc, and LibreOffice Calc spreadsheets 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
Our connector provides the following advantages:
- A direct access to an Excel workbook without installing Microsoft Excel or Microsoft Access Database Engine Redistributable components on the user's machine
- Support for all major desktop platforms: Windows, macOS, and Linux
- Support for the Microsoft Excel 2007-2021 Workbook (.xlsx), Microsoft Excel 97-2003 Workbook (.xls), and OpenDocument Spreadsheet (.ods) file formats
- A read-only multi-user mode that enables several users to read data from a workbook simultaneously
Using the connector
To retrieve data from a database:
Import the module.
import devart.excel
Connect to a database using the connect()
module method and obtain a connection
object.
my_connection = devart.excel.connect(
Database="path_to_workbook"
)
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/excel/ordering.html
To activate the license, follow the instructions in the documentation:
https://docs.devart.com/python/excel/activate-a-license.htm
What's new
Python Connector for Microsoft Excel 1.0
- Initial release of Python Connector for Microsoft Excel
- Added support for Windows 32-bit and 64-bit
- Added support for Windows Server 32-bit and 64-bit
- Added support for macOS 64-bit and ARM (Apple M1 and M2)
- Added support for Linux 64-bit
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_excel_connector-1.0.1-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 791ace350f453ecd365abbb112b0112398f978e87db7adb6d3a23b31b026bea2 |
|
MD5 | f0c44a5d8e69b1d5920058cfe84f102a |
|
BLAKE2b-256 | a722d1b916ce773ecbcc814cd43a3cb8ff2e9e21372f584a69052808931eca81 |
Hashes for devart_excel_connector-1.0.1-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae40906d19d9a850297535f4ed7ab344783457ad3e77afb1676937dac453b0dd |
|
MD5 | a6295f5e96bb64aade063bb425a0c762 |
|
BLAKE2b-256 | d53e0d394158dc736331c00542be80f7bc601d5326037c46b36d824f92282aa8 |
Hashes for devart_excel_connector-1.0.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f37a27ca4c914804c571408af301b91e1a20feab1878bf7ebcf5a3839d4cce7 |
|
MD5 | 08bf6c3656943c927ba96a6b5ace052a |
|
BLAKE2b-256 | 51664fd517f43485054a3d9eac1338f22ca42f45a9375fa506484af56cb5feee |
Hashes for devart_excel_connector-1.0.1-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42f4ef06e735ee82338e62a19f8fd73972bc202ae730a4ba0b59c7c38e1b6602 |
|
MD5 | 5ef195c697c09de6ab78c320024605ad |
|
BLAKE2b-256 | f95e8f4d6bdd97cc0b9bf8981c516d6f6a18d0b28f1219500313b9e9c45e7aeb |
Hashes for devart_excel_connector-1.0.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3b29cc8edc8c18124a5368b238017814b1fd8b4b460fd8817240dea82551602 |
|
MD5 | 896cf9d8b9f9bbc5d8f49ac76eca1d83 |
|
BLAKE2b-256 | 73c8b62330a5b16449f84a5f05d30643cc7b948e97f39ab668f5aae02ed4d708 |
Hashes for devart_excel_connector-1.0.1-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d5c538f33de9e1ad6ae80b8aef72ea0b0e4f77a73641fe331a7912f46f80833 |
|
MD5 | 5246a9bc98154376113077b578c10bd7 |
|
BLAKE2b-256 | 0e553dea9f3fe46156500ab4dd496738022481de6a7a25472018a387be8f4ac3 |
Hashes for devart_excel_connector-1.0.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 776fa29e83b6202680c055bd2875f56ac32faf97a65684c97273e7960e8bc3b5 |
|
MD5 | 7668e6c1b0d4681c93c25cb73a0ef4e8 |
|
BLAKE2b-256 | d8eaf128078f9317f98be71ffe56de2972254f66d39f78e2395b94be90613a51 |
Hashes for devart_excel_connector-1.0.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6dc37e4732ffaa828cefa821846e3ddf4752977a303ddfdeea6e9402593382b |
|
MD5 | de49e04e05ece31145165e5645edc4c9 |
|
BLAKE2b-256 | 80573acbd547ad9cb607dd123a9aa09c55ff5acbd1bee8d34f1594cc5a6b41ae |
Hashes for devart_excel_connector-1.0.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d72545becc15aaf49a1e4ec88ce4108bf85411854f1fce9d1018069e24e5c01 |
|
MD5 | 5c363183cc6e77d276438f6dbc7ec13d |
|
BLAKE2b-256 | 5ace95259eb66631b090f27ffe2b6e7e444857f166e2290feaaf76a81e0d08d8 |
Hashes for devart_excel_connector-1.0.1-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dd5f6dae301a19086811df8721d05f596ec52da7133d3f0c5485dd534e0ff9d |
|
MD5 | d6665e058a56dd7a54c6440735deb1f7 |
|
BLAKE2b-256 | a111010df1930fb8c799a8be2e13bf71b116c0107d8e775da3c5be247cfe5540 |
Hashes for devart_excel_connector-1.0.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d192b9810f648b66bf5abdd8f534e8d0f96ae32d75959e4ee4dcfdccfff4e581 |
|
MD5 | 99fec2009cb9f0ee01b34b15fc1bccd0 |
|
BLAKE2b-256 | fcd1452037e6b4607004d36b4096c56829e410b342fff05f16202bac6f0eb012 |
Hashes for devart_excel_connector-1.0.1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 776ca3abbfaf3f97eb749bfaceed71bd6ca701fed999d2a6759b62e990f90796 |
|
MD5 | 18592012cac7b739007b49eac875895e |
|
BLAKE2b-256 | 9401d454ccc463fbbdf43ee5c716d3793b08c997df4e4e1449c4f9d4e750c163 |
Hashes for devart_excel_connector-1.0.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c61a10ba927ffaba393cad270c2d9a13e352a8997d2c593131d6776875387aec |
|
MD5 | 86b766333d07473dc9376d85991d0d96 |
|
BLAKE2b-256 | 894e2532eb450e0b40253cb5b689a4db5ce2237a8644ef1bbe6e568f9ad87092 |
Hashes for devart_excel_connector-1.0.1-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28e11c9daaccf42cb106c80a19eddea9d66e34e5de34555489d5d83add618365 |
|
MD5 | 3bebce3dfbd427f58ccd209d9993a260 |
|
BLAKE2b-256 | 3af2b76361cb3b74d889f1f33d26eee6386f35a0581590f77974981e07557032 |
Hashes for devart_excel_connector-1.0.1-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14572f060515e1445b958200d12fcaf6afe96cf34477c45ae73dea28e6d2cd72 |
|
MD5 | 6c976f1915cfecf4bc343be2dc680396 |
|
BLAKE2b-256 | 1164f5877d48edfae00bf6118d1d07445e48654853e009f8f4a4acf2b741dd5c |
Hashes for devart_excel_connector-1.0.1-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac3ceee516d800a682ff6cbc47f96da8d7f654ab46cbc6657ce2d90dffc5e325 |
|
MD5 | b6a4b698b1086895bc8a1bac5d14ab6e |
|
BLAKE2b-256 | 60337f2892c6739e158111cc081dac8b3c6a981872c56835a71073dba0a6f698 |
Hashes for devart_excel_connector-1.0.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab0707a2c1ef9e925e253bcfdef6610bae6b97cbefce3c67131b9d54a16c1f53 |
|
MD5 | 7640391a5c0244262160aa6af237046c |
|
BLAKE2b-256 | 0775fab52abf03f6194c4ac558aeef1140f8e8a0f3cea1c79e5763d1063aa46f |
Hashes for devart_excel_connector-1.0.1-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | add9b9bd5e43f872bdde7f189263f0e02fc0e91d084ef3092143246bc2e182c7 |
|
MD5 | 8ac85db00222d63d2e3e64e7730ddae8 |
|
BLAKE2b-256 | ee4ff729bd4b2a8317e58a0fdcbf220190e7d146a6a13082ffe4d8728e1d77e1 |
Hashes for devart_excel_connector-1.0.1-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60d5f2e0c08d3a96f38a68f7c8315564869b1f568f2499e6048eaaeb68bd68b0 |
|
MD5 | c62f88e60a910435ce2e99414e6a5743 |
|
BLAKE2b-256 | 140047ade5b878c75474d701d758d0bd7fd23a653785050f8ddfb787968a59cc |
Hashes for devart_excel_connector-1.0.1-cp38-cp38-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77ca79750147279090eb362444f6029673dff9df84d0cd5b43ef4c02cfa93518 |
|
MD5 | c8c16055aaf0268549f290d231ea4c6e |
|
BLAKE2b-256 | c496f8827095bd13d8bc93eef1c4f94613db27eccce6afaddb8b41a4362d700b |
Hashes for devart_excel_connector-1.0.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 442d6199d25902cab1b51f38872b22f3ef3a8b2ee4f6814425e7142f8a04c6fd |
|
MD5 | f9538067265a9d5915127b19157a57eb |
|
BLAKE2b-256 | b81933a035483aa8dfec54d553d90e34dc8383037d8a3f50bbcad19139927f93 |
Hashes for devart_excel_connector-1.0.1-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66e79949781d87759a7323fe64fd0e6a46d5dbf018d47c645671e83ca6550dd7 |
|
MD5 | 124ab5d174defa6ffe7ee28fcd2ac2a6 |
|
BLAKE2b-256 | cebe89c0a778c7afc6c39de97f1040dc6ed66b094f8d25fd9fbe8d41411208e2 |
Hashes for devart_excel_connector-1.0.1-cp37-cp37m-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c5641f071350f0ee7e734c5d12c7e36011097a01db8643d6080be4bbfed2a4b |
|
MD5 | 63cda8e0aece3b46350bdb221371ae86 |
|
BLAKE2b-256 | f42952ba304df2a499e398b4803ac504077aecec49c2e909ef169b075036e32f |
Hashes for devart_excel_connector-1.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6db80dd872655eb8e9c5cb252650de32bd947011a5b9677d0dad33dc3c2bc66 |
|
MD5 | d592b409b9ba47830c2b760a905520ad |
|
BLAKE2b-256 | dd9ea22907d389462c8892060f949d1f8e11bc7c100da36aff30ea8ea6656a2d |