sap-cloud-sdk
SAP Cloud SDK for Python
What it is and what it does
The SAP Cloud SDK for Python is a foundational library that abstracts interaction with SAP's cloud platform services. It provides type-safe, Pythonic interfaces for credential management, object storage, audit logging, observability, and service discovery within the SAP ecosystem. The SDK handles configuration resolution from Kubernetes secrets and environment variables, making it suitable for cloud-native deployments.
The package bundles integrations for multiple frameworks (Django, FastAPI, Flask, Starlette) and observability tools (OpenTelemetry with gRPC and HTTP exporters), along with support for AI/ML workloads through AI Core and agent decorators. It depends on cryptography, gRPC, Pydantic, and a comprehensive set of OpenTelemetry instrumentation libraries, making it a heavyweight but feature-complete solution for SAP Cloud development.
Use it for:
- Build microservices on SAP Cloud Platform with automatic credential and destination resolution from platform bindings.
- Instrument Python applications with OpenTelemetry observability across multiple web frameworks and libraries.
- Implement audit logging and data anonymization for compliance-sensitive workloads in SAP environments.
- Integrate AI/ML models via SAP AI Core with agent decorators and memory management.
- Manage secure object storage and document handling through unified SDK interfaces.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a unified Python SDK for interacting with SAP Cloud services including object storage, destination management, audit logging, telemetry, credential handling, and AI integration.
Yes, if you are building on SAP Cloud Platform or integrating with SAP services. The SDK is actively maintained, has no known vulnerabilities, and provides essential abstractions for cloud-native SAP development. The 29 runtime dependencies are substantial but justified for a platform SDK. Not relevant for non-SAP cloud workloads.
Install
sap-cloud-sdk on PyPI
pip
pip install sap-cloud-sdkuv
uv add sap-cloud-sdkpoetry
poetry add sap-cloud-sdkInstalling sap-cloud-sdk
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with a release from 2026-08-13. Requires Python 3.11 or higher and pulls in 29 runtime dependencies including cryptography, gRPC, OpenTelemetry instrumentation, and Pydantic.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions beyond attribution and liability disclaimers.
Quickstart
pip install sap-cloud-sdk
from sap_cloud_sdk import destination
# Access configured destinations from SAP Cloud environment
dest = destination.get_destination('my-destination')
Requires Python 3.11 or higher. Configuration resolution expects either Kubernetes-mounted secrets at $SERVICE_BINDING_ROOT or environment variables prefixed with CLOUD_SDK_CFG___.
Verify before relying
- Whether all 29 runtime dependencies are always required or if subsets can be installed for specific features
- Performance characteristics and latency overhead of OpenTelemetry instrumentation across multiple frameworks
- Compatibility guarantees with specific SAP Cloud Platform service versions
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 29 — cryptography, grpcio, hatchling, httpx, mcp, minio, opentelemetry-api, opentelemetry-exporter-otlp-proto-grpc, opentelemetry-exporter-otlp-proto-http, opentelemetry-instrumentation-aiohttp-client, opentelemetry-instrumentation-django, opentelemetry-instrumentation-fastapi, opentelemetry-instrumentation-flask, opentelemetry-instrumentation-grpc, opentelemetry-instrumentation-httpx, opentelemetry-instrumentation-langchain, opentelemetry-instrumentation-logging, opentelemetry-instrumentation-requests, opentelemetry-instrumentation-sqlalchemy, opentelemetry-instrumentation-starlette, opentelemetry-sdk, protobuf, protovalidate, pydantic, pyjwt, requests-oauthlib, requests, setuptools, traceloop-sdk |
| Maintenance | actively maintained — 1 days since the last release |
| First released | |
| Downloads | 660,543/month — #5,459 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sap_cloud_sdk-0.43.2-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,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
sap-ai-sdk-baseA Python client library for accessing SAP's AI…
unclear · top 15,000 on PyPI
ai-api-client-sdkProvides Python methods and data structures to…
unclear · top 15,000 on PyPI
pyodatapyodata is a Python client library that…
permissive · top 15,000 on PyPI
generative-ai-hub-sdkProvides Python access to generative AI models…
unclear · top 15,000 on PyPI
ibm-secrets-manager-sdkA Python client library for programmatically…
permissive · top 15,000 on PyPI
azure-keyvault-secretsSecurely store, retrieve, and manage secrets…
permissive · top 1,000 on PyPI
alibabacloud-credentials-apiProvides credential management interfaces and…
permissive · top 5,000 on PyPI