Skip to main content

New level of functionality and performance in data access via Python

Project description

Python Connector for Microsoft Excel Online

Python Connector for Microsoft Excel Online is a connectivity solution for accessing Microsoft Excel Online from Python applications to read and update data. It fully implements the Python DB API 2.0 specification. The connector is distributed as a wheel package for Windows and Windows Server.

Standard SQL syntax

The connector fully supports the ANSI SQL standard and lets you execute SQL statements against your Microsoft Excel Online data just like you would normally work with relational databases. Simple queries are directly converted to Microsoft Excel Online API calls and executed on the Microsoft Excel Online side. Complex queries are transformed into simpler queries, which are then converted to Microsoft Excel Online API calls. The embedded SQL engine then processes the results in the local cache and applies advanced SQL features from the original complex query.

Using the connector

To retrieve data from [!ProductNameMix]:

Import the module.

import devart.excelonline as excelonline

Connect to a database using the connect() module method and obtain a connection object.

response = excelonline.signin()
my_workbook = excelonline.getworkbook()
my_connection = excelonline.connect(
    WorkbookId=my_workbook["Workbook Id"]
    RefreshToken=response["Refresh Token"]
)

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 all_types")

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/excelonline/ordering.html

To activate the license, follow the instructions in the documentation:
https://docs.devart.com/python/excelonline/activate-a-license.htm

What's new

Python Connector for Microsoft Excel Online 1.0

  • Initial release of Python Connector for Microsoft Excel Online
  • Added support for Windows 32-bit and 64-bit
  • Added support for Windows Server 32-bit and 64-bit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

devart_excelonline_connector-1.0.1-cp313-cp313-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.13Windows x86-64

devart_excelonline_connector-1.0.1-cp313-cp313-win32.whl (5.3 MB view details)

Uploaded CPython 3.13Windows x86

devart_excelonline_connector-1.0.1-cp312-cp312-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.12Windows x86-64

devart_excelonline_connector-1.0.1-cp312-cp312-win32.whl (5.3 MB view details)

Uploaded CPython 3.12Windows x86

devart_excelonline_connector-1.0.1-cp311-cp311-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.11Windows x86-64

devart_excelonline_connector-1.0.1-cp311-cp311-win32.whl (5.3 MB view details)

Uploaded CPython 3.11Windows x86

devart_excelonline_connector-1.0.1-cp310-cp310-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.10Windows x86-64

devart_excelonline_connector-1.0.1-cp310-cp310-win32.whl (5.3 MB view details)

Uploaded CPython 3.10Windows x86

devart_excelonline_connector-1.0.1-cp39-cp39-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.9Windows x86-64

devart_excelonline_connector-1.0.1-cp39-cp39-win32.whl (5.3 MB view details)

Uploaded CPython 3.9Windows x86

devart_excelonline_connector-1.0.1-cp38-cp38-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.8Windows x86-64

devart_excelonline_connector-1.0.1-cp38-cp38-win32.whl (5.3 MB view details)

Uploaded CPython 3.8Windows x86

devart_excelonline_connector-1.0.1-cp37-cp37m-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.7mWindows x86-64

devart_excelonline_connector-1.0.1-cp37-cp37m-win32.whl (5.3 MB view details)

Uploaded CPython 3.7mWindows x86

File details

Details for the file devart_excelonline_connector-1.0.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for devart_excelonline_connector-1.0.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a58e2a1ad7a3b3ffb48f40b375d7b02301f641218ce9285c7edac793bd0e822c
MD5 212029fe3c61f59852f43f653d3ec67e
BLAKE2b-256 79f74101318b72a4f03839cae1fb56bbacf73cb6cd76625f2cba32c9e25b618e

See more details on using hashes here.

File details

Details for the file devart_excelonline_connector-1.0.1-cp313-cp313-win32.whl.

File metadata

File hashes

Hashes for devart_excelonline_connector-1.0.1-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 06c15b8663da4242377c48bfdf6b574dccb35cdc0be3dd6f4d9bdaf47764cfb0
MD5 9dbc4277bbbaa6fe3c13ff78806d0cba
BLAKE2b-256 7b528116a82884afba8e3fa739b2120def8ca842156fc55d823fdf437185b639

See more details on using hashes here.

File details

Details for the file devart_excelonline_connector-1.0.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for devart_excelonline_connector-1.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 241519caa4ddbc81858fbe3b07249b6f83ee451c566255393761b588c413876a
MD5 30ed23984f473ff648489da65dc7b934
BLAKE2b-256 c8a3fabbab390875788d9ec14ea72c1a7e037b5389c730d866a3d2070611236b

See more details on using hashes here.

File details

Details for the file devart_excelonline_connector-1.0.1-cp312-cp312-win32.whl.

File metadata

File hashes

Hashes for devart_excelonline_connector-1.0.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 6a49bebf69a56c58f2c0f8bf287cd7e5cdbeba3c3b3f36dccd8bbc2793a28b27
MD5 5216e91938599d2b93d831af76552dfb
BLAKE2b-256 b4f7d543a9727405b2d83ae4bd92c1fd6fa3b884bb14bed7df9166101290b9b1

