Python Connector for BigCommerce
Python Connector for BigCommerce is a connectivity solution for accessing BigCommerce 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, macOS, and Linux.
Standard SQL syntax
The connector fully supports the ANSI SQL standard and lets you execute SQL statements against your BigCommerce data just like you would normally work with relational databases. Simple queries are directly converted to BigCommerce API calls and executed on the BigCommerce side. Complex queries are transformed into simpler queries, which are then converted to BigCommerce API calls. The embedded SQL engine then processes the results in the local cache and applies advanced SQL features from the original complex query.
Connecting
To establish a connection to BigCommerce, import the connector and authenticate using basic or OAuth 2.0 authentication.
Import the connector
First, import the BigCommerce connector module:
import devart.bigcommerce as bigcommerce
Establish a connection
Connect to your BigCommerce store using the connect() module method and obtain a connection object.
You can connect to BigCommerce using either basic authentication or OAuth 2.0 authentication.
Basic authentication
For basic authentication, provide your BigCommerce server URL and authentication credentials:
my_connection = bigcommerce.connect(
Version="Ver2", Authentication="Basic", Server="your_bigcommerce_url", UserId="your_username", AuthenticationToken="your_auth_token"
)
Replace the example values with your actual connection values.
OAuth 2.0 authentication
For OAuth 2.0 authentication, provide your OAuth credentials:
my_connection = bigcommerce.connect(
Version="Ver2",
Authentication="OAuth",
StoreId="your_store_hash",
ClientId="your_client_id",
AccessToken="your_access_token"
)
Replace the example values with your actual connection values.
Querying data
Once connected to BigCommerce, you can execute SQL queries to retrieve data from your BigCommerce data.
Execute a query
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)
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/bigcommerce/ordering.html
To activate the license, follow the instructions in the documentation:
https://docs.devart.com/python/bigcommerce/activate-a-license.htm
What's new
Python Connector for BigCommerce 1.4
- Added support for Python 3.15
Metadata
Release files for devart-bigcommerce-connector 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 1.1 GB
Release files / devart_bigcommerce_connector-1.4.0-cp315-cp315-win_amd64.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp315-cp315-win_amd64.whl |
|---|---|
| Size | 38.5 MB |
| Tags | CPython 3.15 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9e5eca058784ff4babb7ade15bbbed35bf36096aa2dc2249f52bc9ac7053cb6d
|
|
BLAKE2b-256 checksum How to use checksums |
4ad0d4ee5a85bae9e8551d131cf17a964b9e0f1e93c689d4314c7885e7fa278f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp315-cp315-win32.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp315-cp315-win32.whl |
|---|---|
| Size | 35.1 MB |
| Tags | CPython 3.15 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
f1f7319f1dbc0f12059564bf257202cff2262007c5e1b1d321ba1a65d2eee66b
|
|
BLAKE2b-256 checksum How to use checksums |
7281677ba5dbbcb9a4cd3edf6102860f15acf038d760aae1e48187b18b7de475
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp315-cp315-manylinux_2_34_x86_64.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp315-cp315-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 36.2 MB |
| Tags | CPython 3.15 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
0fc72c9d0e0324db0c0bc4a355684bfb10c3c0f95a33138158d626857d402043
|
|
BLAKE2b-256 checksum How to use checksums |
468567ae26d363818b9c83a8af922fba352996a0fc42c2186e89488b4fccafca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp315-cp315-macosx_10_9_universal2.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp315-cp315-macosx_10_9_universal2.whl |
|---|---|
| Size | 69.7 MB |
| Tags | CPython 3.15 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
edca64d2cd0a142d675deb6d2ebb9943cbef8d1ff5678352a3b4954ff41302d7
|
|
BLAKE2b-256 checksum How to use checksums |
205c02acdd72927f52065fc7e9251ab5872527b433dbbfafcd95e5eb8024fb7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp314-cp314-win_amd64.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 38.5 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3c7ec56b87f58274e2386d107bef6b463b87216e087096c739ebea4709633e2a
|
|
BLAKE2b-256 checksum How to use checksums |
3274ab498624b8b7d70ab2a75e2fc10ca786fbef32a37447ef935c1c8bad6b4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp314-cp314-win32.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp314-cp314-win32.whl |
|---|---|
| Size | 35.1 MB |
| Tags | CPython 3.14 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
0d3ba16b25608d311e948632a473130d36728916212992f05a02eb4f7ce3d6c2
|
|
BLAKE2b-256 checksum How to use checksums |
8cf2fd612ab5766a956ebe81b25df7b8a4814343138ff9177952fd8cee335fa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp314-cp314-manylinux_2_34_x86_64.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp314-cp314-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 36.2 MB |
| Tags | CPython 3.14 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
f303804d9d297c7e6eb1b4c613653562e1633a5a403942a86fabd0ba7550abf0
|
|
BLAKE2b-256 checksum How to use checksums |
9b33fc13f2f6c2e90aaf841ef785f9ee2d120b22471bbe08d25ccbce405265a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp314-cp314-macosx_10_9_universal2.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp314-cp314-macosx_10_9_universal2.whl |
|---|---|
| Size | 69.7 MB |
| Tags | CPython 3.14 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
1d702b67a0bcefb4c6af07e52cafefe6f625556950b745c5e2c57ed85f4d1df1
|
|
BLAKE2b-256 checksum How to use checksums |
13b37f01e09cfe09aa50757c3d59278779a9dc1b2658ee27e45d7d6f11776f0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp313-cp313-win_amd64.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 37.4 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e9a94167b1c65556f4248ce7507f5bd219faef2a6b194b0ff8b14fc06c34bc40
|
|
BLAKE2b-256 checksum How to use checksums |
b4f8bbf74e1dd9d966c380a2bdb478072c3e64903a3376d749c6d7e34681211b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp313-cp313-win32.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp313-cp313-win32.whl |
|---|---|
| Size | 34.2 MB |
| Tags | CPython 3.13 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
bfc8b8b8dfba00e0155403a3da842d977e3d62a71bd6dbae1b05a03656f89d90
|
|
BLAKE2b-256 checksum How to use checksums |
950c58264f50a3c7d624dbcaee7ffb708df083ca8c11d2c0e69f0d42d39a48e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp313-cp313-manylinux_2_34_x86_64.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp313-cp313-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 36.2 MB |
| Tags | CPython 3.13 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
d8eb2e7383fa946ddf0560402c7b04f57b9e1eb904c94e754d2475125d497f0e
|
|
BLAKE2b-256 checksum How to use checksums |
41aac12aa69abdf79fd4341631346d88f17ec94b2c94bc6165dafd11591f8dd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp313-cp313-macosx_10_9_universal2.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp313-cp313-macosx_10_9_universal2.whl |
|---|---|
| Size | 69.7 MB |
| Tags | CPython 3.13 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
5c43441e29a180232979e511c83ada26ee7c6e679eaf6a1a9a8a81015ede9fc7
|
|
BLAKE2b-256 checksum How to use checksums |
30c0eb80d89a63ab5e451513e4197c83db1f27c51fd366a04fc07e26e4d8c5ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp312-cp312-win_amd64.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 37.4 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
802341917db5c876fe26b8de13e48e16a289fbd73ddb0aa24dafe1b894be233c
|
|
BLAKE2b-256 checksum How to use checksums |
c83aa245bbbcf163c77128385563c4a8edf1ef106fbb525bb8001590380e410e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp312-cp312-win32.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp312-cp312-win32.whl |
|---|---|
| Size | 34.2 MB |
| Tags | CPython 3.12 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
0cc10c8f9d842944c2c4e934bf33cedf0fc76ece5bdb67e105941871f6933c6b
|
|
BLAKE2b-256 checksum How to use checksums |
d39c3518f7e37a04fff7a3051a0038d489d6b37763fa42ff942425e6cc27f55f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp312-cp312-manylinux_2_34_x86_64.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp312-cp312-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 36.2 MB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
5eea7248c757e7cb3612383eb22aaae934a071ddad57507f0b064745b23a9543
|
|
BLAKE2b-256 checksum How to use checksums |
b1b8b5bc1e99b2c6b577d4c24f523a8e9babdc1b0705d4583bdad3456d66de90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp312-cp312-macosx_10_9_universal2.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp312-cp312-macosx_10_9_universal2.whl |
|---|---|
| Size | 69.7 MB |
| Tags | CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
dedffa52c13a5e2f995e9b4db8ced1a847d0776d611a8f9b5463ce50ae996c90
|
|
BLAKE2b-256 checksum How to use checksums |
ad30626afcd096ca2b3a086e89143ddfd4f7c2414e444cead097e1c98b8b0adb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp311-cp311-win_amd64.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 37.4 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d2df22f718491f52356bcd940487a2d0a066f94ac77167287286bbf3e9466672
|
|
BLAKE2b-256 checksum How to use checksums |
82d6549eed73120485eeb21d143d140dface3e24ba95f5beb0ad66e19f9b0496
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp311-cp311-win32.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp311-cp311-win32.whl |
|---|---|
| Size | 34.2 MB |
| Tags | CPython 3.11 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
53ff343540897f13a154e43b91b987dd3f4fda7163b88ca1afb1e6fa5be9d63b
|
|
BLAKE2b-256 checksum How to use checksums |
1b91e6f921a0ec9e078308c5d17660fbe412b23b1366d8dce132cce669c90c65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 36.2 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
199fa897ebf062638c28be6b832c2b9a393ffcb39063397a8aa49953a853da09
|
|
BLAKE2b-256 checksum How to use checksums |
ed2c255e59880aec22330f532d34c7f2aa8139551082240ae32a75aaa9e84d95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp311-cp311-macosx_10_9_universal2.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp311-cp311-macosx_10_9_universal2.whl |
|---|---|
| Size | 69.7 MB |
| Tags | CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
4a9b3b03b227c712e6c19e0ffc0f91f7f084917621a6a7c99ba11e779d734280
|
|
BLAKE2b-256 checksum How to use checksums |
66d7528966a6238a7f1bc7236ca752e190130060afd14c44c6065bd2e32acb6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp310-cp310-win_amd64.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 37.4 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
52828c1377a4b48ff4d0b908dcdc8739af7e4f2787a0d2c476335988aed82fcc
|
|
BLAKE2b-256 checksum How to use checksums |
a69d88f462d2a42a4950e9ee72092a2fd62425c770219c31b4e061321245a681
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp310-cp310-win32.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp310-cp310-win32.whl |
|---|---|
| Size | 34.2 MB |
| Tags | CPython 3.10 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
d4f5bffb26b45d28720c136f08e300df86e6499e62ca7e2619b63203570b0dd7
|
|
BLAKE2b-256 checksum How to use checksums |
e81e945f10c2136a05990dba7fa63ea9bc831687b6dea77b592873b2d9c0e1d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp310-cp310-manylinux_2_34_x86_64.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp310-cp310-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 36.2 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
858ba387131e205e6944bc546ed46461987dcd5a85e2f037cfa12b8fd88f2f5d
|
|
BLAKE2b-256 checksum How to use checksums |
7136c40d27d713d145a2bd274e4868e2dee379fb67c7dd73214519f2245f24a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / devart_bigcommerce_connector-1.4.0-cp310-cp310-macosx_10_9_universal2.whl
| Download URL | devart_bigcommerce_connector-1.4.0-cp310-cp310-macosx_10_9_universal2.whl |
|---|---|
| Size | 69.7 MB |
| Tags | CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
356fe773006fc732dd9cd1b20500d59674c52efc5ce8d26087ab79b11f754260
|
|
BLAKE2b-256 checksum How to use checksums |
76827745c5f53a9257798d59eaa5ab69d1b1b0432fb2e7d7db71c38d1527d78b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Security for devart-bigcommerce-connector 1.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.