sap-ai-sdk-base
SAP Cloud SDK for AI (Python): Base Client
What it is and what it does
sap-ai-sdk-base is a Python client for SAP's AI API that abstracts HTTP communication into Python objects and methods. It lets you query AI scenarios, find executables, inspect their parameters, and create configurations without writing raw REST calls. The SDK is runtime-agnostic, working with any AI API implementation but excluding runtime-specific features like secret management.
The package depends on three lightweight libraries: requests for HTTP communication, pyhumps for JSON field name conversion, and aenum for enumeration support. It targets Python 3.9 through 3.14 and is marked production-stable. The license is proprietary and non-standard, so review its terms before adopting it.
Use it for:
- Query available AI scenarios and executables in your SAP AI environment to discover deployable models.
- Inspect executable parameters and their types to understand configuration requirements before deployment.
- Create and manage AI configurations by binding parameters to executables programmatically.
- Build Python applications that integrate with SAP AI implementations without writing HTTP client code.
- Automate AI model lifecycle tasks in CI/CD pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client library for accessing SAP's AI API, providing methods and data structures to query scenarios, executables, and configurations.
Yes, if you are developing against SAP's AI API and need a Python client abstraction. The package has low install friction, active maintenance, and broad Python version support. However, verify that PYSEC-2023-315 does not affect your use case, and review the proprietary license terms carefully before committing to it in production.
Install
sap-ai-sdk-base on PyPI
pip
pip install sap-ai-sdk-baseuv
uv add sap-ai-sdk-basepoetry
poetry add sap-ai-sdk-baseInstalling sap-ai-sdk-base
Before you install
Low install friction with three lightweight runtime dependencies (aenum, pyhumps, requests). Marked as active maintenance with a recent release 137 days ago. Supports Python 3.9 through 3.14.
License in practice
Licensed under SAP DEVELOPER LICENSE AGREEMENT with unclear treatment. Review the license terms directly before use, particularly if integrating into proprietary or open-source projects, as the non-standard license may impose restrictions.
Quickstart
pip install sap-ai-sdk-base
from sap_ai_sdk_base import AIAPIV2Client
client = AIAPIV2Client(
base_url=AI_API_URL,
auth_url=AUTH_URL,
client_id=CLIENT_ID,
client_secret=CLIENT_SECRET,
resource_group=RESOURCE_GROUP
)
scenarios = client.scenario.query()
Requires valid SAP AI API credentials (base_url, auth_url, client_id, client_secret, resource_group) to instantiate and authenticate the client.
Verify before relying
- Whether PYSEC-2023-315 affects version 3.4.0 or has been patched.
- Whether the Base SDK is sufficient for your use case or if runtime-specific SDKs are also needed.
- Exact import paths and available client classes beyond what the description excerpt shows.
Package facts
| License | SAP DEVELOPER LICENSE AGREEMENT (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — aenum, pyhumps, requests |
| Maintenance | actively maintained — 137 days since the last release |
| First released | |
| Downloads | 192,758/month — #9,858 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | 1 — PYSEC-2023-315 |
Evidence: sap_ai_sdk_base-3.4.0-py3-none-any.whl
Keywords: SAP, AI, Core
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
ai-api-client-sdkProvides Python methods and data structures to…
unclear · top 15,000 on PyPI
sap-ai-sdk-coreProvides Python client access to SAP AI Core…
unclear · top 15,000 on PyPI
ai-core-sdkProvides Python methods to manage scenarios,…
unclear · top 15,000 on PyPI
sap-ai-sdk-genAccess generative AI models from SAP AI Core…
unclear · top 15,000 on PyPI
generative-ai-hub-sdkProvides Python access to generative AI models…
unclear · top 15,000 on PyPI
hana-mlConnects Python to SAP HANA to build machine…
unclear · top 15,000 on PyPI
sap-cloud-sdkProvides a unified Python SDK for interacting…
permissive · top 15,000 on PyPI
google-nest-sdmA Python library for interacting with Google…
permissive · top 15,000 on PyPI
salesforce-cdp-connectorConnects Python to Salesforce Data Cloud to…
permissive · top 15,000 on PyPI
azure-mgmt-hanaonazureProvides a Python client library to manage SAP…
unclear · top 5,000 on PyPI