Skip to main content

Python Connector for Zoho CRM

Python Connector for Zoho CRM is a connectivity solution for accessing Zoho CRM 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 Zoho CRM data just like you would normally work with relational databases. Simple queries are directly converted to Zoho CRM API calls and executed on the Zoho CRM side. Complex queries are transformed into simpler queries, which are then converted to Zoho CRM 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 a Zoho CRM database, import the connector and use the connect() method with your connection parameters.

Import the connector

First, import the Zoho CRM connector module:

import devart.zohocrm as zohocrm

Establish a connection

For Zoho CRM, authentication is performed using OAuth 2.0. First, obtain a refresh token with the signin() method, then use it to connect:

response = zohocrm.signin(Domain="your_zoho_domain")
my_connection = zohocrm.connect(
    Domain="your_zoho_domain",
    RefreshToken=response["Refresh Token"]
)

Replace the example values with your actual connection details, such as your Zoho domain and refresh token.

Querying data

Once connected, you can execute SQL queries to retrieve data from your Zoho CRM 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/zohocrm/ordering.html

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

What's new

Python Connector for Zoho CRM 1.4

  • Added support for Python 3.15

Metadata

Release files for devart-zohocrm-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)

Table of built distributions (wheels) for devart-zohocrm-connector 1.4.0
File Actions
devart_zohocrm_connector-1.4.0-cp315-cp315-win_amd64.whl CPython 3.15 CPython 3.15 Windows x86-64 Details for devart_zohocrm_connector-1.4.0-cp315-cp315-win_amd64.whl
devart_zohocrm_connector-1.4.0-cp315-cp315-win32.whl CPython 3.15 CPython 3.15 Windows x86-32 Details for devart_zohocrm_connector-1.4.0-cp315-cp315-win32.whl
devart_zohocrm_connector-1.4.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for devart_zohocrm_connector-1.4.0-cp314-cp314-win_amd64.whl
devart_zohocrm_connector-1.4.0-cp314-cp314-win32.whl CPython 3.14 CPython 3.14 Windows x86-32 Details for devart_zohocrm_connector-1.4.0-cp314-cp314-win32.whl
devart_zohocrm_connector-1.4.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for devart_zohocrm_connector-1.4.0-cp313-cp313-win_amd64.whl
devart_zohocrm_connector-1.4.0-cp313-cp313-win32.whl CPython 3.13 CPython 3.13 Windows x86-32 Details for devart_zohocrm_connector-1.4.0-cp313-cp313-win32.whl
devart_zohocrm_connector-1.4.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for devart_zohocrm_connector-1.4.0-cp312-cp312-win_amd64.whl
devart_zohocrm_connector-1.4.0-cp312-cp312-win32.whl CPython 3.12 CPython 3.12 Windows x86-32 Details for devart_zohocrm_connector-1.4.0-cp312-cp312-win32.whl
devart_zohocrm_connector-1.4.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for devart_zohocrm_connector-1.4.0-cp311-cp311-win_amd64.whl
devart_zohocrm_connector-1.4.0-cp311-cp311-win32.whl CPython 3.11 CPython 3.11 Windows x86-32 Details for devart_zohocrm_connector-1.4.0-cp311-cp311-win32.whl
devart_zohocrm_connector-1.4.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for devart_zohocrm_connector-1.4.0-cp310-cp310-win_amd64.whl
devart_zohocrm_connector-1.4.0-cp310-cp310-win32.whl CPython 3.10 CPython 3.10 Windows x86-32 Details for devart_zohocrm_connector-1.4.0-cp310-cp310-win32.whl

Total release size: 69.6 MB

Release files / devart_zohocrm_connector-1.4.0-cp315-cp315-win_amd64.whl

Download URL devart_zohocrm_connector-1.4.0-cp315-cp315-win_amd64.whl
Size 6.0 MB
Tags CPython 3.15 Windows x86-64
SHA-256 checksum
How to use checksums
ce864f0071dab2dce9b86149ead999cb4ac5935e21e05260d3e4259d206cd18d
BLAKE2b-256 checksum
How to use checksums
29ed5b7a62fb1223f2f3dd100857ed19c6bc793e9fcd4d97cace487c01be51b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.4

Release files / devart_zohocrm_connector-1.4.0-cp315-cp315-win32.whl

Download URL devart_zohocrm_connector-1.4.0-cp315-cp315-win32.whl
Size 5.7 MB
Tags CPython 3.15 Windows x86-32
SHA-256 checksum
How to use checksums
8b232860c9ba5eb2dc0382d3d7651e86552451ef3a0cd4492f304618ab9ec723
BLAKE2b-256 checksum
How to use checksums
c952285213ced9daf42ca25e35f701ef1c85ac272b76488888ca6ab67a5ee6fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.4

Release files / devart_zohocrm_connector-1.4.0-cp314-cp314-win_amd64.whl

