Skip to main content

New level of functionality and performance in data access via Python

Project description

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.

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.3

  • Added support for Python 3.14
  • Added support for the Saudi Arabia data center

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_zohocrm_connector-1.3.0-cp314-cp314-win_amd64.whl (5.9 MB view details)

Uploaded CPython 3.14Windows x86-64

devart_zohocrm_connector-1.3.0-cp314-cp314-win32.whl (5.7 MB view details)

Uploaded CPython 3.14Windows x86

devart_zohocrm_connector-1.3.0-cp313-cp313-win_amd64.whl (5.9 MB view details)

Uploaded CPython 3.13Windows x86-64

devart_zohocrm_connector-1.3.0-cp313-cp313-win32.whl (5.7 MB view details)

Uploaded CPython 3.13Windows x86

devart_zohocrm_connector-1.3.0-cp312-cp312-win_amd64.whl (5.9 MB view details)

Uploaded CPython 3.12Windows x86-64

devart_zohocrm_connector-1.3.0-cp312-cp312-win32.whl (5.7 MB view details)

Uploaded CPython 3.12Windows x86

devart_zohocrm_connector-1.3.0-cp311-cp311-win_amd64.whl (5.9 MB view details)

Uploaded CPython 3.11Windows x86-64

devart_zohocrm_connector-1.3.0-cp311-cp311-win32.whl (5.7 MB view details)

Uploaded CPython 3.11Windows x86

devart_zohocrm_connector-1.3.0-cp310-cp310-win_amd64.whl (5.9 MB view details)

Uploaded CPython 3.10Windows x86-64

devart_zohocrm_connector-1.3.0-cp310-cp310-win32.whl (5.7 MB view details)

Uploaded CPython 3.10Windows x86

devart_zohocrm_connector-1.3.0-cp39-cp39-win_amd64.whl (5.9 MB view details)

Uploaded CPython 3.9Windows x86-64

devart_zohocrm_connector-1.3.0-cp39-cp39-win32.whl (5.7 MB view details)

Uploaded CPython 3.9Windows x86

devart_zohocrm_connector-1.3.0-cp38-cp38-win_amd64.whl (5.9 MB view details)

Uploaded CPython 3.8Windows x86-64

devart_zohocrm_connector-1.3.0-cp38-cp38-win32.whl (5.7 MB view details)

Uploaded CPython 3.8Windows x86

devart_zohocrm_connector-1.3.0-cp37-cp37m-win_amd64.whl (5.9 MB view details)

Uploaded CPython 3.7mWindows x86-64

devart_zohocrm_connector-1.3.0-cp37-cp37m-win32.whl (5.7 MB view details)

Uploaded CPython 3.7mWindows x86

File details

