skillfed

sap-cloud-sdk

SAP Cloud SDK for Python

sap-cloud-sdk v0.43.2 660.5K downloads/30d#5,459 on PyPI
Permissive license Apache-2.0 Active released

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

uv

uv add sap-cloud-sdk

poetry

poetry add sap-cloud-sdk

Installing 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

SAP cloud services SDKSAP destination managementcloud object storage Pythonaudit logging serviceSAP telemetry observabilitycredential and secret managementAI core integration
sap-cloud-platformobservabilitycloud-native

More Application Frameworks packages