See more details on using hashes here.

File details

Details for the file devart_excelonline_connector-1.0.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for devart_excelonline_connector-1.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 388e501b5fc30f211eeb253c112de72f9eb28d47fda2207e43f2922e334505cc
MD5 85f7b92dce44b6143b022b85cffa4a5a
BLAKE2b-256 eaf97d25083101c35576536801ce333029a70286bcdaa99b7d3c36a0c7e7270b

See more details on using hashes here.

File details

Details for the file devart_excelonline_connector-1.0.1-cp311-cp311-win32.whl.

File metadata

File hashes

Hashes for devart_excelonline_connector-1.0.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 596446f8daa9730bdc092c8253824051b9fd20cc88cbf6eeacab5bee96f49d96
MD5 eac8f081875063740eda38c459e482a3
BLAKE2b-256 bb6eee19258d4494570e3b1b3ff523035b4479709abdb27433d5a27bf26e4d02

See more details on using hashes here.

File details

Details for the file devart_excelonline_connector-1.0.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for devart_excelonline_connector-1.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 bb0bbba809f24824264e4c145efe65a1e44bc67a3aef6d38ec6b6913f2c79d75
MD5 e929a7a296d0e459dda58832cd388e3a
BLAKE2b-256 e7b76a6042a7b277bd52e2b1954f56cdd47b8d480845c712b03ce2e8e6645c0c

See more details on using hashes here.

File details

Details for the file devart_excelonline_connector-1.0.1-cp310-cp310-win32.whl.

File metadata

File hashes

Hashes for devart_excelonline_connector-1.0.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 2682a9b44d2778321b68ff9382bfe9a3aad99c61e806c03cd224036d9744f37c
MD5 f6a84072f7d9757ee8195d481f9ba2ed
BLAKE2b-256 39a52b91d0862ed1a5a5f18ba03a4944de7d8d2d393787d73d41f9517b430ce5

See more details on using hashes here.

File details

Details for the file devart_excelonline_connector-1.0.1-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for devart_excelonline_connector-1.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7bf0410a8dd870f5d276144ecf92654ed69231f5ed789d93efd6d862f88a7e6a
MD5 2c36f5c696112134c85ef764b5df4635
BLAKE2b-256 d258cbcf6ad27f64ae7778461394c03f9d18265000a7df78bc5d707719e9ecc7

See more details on using hashes here.

File details

Details for the file devart_excelonline_connector-1.0.1-cp39-cp39-win32.whl.

File metadata

File hashes

Hashes for devart_excelonline_connector-1.0.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 7eff7dff48bb7b70a5ff3e61ab6990c727a8b1826f531475e85d18b37410b337
MD5 cf888d56dbc05ce68f50f2eda97ffb63
BLAKE2b-256 6fd6c240b3daaa94234ec497b39b59360e3cf0254b82812748c11837845f1cac

See more details on using hashes here.

File details

Details for the file devart_excelonline_connector-1.0.1-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for devart_excelonline_connector-1.0.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 1e5de07663ccac2b019a5b566aa7495fb52e35e43ef82926cdcec0511f77ae9d
MD5 5009db46fd7ad96d2104fba5c4834da2
BLAKE2b-256 58a8c45aa71b304bad76af574d49f28d492ac944a91cf8a750df62dd4bad8c4a

See more details on using hashes here.

File details

Details for the file devart_excelonline_connector-1.0.1-cp38-cp38-win32.whl.

File metadata

File hashes

Hashes for devart_excelonline_connector-1.0.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 1b0099997b6c481e8bf48b4c438e18daa6c15be84ff4f46585b174e2a9f73ca7
MD5 bbfb02a484ffd04d1a09a5a6e26462a4
BLAKE2b-256 18a3a50df8a06e6627b692d9cb65e8a9a0507f3e3151f112bbdcad181e3faf31

See more details on using hashes here.

File details

Details for the file devart_excelonline_connector-1.0.1-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for devart_excelonline_connector-1.0.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 1803ed6d186d8343fd04c4f2e465bc635400124bd235e97164f520e7e05f5f3a
MD5 a11c5e1c0df3705e45c15f64dc525faf
BLAKE2b-256 088992a4224fbb891f2562c6addc0b19aec41363080c8978c88147bd5160495e

See more details on using hashes here.

File details

Details for the file devart_excelonline_connector-1.0.1-cp37-cp37m-win32.whl.

File metadata

File hashes

Hashes for devart_excelonline_connector-1.0.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 8f724d8505a8de64a62234e30dddc70f3efe94eb93b297aa95d925225a73d9d7
MD5 5e26ba41648fe35e44765afd32895ee8
BLAKE2b-256 8efd8a7c8bb6d5281fa77caaffae89080b7176c311668dfbe5f3075ae0274af0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page