skillfed

sap-ai-sdk-base

SAP Cloud SDK for AI (Python): Base Client

sap-ai-sdk-base v3.4.0 192.8K downloads/30d#9,858 on PyPI
License unclear SAP DEVELOPER LICENSE AGREEMENT Active released

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-base

uv

uv add sap-ai-sdk-base

poetry

poetry add sap-ai-sdk-base

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: Other/Proprietary LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating 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 :: Software Development :: Libraries :: Python Modules

Tags

SAP AI API clientAI API Python SDKSAP Cloud SDK AIscenario and executable queryAI configuration managementSAP AI integrationAI model deployment
sap-integrationai-api-client

More Python Modules packages