Skip to content

SAP/cloud-sdk-python

Build status REUSE status

SAP Cloud SDK for Python

About this project

This SDK provides consistent interfaces for interacting with foundational services such as object storage, destination management, audit logging, telemetry, and secure credential handling.

The Python SDK offers a clean, type-safe API following Python best practices while maintaining compatibility with the SAP Application Foundation ecosystem.

Key Features

  • AI Core Integration
  • Audit Log Service
  • Destination Service
  • ObjectStore Service
  • Secret Resolver
  • Telemetry & Observability

Requirements and Setup

  • Python: 3.11 or higher

Installation

# uv
uv add sap-cloud-sdk

# Poetry
poetry add sap-cloud-sdk

# Pip
pip install sap-cloud-sdk

Environment Configuration

The SDK automatically resolves configuration from multiple sources with the following priority:

  1. Kubernetes-mounted secrets: /etc/secrets/appfnd/<module>/<instance>/<field>
  2. Environment variables: CLOUD_SDK_CFG_<MODULE>_<INSTANCE>_<FIELD>
    • For instance names, hyphens ("-") are replaced with underscores ("_") for compatibility with system environment variables.
    • You can see examples in our env_integration_tests.example

Usage Guides

Each module has comprehensive usage guides:

Support, Feedback, Contributing

This project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.

Security / Disclosure

If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.

Code of Conduct

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.

Licensing

Copyright 2026 SAP SE or an SAP affiliate company and Cloud SDK Python contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool

About

The SAP Cloud SDK for Python is the official Python client for SAP BTP services. It simplifies consuming SAP Cloud services through modular interfaces that handle authentication, secrets management, and configuration. Letting developers focus on building applications and agents quickly and easily.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors