New level of functionality and performance in data access via Python
Project description
Python Connector for QuickBooks Online
Python Connector for QuickBooks Online is a connectivity solution for accessing QuickBooks Online 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 QuickBooks Online data just like you would normally work with relational databases. Simple queries are directly converted to QuickBooks Online API calls and executed on the QuickBooks Online side.
Connecting
To establish a connection to a QuickBooks Online database, import
the connector and use the connect() method with your connection parameters.
Import the connector
First, import the QuickBooks Online connector module:
import devart.quickbooks as quickbooks
Establish a connection
Call the connect() method and obtain a connection object.
response = quickbooks.signin()
my_connection = quickbooks.connect(
CompanyId=response["Company Id"],
RefreshToken=response["Refresh Token"]
)
Replace the example values with your actual connection values.
Querying data
Once connected to QuickBooks Online, you can execute SQL queries to retrieve data from your QuickBooks Online account.
Execute a query
Create a cursor object using the cursor() connection method.
my_cursor = my_connection.cursor()
Execute a SQL query using the execute() cursor method.
my_cursor.execute("SELECT * FROM employees")
Retrieve results using one of the fetch*() methods.
for row in my_cursor.fetchall():
print(row)
Parameterized queries
You can use parameterized queries to pass variable values to your SQL statements. This allows you to reuse the same query with different data and helps to prevent SQL injection attacks.
Pass parameters as a list or tuple to the execute() method:
query = "SELECT Id, Name FROM Contact WHERE Name = ? AND Email = ?"
params = ["Jordan Sanders", "jordansanders@example.com"]
my_cursor.execute(query, params)
results = my_cursor.fetchall()
for row in results:
print(row)
Each placeholder ? in the query is replaced with a corresponding value from the parameter list.
Ordering and activating the license
You can purchase a license for the connector on the ordering page:
https://www.devart.com/python/quickbooks/ordering.html
To activate the license, follow the instructions in the documentation:
https://docs.devart.com/python/quickbooks/activate-a-license.htm
What's new
Python Connector for QuickBooks Online 1.3
- Added support for Python 3.14
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file devart_quickbooks_connector-1.3.0-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 5.8 MB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
750e8aea4681d374872e2a2e02f55c637106e0f26c8547bf91748f5c5d9ce642
|
|
| MD5 |
62a881b837cf6216cbafe547654933e5
|
|
| BLAKE2b-256 |
3ca30750846ce45ed98ea1a3f6b3a9de5b839022d526551d2833e4c74be70ac6
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp314-cp314-win32.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp314-cp314-win32.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.14, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f358e861552d6e5bb17efa610250543af24f03917a1e089278e88e92b74da1f
|
|
| MD5 |
ddd1012e1740fa0ecba724d81236f063
|
|
| BLAKE2b-256 |
17afdfb0222151e6df4aebec69cdd6f9b18844ef1cdbfd29f3f68eb4382fd149
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 5.7 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67f9320e30c04c7ceddc6532641dfd772102b44299569484a0adcba9fd7711d3
|
|
| MD5 |
7330651f5785128645b1e02025b6cdcc
|
|
| BLAKE2b-256 |
8bbd5389ef4e71de39fb08ebae385f5e39909f95652c6a10ef71a43fc575cfc7
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp313-cp313-win32.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp313-cp313-win32.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.13, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c7df6808e6bf9ba535b12f7e492d095b418c76e29eb031141d5dc9fa59fe485
|
|
| MD5 |
19a688662ed099d31f4b8d4ae51f2aac
|
|
| BLAKE2b-256 |
3c04d4c19e6b011e7f08f6e111f7af46a58faabeb84c8edc8114c26aa2d17b7b
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 5.7 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee770c3205fabe946b45dbc659d20ac2fd1e8fdbb979c907f533f38fd03fc99c
|
|
| MD5 |
2f5bbc18ad7b5264add33fb6313addd4
|
|
| BLAKE2b-256 |
4f8ffef23e6201c905b6b4fccc419370fa45972585290de05b5aa5a983664ec4
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp312-cp312-win32.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp312-cp312-win32.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.12, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ec5607659f80ef659fe3470ef0f081c6a9f7ed82f3957e5bef3e529edb09905
|
|
| MD5 |
3ad436ba43d5a5d4df31dd647205b6be
|
|
| BLAKE2b-256 |
71cbd533ba9086e68b8f8089aba225f630864cfa37489863ae448b63963fe358
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 5.7 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d21b6cc7ee5589882d01f7e8fb66536b32f05d9ad0a862fe9ceb9b5b22cc9fab
|
|
| MD5 |
1a5f09c804459d25a5fc22dc85d7baa1
|
|
| BLAKE2b-256 |
15c77ab2ec6d2255601df335df0f6fe25541735ca5171f554d6f4a29d2d72639
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp311-cp311-win32.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp311-cp311-win32.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4eebea8b99d33961fcfd9404b381cc42e38c325ae5aa0ae9c37ade0ac70bdc9
|
|
| MD5 |
2dd5698fd9dc03849372b06f7d7daef5
|
|
| BLAKE2b-256 |
463930f80ef6485f7fc2e0db98723771d5f98666fc4c81b25388ece88428d3de
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 5.7 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c6ccf6f7760f9d05112178fdb30678585233d60da270f7c62a56ccfa59bd583
|
|
| MD5 |
83abf2d62bad52dc46b3dbe5ba527a6a
|
|
| BLAKE2b-256 |
c4c1aa8ad270d45459dfc030e27b1dff3880a15eb36d20b37bab71e39d30b43f
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp310-cp310-win32.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp310-cp310-win32.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a988e52116922931a0ada995f53cbf0dfbbf6d6cea0f0c8a403c114f6597c258
|
|
| MD5 |
c8c193c695fbe268cded0d2a8fc0d046
|
|
| BLAKE2b-256 |
b5d99ed461fca9422ef12485c6558677313f30fa7a7accc37e778e091ffb3220
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 5.7 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c8bba59ba9465c9e032fb11aa2a552482b990cadaad5bc48f1a517526120ce3
|
|
| MD5 |
10108f7e26c8b0fff6f7242b72f56c8d
|
|
| BLAKE2b-256 |
e444f40eeaba24ecc5f7228bc394032a1a219c3ed665283a59283cebe6b58ffa
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp39-cp39-win32.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp39-cp39-win32.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.9, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11fb25909de5514fbe34a9f0fc374f317744fa6669fc589a68b3c58903727162
|
|
| MD5 |
51c923ea92bfb7a4be311e47201bb08b
|
|
| BLAKE2b-256 |
ee2717e6c61fd33985a5153d9237dc0124c1bb88b64c238d3dcebdc2ed9654eb
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp38-cp38-win_amd64.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 5.7 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
108c51d0f14c5d7f165b4b8f980d34fc0e3dfe6bee7db7f1a329da4bd9267d49
|
|
| MD5 |
8678499011aad26c99a9d4d1d927d470
|
|
| BLAKE2b-256 |
e7c25b4c5d2fdd7ba20f824a5f5c67716f25a7b0bd1c5029c43c0a76a1747411
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp38-cp38-win32.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp38-cp38-win32.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54d9d48ea9d3408ca2bf2fa67fd1ffba9da3af1199a3ce8b4047596edd78b5db
|
|
| MD5 |
8c48e8ec0e75d835a6ae87b2f0364c2f
|
|
| BLAKE2b-256 |
4181008644d9dc5f1eaf95ee418658b843494d71dd27eaa15fa5cdcee28b4944
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp37-cp37m-win_amd64.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 5.7 MB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84773a3cf7a6cc61ae7233db761b0ac02d9cde1b06b9f795d3c5e9e658a278cb
|
|
| MD5 |
54376e3e64dd38c3e0779604ea81957c
|
|
| BLAKE2b-256 |
61cbd3c2b7936b90335d1d1198152470769b6482a987b6a886f50adb9a6c047c
|
File details
Details for the file devart_quickbooks_connector-1.3.0-cp37-cp37m-win32.whl.
File metadata
- Download URL: devart_quickbooks_connector-1.3.0-cp37-cp37m-win32.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c435cf4010bbda59c2b50da8c9b996a0b413b9fbde99b7593c20bdb74f6bdc5
|
|
| MD5 |
59e47799922aedfb996ba730e6b2c47f
|
|
| BLAKE2b-256 |
326a6718660bb0f7c0f869473881f50675db4420e7695282f6405e2b99e9e008
|