Download URL devart_zohocrm_connector-1.4.0-cp314-cp314-win_amd64.whl
Size 6.0 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
83b4e4a806c5a7c32cf897c49a14871c6f55e637d413e392e6a0c5b3e729be85
BLAKE2b-256 checksum
How to use checksums
d3e06faf611a3cbcc4392d59f013223645123297f45ccc9e23c0235b93857cc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.4

Release files / devart_zohocrm_connector-1.4.0-cp314-cp314-win32.whl

Download URL devart_zohocrm_connector-1.4.0-cp314-cp314-win32.whl
Size 5.7 MB
Tags CPython 3.14 Windows x86-32
SHA-256 checksum
How to use checksums
3047a9dc6ef6aa8fc885c2f480b74ffd87da34f798afe93e6bd2ed5586fc316c
BLAKE2b-256 checksum
How to use checksums
c473aa084959b1ef712d266e64f3ef7744ca63c82a63f37193303030c77729f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.4

Release files / devart_zohocrm_connector-1.4.0-cp313-cp313-win_amd64.whl

Download URL devart_zohocrm_connector-1.4.0-cp313-cp313-win_amd64.whl
Size 5.9 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
f288ba1ac667820258e18ea32c426db6bf22110bcaeb47ae0ab980b750b4a73a
BLAKE2b-256 checksum
How to use checksums
4ff1fd1d6cf3f42cfe3e736af5a0d912c8feec3c0a3befc49b34225451a22d3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.4

Release files / devart_zohocrm_connector-1.4.0-cp313-cp313-win32.whl

Download URL devart_zohocrm_connector-1.4.0-cp313-cp313-win32.whl
Size 5.7 MB
Tags CPython 3.13 Windows x86-32
SHA-256 checksum
How to use checksums
0592a062b67c7f1dd1a9a066453eed06d70d24469095a025d0c7e808e5ee69f2
BLAKE2b-256 checksum
How to use checksums
c25410664cd68ba3d2dae6bc0cc087dc54a4a1e0608b5b62a5f2956409184636
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.4

Release files / devart_zohocrm_connector-1.4.0-cp312-cp312-win_amd64.whl

Download URL devart_zohocrm_connector-1.4.0-cp312-cp312-win_amd64.whl
Size 5.9 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
409b229cb75e1b70fac457c4b1d4d2d594663a1bd9c5beca85bca038908eadda
BLAKE2b-256 checksum
How to use checksums
bcfb9c4b2643fa9066eb8c90faa58e2a65bcb79e3ea3e86327ad178de62954ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.4

Release files / devart_zohocrm_connector-1.4.0-cp312-cp312-win32.whl

Download URL devart_zohocrm_connector-1.4.0-cp312-cp312-win32.whl
Size 5.7 MB
Tags CPython 3.12 Windows x86-32
SHA-256 checksum
How to use checksums
a400a1b0debdbd5304261dadc59e3ef24fb60c97a621590ab79b0216a1e4be7e
BLAKE2b-256 checksum
How to use checksums
cf9e46b6d3804ea78cdae981e41c25acafc51701820a01fc9654bffa1db60ef0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.4

Release files / devart_zohocrm_connector-1.4.0-cp311-cp311-win_amd64.whl

Download URL devart_zohocrm_connector-1.4.0-cp311-cp311-win_amd64.whl
Size 5.9 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
2b7e12786d76e4ed8aa5967f380f7b520a8856f20dd2bb3373b9c134ec6f429d
BLAKE2b-256 checksum
How to use checksums
df4265fbe5b7121842eea6d3121d908742434c0747603294816dc6fbbc941d34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.4

Release files / devart_zohocrm_connector-1.4.0-cp311-cp311-win32.whl

Download URL devart_zohocrm_connector-1.4.0-cp311-cp311-win32.whl
Size 5.7 MB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
d94be48a6db720b53318f3ad1a60b4365f9d2b2080280827ebf0ec2894a36579
BLAKE2b-256 checksum
How to use checksums
ad2f464d7624bef90187c3a39d27dc8c83e1dbe9b82be3f2573c2f71a92f3f55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.4

Release files / devart_zohocrm_connector-1.4.0-cp310-cp310-win_amd64.whl

Download URL devart_zohocrm_connector-1.4.0-cp310-cp310-win_amd64.whl
Size 5.9 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
9070c17c8ee03f8c6fd4f4bb8b776855a748dfe123d0e70c537cbe0267e1d0ba
BLAKE2b-256 checksum
How to use checksums
b7447ee5f8cb484200ff2d2e6a94c832295b2d21ea53cc4061de4399e8cf858c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.4

Release files / devart_zohocrm_connector-1.4.0-cp310-cp310-win32.whl

Download URL devart_zohocrm_connector-1.4.0-cp310-cp310-win32.whl
Size 5.7 MB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
e9ae633675ad077c3220ed1675b7e911f07cacb5446299555a4dff18bc6038ff
BLAKE2b-256 checksum
How to use checksums
60463a849eedcf0a14fa45fc5f138b3b6905a98f7e1e378ee1a47862799e09f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.4

Security for devart-zohocrm-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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page