skillfed

databricks-sql-connector

Databricks SQL Connector for Python

databricks-sql-connector Permissive license Apache-2.0 Active 233 v4.4.0 released

Install

databricks-sql-connector on PyPI

pip

pip install databricks-sql-connector

uv

uv add databricks-sql-connector

poetry

poetry add databricks-sql-connector

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (<4.0,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 10 — lz4, oauthlib, openpyxl, pandas, pybreaker, pyjwt, python-dateutil, requests, thrift, urllib3
Maintenance actively maintained — 22 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: databricks_sql_connector-4.4.0-py3-none-any.whl

License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

About databricks-sql-connector

from the package's own PyPI description — quoted content, verbatim

Databricks SQL Connector for Python

PyPI (image) Downloads (image)

The Databricks SQL Connector for Python allows you to develop Python applications that connect to Databricks clusters and SQL warehouses. It is a Thrift-based client with no dependencies on ODBC or JDBC. It conforms to the Python DB API 2.0 specification.

This connector uses Arrow as the data-exchange format, and supports APIs (e.g. fetchmany_arrow) to directly fetch Arrow tables. Arrow tables are wrapped in the ArrowQueue class to provide a natural API to get several rows at a time. PyArrow is required to enable this and use these APIs, you can install it via pip install pyarrow or pip install databricks-sql-connector[pyarrow].

The connector includes built-in support for HTTP/HTTPS proxy servers with multiple authentication methods including basic authentication and Kerberos/Negotiate...

Read as markdown · JSON record · Source repository · Homepage

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

A Thrift-based Python client for connecting to Databricks clusters and SQL warehouses, conforming to Python DB API 2.0 and supporting Arrow-based data exchange with optional Rust kernel acceleration.

Low install friction with a pure-Python wheel and 10 well-established runtime dependencies. Actively maintained with a release 22 days ago and ongoing repository activity; supports Python 3.10–3.14.

Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.

Usage

pip install databricks-sql-connector

import os
from databricks import sql

host = os.getenv("DATABRICKS_HOST")
http_path = os.getenv("DATABRICKS_HTTP_PATH")
connection = sql.connect(server_hostname=host, http_path=http_path)
cursor = connection.cursor()
cursor.execute('SELECT * FROM RANGE(10)')
result = cursor.fetchall()
cursor.close()
connection.close()

Requires Python >= 3.10; DATABRICKS_HOST and DATABRICKS_HTTP_PATH environment variables must be set for the example to run.

Verdict: A well-maintained, actively developed connector from Databricks with low install friction, permissive licensing, and no known vulnerabilities. Suitable for production use in applications requiring Python DB API 2.0 compliance and Arrow-native data access to Databricks infrastructure.

Needs verification

  • Whether the optional [pyarrow] and [kernel] extras are commonly used and their stability track record.
  • Performance characteristics of the Rust kernel backend relative to the default Thrift backend.
  • Real-world adoption and community support beyond the top-1000 tier indicator.
databricks sql connector pythonpython db api databricksthrift client databricks warehousearrow data exchange databricksdatabricks cluster connectionsql warehouse python driverdatabricks oauth authentication

Similar packages