You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This SDK provides consistent interfaces for interacting with foundational services such as object storage, destination management, audit logging, telemetry, and secure credential handling.
4
8
5
9
The Python SDK offers a clean, type-safe API following Python best practices while maintaining compatibility with the SAP Application Foundation ecosystem.
6
10
7
-
---
8
-
9
-
## Available Modules
10
-
11
-
-[AuditLog User Guide](src/sap_cloud_sdk/core/auditlog/user-guide.md) - Compliance audit logging for SAP Audit Log Service
12
-
-[Destination User Guide](src/sap_cloud_sdk/destination/user-guide.md) - SAP BTP Destination Service integration with proxy support
13
-
-[ObjectStore User Guide](src/sap_cloud_sdk/objectstore/user-guide.md) - S3-compatible object storage
14
-
-[Secret Resolver User Guide](src/sap_cloud_sdk/core/secret_resolver/user-guide.md) - Secure credential management from mounted volumes and environment variables
15
-
-[Telemetry User Guide](src/sap_cloud_sdk/core/telemetry/user-guide.md) - OpenTelemetry tracing and GenAI auto-instrumentation
16
-
17
-
---
18
-
19
-
## Installation
20
-
21
-
TODO: To be defined
22
-
23
-
---
24
-
25
-
## Quick Start
26
-
27
-
```python
28
-
from sap_cloud_sdk.objectstore import create_client
29
-
30
-
# Create an ObjectStore client (auto-detects local vs cloud)
This project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/SAP/cloud-sdk-python/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](CONTRIBUTING.md).
123
69
124
-
Securely load configuration and credentials from Kubernetes mounted volumes or environment variables:
70
+
## Security / Disclosure
125
71
126
-
```python
127
-
from dataclasses import dataclass, field
128
-
from sap_cloud_sdk.core.secret_resolver import read_from_mount_and_fallback_to_env_var
129
-
130
-
# Load configuration
131
-
config = DatabaseConfig()
132
-
read_from_mount_and_fallback_to_env_var(
133
-
base_volume_mount="/etc/secrets",
134
-
base_var_name="MYAPP",
135
-
module="database",
136
-
instance="primary",
137
-
target=config
138
-
)
139
-
```
72
+
If you find any bug that may be a security problem, please follow our instructions at [in our security policy](https://github.com/SAP/cloud-sdk-python/security/policy) on how to report it. Please do not create GitHub issues for security-related doubts or problems.
140
73
141
-
### Telemetry with GenAI Auto-instrumentation
74
+
##Code of Conduct
142
75
143
-
Comprehensive telemetry and observability for AI applications with automatic instrumentation:
76
+
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](https://github.com/SAP/.github/blob/main/CODE_OF_CONDUCT.md) at all times.
144
77
145
-
```python
146
-
from sap_cloud_sdk.core.telemetry import (
147
-
auto_instrument, context_overlay, GenAIOperation,
148
-
chat_span, execute_tool_span, invoke_agent_span,
149
-
record_metrics, set_tenant_id, add_span_attribute
150
-
)
151
-
152
-
# Enable auto-instrumentation before importing AI libraries
153
-
auto_instrument()
154
-
155
-
from litellm import completion
156
-
import openai
157
-
158
-
# Set tenant for multi-tenant applications
159
-
set_tenant_id("tenant-123")
160
-
161
-
# Basic GenAI operation tracking
162
-
with context_overlay(GenAIOperation.CHAT, attributes={"user.id": "123"}):
Copyright 2026 SAP SE or an SAP affiliate company and Cloud SDK Python contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/cloud-sdk-python)
0 commit comments