Details for the file devart_zohocrm_connector-1.3.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 db0d8dc868c403550aabb01cac5ce8f3af658b839c68a6877acee37c3f26fa65
MD5 759aeee9ea12a13b6d18eddc9828d2bf
BLAKE2b-256 a8d4ead225447cf8aaeb2c774ff426516dd7849e582e3e39356977354bee7dd7

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp314-cp314-win32.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp314-cp314-win32.whl
Algorithm Hash digest
SHA256 bb18230ac88378562d4552fa085d75a10b640809bccc099c8c4e91cff2c141f1
MD5 3164e95e9e92b5dd80cdf95e0c838114
BLAKE2b-256 c76845db2ccf5c39b17281c4840107ff027a7c3be21cde9b47aee56e48c03ee7

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1981555bd404033a97d4131b7000c333ac276c827ad49ee75e7f1390d4a71144
MD5 3d18f5ec3b627e99887aee77e9d66e5e
BLAKE2b-256 b264213e2ef98ad290c309a8157bc9ede6136f506b875de1c8f305dab9f97e31

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp313-cp313-win32.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 aa0f9f781b06db4871e02d65edf95b749f36b469dcd468f957706c92339f67c9
MD5 a16fbe254bd61682095d2a9516b4fab0
BLAKE2b-256 2f80555932ff3b9f5310ce0923998016b5e458037b4b93e9b359632efca36658

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f4ddd1e48a817235f055009b8530c8640d64234a129954ff222d790cc294a7a7
MD5 076338a471e3a335276c70f31d15c13e
BLAKE2b-256 79908f7804caefc71571ae359aa8ca18b1e9ccc0a623025ce3096a66a17a3a74

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp312-cp312-win32.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 2ce338b400e7d6ca8b6c23056cbd520a03b29fe3b16ff095993ca093a107790c
MD5 49019a9ab9ef8304f3fb9209324617fe
BLAKE2b-256 a0aaaa9108134892417fbeef45992494f0d8d3aa08335c0a9b39bd659aeeb50b

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d2f9a10155da286717ba84da01871bd591a84b84780c58141518d02f942ef542
MD5 9db50baed7098788631515ac99bed2c4
BLAKE2b-256 f8cbc42bd2e0fe0d3f1084925af51aa848f02607954c0ac722b39fdf450e69da

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp311-cp311-win32.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 a678bed8d2634570e0dcda36c2a010aff9104100908d06c8d26ec480c4920a44
MD5 194305b1322ac9696fa937d1796b0b19
BLAKE2b-256 a96b93bc63913e16928537c1a37a27409cdae7440014b18870cfaba3bc3a2288

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 eab27d993f628dd1d0eccc125ff6776f5e5dbf727525a4b6152886a3edc5f9dd
MD5 a678de8c236fa0fee8bc897eb93f8c1f
BLAKE2b-256 228652cd5715db92d41ec46fae61abc1b71e7ca8b5400b8662386e2cbb2266e8

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp310-cp310-win32.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 cf895924840d42e60dc294d07d11616a43930e70b83bf8e22f247a34e97c6d70
MD5 9558f6764918c7b7ab9449890917cd82
BLAKE2b-256 1838d02742135ee23e64406aca65ac78ece5c50f07255d856dbf80b04e52006f

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 bd9a8499430dec7f389e756709b83402942ed4ff0e0f8511967f95e3e96fd079
MD5 772f67b7723789e1fd7be3e3aadf3350
BLAKE2b-256 390bb62580af5874decb12d4a3a0d0174cee500cff0da1db7daeac2a4310930c

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp39-cp39-win32.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 51bc151965465d74607e6685a6307e66beba84f58058c17ea0c6cc969bddd041
MD5 e134df4adbf347d185bd279cf3ef7a40
BLAKE2b-256 ee6153dd2562e025088d1c154df7d342075c6f9fea8af35e83abd468c83c8e6a

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 bd55fb3c53acb46fdf98e0d5bf962965b7321f93f166b2bc8f9b5608b544b22c
MD5 1df22005a3a17aeec2093abceac7ba10
BLAKE2b-256 2d023fe38c545d9fa4fbba3b0aeca887057ac25bb87f7bc23d39399acfad2235

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp38-cp38-win32.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 9389bab37d359c1aa5475475245b59742d4f42877502c617ff40037ef2e79ef5
MD5 a83b331da43a19a438e1029b82d6e87d
BLAKE2b-256 5fa981b87b7922b6461b8281c0075d8a61783c6621c2bfc2b2c76a9cb8822dc8

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 2d3343852d1e8e31b8987bf50346ade8446d0ed4317004f60497ba98500f92ff
MD5 9880af689bcc7ea16a539c6bdba0d2c3
BLAKE2b-256 da0e5ce4a25c77c35bf175ec0dea7c5d3dbe17249c44e0c9ea1b16d765ca2ee7

See more details on using hashes here.

File details

Details for the file devart_zohocrm_connector-1.3.0-cp37-cp37m-win32.whl.

File metadata

File hashes

Hashes for devart_zohocrm_connector-1.3.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 b20a098a4289de18dbfa20834dba9e4333576b961c10f1ef20f9a3acac2cd011
MD5 3a48a2a2915b9dc39df2017d43690351
BLAKE2b-256 ce686c65b0f596c9c857bdd537b4c86e8b2c97494c679ceea3b1ce27a715264c

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