Datasphere-Core
Shared, presentation-independent commands for SAP Datasphere automation. Datasphere-Core powers Datasphere-CLI and Datasphere-MCP.
Installation
pip install datasphere-core
Example
import asyncio
from datasphere_core import CommandContext, DatasphereSession, SessionConfig
from datasphere_core.commands.task_chains import run_task_chain
from datasphere_core.models.task_chains import RunTaskChainRequest
async def main() -> None:
config = SessionConfig(
base_url="https://example.eu10.hcs.cloud.sap",
authorization_url="https://example.authentication.sap.hana.ondemand.com/oauth/authorize",
token_url="https://example.authentication.sap.hana.ondemand.com/oauth/token",
client_id="client-id",
client_secret="client-secret",
)
async with DatasphereSession(config) as session:
await session.authenticate(interactive=True)
result = await run_task_chain(
CommandContext(client=session.client),
RunTaskChainRequest(
chain="TC_TEST_DEV",
space="DEV",
timeout_seconds=600,
),
)
print(result)
asyncio.run(main())
Metadata
Release files for Datasphere-Core 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| datasphere_core-0.5.1.tar.gz | 72.4 kB | With provenance | Details for datasphere_core-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datasphere_core-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for datasphere_core-0.5.1-py3-none-any.whl |
Total release size: 137.8 kB
Release files / datasphere_core-0.5.1.tar.gz
| Download URL | datasphere_core-0.5.1.tar.gz |
|---|---|
| Size | 72.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d230ec46757da447de4337108704210a61954b420874153c603e2221317b90a
|
|
BLAKE2b-256 checksum How to use checksums |
577b991ad2051bd7b365ac4b6970e3bfd5472fcf4bb4edba199785184cf06d9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 7, 2026.
Transparency logRelease files / datasphere_core-0.5.1-py3-none-any.whl
| Download URL | datasphere_core-0.5.1-py3-none-any.whl |
|---|---|
| Size | 65.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c1c4320bd7f75f81fc6ef5d9ed57888c69e660dfb63fbae37a99ff074c80e320
|
|
BLAKE2b-256 checksum How to use checksums |
ca0dbfc12b80668a2573466aa54b18928de99e9cb3413f1b815615f4133ced6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 7, 2026.
Transparency logSecurity for Datasphere-Core 0.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for datasphere_core-0.5.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.