$npx skillfedfor your agent

hdbcli

SAP HANA Python Client

With conditionsPyPI Python ModulesReleased Jul 20263.3M downloads / moSAP DEVELOPER LICENSE AGREEMENTPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — hdbcli-2.29.25-cp310-abi3-macosx_13_0_arm64.whl · hdbcli-2.29.25-cp310-abi3-macosx_13_0_x86_64.whl · hdbcli-2.29.25-cp310-abi3-manylinux2014_aarch64.whl
v2.29.25 · released 2026-07-09

Yes, if you need to connect Python to SAP HANA and accept the proprietary license terms. The driver is stable, actively maintained, and has no external dependencies. However, verify license compliance for your use case (development vs. production) before committing to production deployments, and confirm Python version compatibility with your environment.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a reachable SAP HANA instance (cloud or on-premise) with valid credentials and appropriate port access (443 for cloud, 3NN13/3NN15 for on-premise).
  • Medium install friction due to compiled binary wheels for specific platforms (macOS, Linux, Windows).
  • Actively maintained with a recent release 36 days ago.

License · maintenance · safety

SAP DEVELOPER LICENSE AGREEMENT (unclear) — Licensed under SAP Developer License Agreement with proprietary terms. Use is restricted to development and subject to SAP's product use and support terms for on-premise customers. Commercial or production use requires explicit license compliance review.

last release 2026-07-09 (36 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,322,513 downloads/mo, #2,660 on PyPI

Verify before relying

pip install hdbcli

from hdbcli import dbapi
conn = dbapi.connect(address="hana-host", port=3MM, user="user", password="pass")
cursor = conn.cursor()
cursor.execute("SELECT * FROM table")
for row in cursor:
    print(row)
  • Whether the SAP Developer License Agreement permits use in production environments or only development.
  • Specific Python version minimum requirement (classifiers list 3.10–3.14 but requires_python is unspecified).
  • Whether autocommit-by-default behavior differs from PEP 249 in ways that affect existing code patterns.
Same gist for agents: .md · .json

What it is and what it does

hdbcli is the official SAP HANA Python client, implementing the PEP 249 database API standard to enable Python applications to connect to and query SAP HANA databases. It supports both SAP HANA Cloud (port 443 with automatic encryption) and on-premise deployments (port 3NN13/3NN15), and provides cursor-based query execution with parameterized statement binding (both positional and named parameters). The driver is distributed as compiled wheels for multiple platforms and architectures, with no additional runtime dependencies beyond Python itself.

The package is production-stable and actively maintained, with support for modern Python versions. A key deviation from PEP 249 is that autocommit is enabled by default rather than disabled, which may affect transaction handling expectations. It is licensed under SAP's proprietary Developer License Agreement, making it suitable for development and evaluation but requiring explicit license review for production or commercial use.

Use it for

  • Extract data from SAP HANA Cloud or on-premise databases for analytics, reporting, or ETL pipelines in Python applications.
  • Build Python-based data integration layers that read from or write to SAP HANA as part of enterprise data workflows.
  • Develop administrative or monitoring scripts that connect to HANA instances to execute DDL/DML operations programmatically.
  • Prototype or test SAP HANA applications locally before deployment to production SAP environments.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to connect Python to SAP HANA and accept the proprietary license terms.

The driver is stable, actively maintained, and has no external dependencies. However, verify license compliance for your use case (development vs. production) before committing to production deployments, and confirm Python version compatibility with your environment.

Install

hdbcli on PyPI

Before you install

Medium install friction due to compiled binary wheels for specific platforms (macOS, Linux, Windows). Actively maintained with a recent release 36 days ago. No runtime dependencies simplifies integration.

Requires a reachable SAP HANA instance (cloud or on-premise) with valid credentials and appropriate port access (443 for cloud, 3NN13/3NN15 for on-premise).

License in practice

Licensed under SAP Developer License Agreement with proprietary terms. Use is restricted to development and subject to SAP's product use and support terms for on-premise customers. Commercial or production use requires explicit license compliance review.

Quickstart

pip install hdbcli

from hdbcli import dbapi
conn = dbapi.connect(address="hana-host", port=3MM, user="user", password="pass")
cursor = conn.cursor()
cursor.execute("SELECT * FROM table")
for row in cursor:
    print(row)

Verify before relying

  • Whether the SAP Developer License Agreement permits use in production environments or only development.
  • Specific Python version minimum requirement (classifiers list 3.10–3.14 but requires_python is unspecified).
  • Whether autocommit-by-default behavior differs from PEP 249 in ways that affect existing code patterns.

Package facts

LicenseSAP DEVELOPER LICENSE AGREEMENT unclear
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 36 days since the last release
First released
Downloads3,322,513 / month, #2,660 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: End Users/DesktopIntended Audience :: Financial and Insurance IndustryIntended Audience :: Healthcare IndustryIntended Audience :: Information TechnologyIntended Audience :: Legal IndustryIntended Audience :: ManufacturingIntended Audience :: Science/ResearchLicense :: Other/Proprietary LicenseOperating System :: MacOSOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: Windows :: Windows 10Operating System :: Microsoft :: Windows :: Windows 11Operating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: DatabaseTopic :: Software Development :: Libraries :: Python Modules

Evidence: hdbcli-2.29.25-cp310-abi3-macosx_13_0_arm64.whl; hdbcli-2.29.25-cp310-abi3-macosx_13_0_x86_64.whl; hdbcli-2.29.25-cp310-abi3-manylinux2014_aarch64.whl; hdbcli-2.29.25-cp310-abi3-manylinux2014_ppc64le.whl; hdbcli-2.29.25-cp310-abi3-manylinux2014_x86_64.whl; hdbcli-2.29.25-cp310-abi3-musllinux_1_2_x86_64.whl; hdbcli-2.29.25-cp310-abi3-win32.whl; hdbcli-2.29.25-cp310-abi3-win_amd64.whl

Tags

Capabilities
SAP HANA Python driverdatabase connection SAP HANAPEP 249 database APIHANA SQL client Pythonenterprise database connector
Topics
sap-hanaenterprise-databasepep-249
PyPI keywords
SAPHANAclientin-memorydatabaseSQLcloudbusinessapplicationintelligententerpriseAIartificialintelligenceanalyticsexperience

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “SAP HANA Python driver”

  • hdbcliA PEP 249-compliant Python database driver for connecting to and…
  • sqlalchemy-hanaProvides a SQLAlchemy dialect that enables you to use SAP HANA as a…
  • pyhdbA pure Python client library for connecting to and querying SAP HANA…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also hana-ml · pyhdb · sqlalchemy-hana · ydb-dbapi · databend-driver · pyathenajdbc · impyla · firebolt-sdk · dmpython · oracledb