--- id: sap-ai-sdk-base version: "3.4.0" license: SAP DEVELOPER LICENSE AGREEMENT license_treatment: unclear maintenance: active --- # sap-ai-sdk-base — SAP Cloud SDK for AI (Python): Base Client License: unclear · Maintenance: active · Downloads: 192.8K/mo ## 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 above — 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 pip install sap-ai-sdk-base uv add sap-ai-sdk-base 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_current - Install friction: low - Maintenance: active - Downloads: 192.8K/month (top 15,000 on PyPI) - Known vulnerabilities: 1 ## Tags SAP AI API client, AI API Python SDK, SAP Cloud SDK AI, scenario and executable query, AI configuration management, SAP AI integration, AI model deployment, sap-integration, ai-api-client [View on SkillFed](https://skillfed.io/packages/sap-ai-sdk-base) · [View on PyPI](https://pypi.org/project/sap-ai-sdk-base/)