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. Complex queries are transformed into simpler queries, which are then converted to QuickBooks 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 a database:
Import the module.
import devart.quickbooks
Connect to a database using the connect()
module method and obtain a connection
object:
If you have a refresh token and know your company ID:
my_connection = devart.quickbooks.connect(
CompanyId="your_company_id",
RefreshToken="your_refresh_token"
)
If you don't have a refresh token or don't know your company ID:
response = devart.quickbooks.signin()
my_connection = devart.quickbooks.connect(
CompanyId=response["Company 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 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/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.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_quickbooks_connector-1.1.1-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c7e42a91b8c829707b3ecce167423bebb72bd335aa6c216c9748cfaceaf8847 |
|
MD5 | 8b46095e55b3fca09d2f292ce3e6b8fb |
|
BLAKE2b-256 | 40146ad6cfdd3a903c577181d89051c269dd39869a54d724c543fea504c92d3b |
Hashes for devart_quickbooks_connector-1.1.1-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66c12b48b8a90073f7bcb5f833f7e2e957320c1dbd062cfabfbef883f107d9ea |
|
MD5 | b1036a446d4d238bf79e7a469f92da7b |
|
BLAKE2b-256 | e7a49e8ddcd837ab11b36bdf214829a0072920dfce59a1c9d0e1fafcd438ed18 |
Hashes for devart_quickbooks_connector-1.1.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81ee6b9cd000e9199c70595e70cde09d50a1d990f7ce8f168e0b80be2055cefc |
|
MD5 | 3f5cc04ebfb94f624702057cbae049e7 |
|
BLAKE2b-256 | 3fdc3fd19a27f3e550b9c1e7034cad5bcb18ade33bb490c280ba27ea721ea1a3 |
Hashes for devart_quickbooks_connector-1.1.1-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9494f0d964b1664a26cc3b361fc5e44f814f7ff21da1f1af35858d3e677419e1 |
|
MD5 | 011dfca9f037e5764d196b1704613cda |
|
BLAKE2b-256 | 071ab1a07c2295622b5b33c042944338d8c3c91dcec9f106f713f19e320f5011 |
Hashes for devart_quickbooks_connector-1.1.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f37611f6dc9eaef16fc7314c8a889969b82551854e80fc6cabe5188af12a65a |
|
MD5 | 6a3c80222e3dc51f68cfd59c35e9cae2 |
|
BLAKE2b-256 | 85c263d5eee5dfb8b1a7892a0c411db836474d79c807cb0176ccc1eb8257acd0 |
Hashes for devart_quickbooks_connector-1.1.1-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95fb87aaa8b13abc05fec8ff55939453b808a9a624a5caf9fd3a433d4317b2ba |
|
MD5 | 6c5a83a8d8ff667f8f406121262e2e6f |
|
BLAKE2b-256 | 1d06223b70d91a7847ceb6e0d9962f696c76c63e715b11a4c98d1778f91f9f4c |
Hashes for devart_quickbooks_connector-1.1.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac90cb03af687fe29a8462ffa89b19bf6053bf99f5d176e93e380be9ae705780 |
|
MD5 | 979eacbc3e13eb2ff19d943ab38cf776 |
|
BLAKE2b-256 | a83ea2a82fc1ed3f876807263d1df451db93c8bd0d739a25976b5e9257a7ff9f |
Hashes for devart_quickbooks_connector-1.1.1-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a971337d50bcfab49854420fce3725afa4644bdb392ded5d1c4af5d47ff5440 |
|
MD5 | 99b7eb0340ab26dae613c9ecdaa4101e |
|
BLAKE2b-256 | be6c2adc42297748317c74ced20ffef902434f7bc02bf4cb0ca64a3558bb2713 |
Hashes for devart_quickbooks_connector-1.1.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3900cf803a25fec3012cd34a889dd1460a37f1196ed2cb6b79098affcc69132 |
|
MD5 | eaf15f338e6f9cb4cc5198034a4db726 |
|
BLAKE2b-256 | 1f88024340010f8cb66e3ca69ee92dc995ec35871d083829000a8a653831c77c |
Hashes for devart_quickbooks_connector-1.1.1-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b42c0156d7e4e810934058bf7062e110db6c39dc6ea3e1f9c23a2eb9c9dd0a16 |
|
MD5 | 18ffe5e8c2e37e099b6a9d60228ac036 |
|
BLAKE2b-256 | 80223a4d93ff200b2268409ebe57bc43a9e9e3c2976ede3da16dac0d6b7e9b75 |
Hashes for devart_quickbooks_connector-1.1.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87a219331ad63aa557b73478cade8e76afd80ff111a94c71a4dfe3734b565c09 |
|
MD5 | c32c8e62a08d3e6bb72bd729a4c4c9e7 |
|
BLAKE2b-256 | d661382b5f06b536807e841aefbecdf471de7ee932e90bad1beb1855544c39e9 |
Hashes for devart_quickbooks_connector-1.1.1-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7ee397db8bbdaa40a198516f005acb46d8d2d50bc14493ff5cb8d427041fc43 |
|
MD5 | 6ae156eff8e9e2f0207a197b8fc52662 |
|
BLAKE2b-256 | 75bb171e8c2300ddbec4441f45d5db739417ca3d31395d9547c25cf5681ad2ff |