Low-level generated client for the Sentinos API (used by the sentinos Python SDK wrapper)
Project description
sentinos-sdk-core (Python)
sentinos-sdk-core is the low-level generated Python client for the Sentinos API.
Most users should install the higher-level SDK:
pip install sentinos
Install
pip install sentinos-sdk-core
Usage
import os
from sentinos_core import AuthenticatedClient
from sentinos_core.api.default import kernel_get_runtime_metrics
client = AuthenticatedClient(
base_url="https://<your-sentinos-api-host>",
token=os.environ["SENTINOS_ACCESS_TOKEN"],
)
metrics = kernel_get_runtime_metrics.sync(client=client)
print(metrics)
Async variant:
import os
from sentinos_core import AuthenticatedClient
from sentinos_core.api.default import kernel_get_runtime_metrics
client = AuthenticatedClient(
base_url="https://<your-sentinos-api-host>",
token=os.environ["SENTINOS_ACCESS_TOKEN"],
)
async def main() -> None:
metrics = await kernel_get_runtime_metrics.asyncio(client=client)
print(metrics)
Notes
- Endpoint modules expose
sync,sync_detailed,asyncio, andasyncio_detailed. - Generated models are under
sentinos_core.models.*.
Development
python3 -m venv .venv && source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -U build twine ruff
python -m pip install -e .
python -m ruff check sentinos_core
python -m build
python -m twine check dist/*
Resources
- Documentation: https://docs.sentinoshq.com/sdk/
- Repository: https://github.com/SentinosHQ/sentinos-sdk-core-python
- Issues: https://github.com/SentinosHQ/sentinos-sdk-core-python/issues
- Release guide:
RELEASING.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sentinos_sdk_core-0.1.1.tar.gz.
File metadata
- Download URL: sentinos_sdk_core-0.1.1.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c4121b350ab9777ea3b0198e459336b001645a66ad6705bc950eb61244ce9c1
|
|
| MD5 |
6bcb8eb8eee5110a68d7b4b7daaf2ebd
|
|
| BLAKE2b-256 |
b65e1551f8571819e4d02bca531e862d816d91490496d0856e003002bc6099c6
|
Provenance
The following attestation bundles were made for sentinos_sdk_core-0.1.1.tar.gz:
Publisher:
publish.yml on SentinosHQ/sentinos-sdk-core-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sentinos_sdk_core-0.1.1.tar.gz -
Subject digest:
8c4121b350ab9777ea3b0198e459336b001645a66ad6705bc950eb61244ce9c1 - Sigstore transparency entry: 1003721904
- Sigstore integration time:
-
Permalink:
SentinosHQ/sentinos-sdk-core-python@81e59fee1b8ec79d738c9f5c32731f038c117db8 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/SentinosHQ
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@81e59fee1b8ec79d738c9f5c32731f038c117db8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sentinos_sdk_core-0.1.1-py3-none-any.whl.
File metadata
- Download URL: sentinos_sdk_core-0.1.1-py3-none-any.whl
- Upload date:
- Size: 597.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7d07516a2d1b0ef3ed8144b5b9ea2ddd67d01507a1497179ddb58112f5ba9b4
|
|
| MD5 |
9f97297295906519f850b8f30c1a7f1f
|
|
| BLAKE2b-256 |
69c0d5fe24bbb8b816434994ec76843535c817f1ac1c812d22a1ea8324585a72
|
Provenance
The following attestation bundles were made for sentinos_sdk_core-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on SentinosHQ/sentinos-sdk-core-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sentinos_sdk_core-0.1.1-py3-none-any.whl -
Subject digest:
b7d07516a2d1b0ef3ed8144b5b9ea2ddd67d01507a1497179ddb58112f5ba9b4 - Sigstore transparency entry: 1003721905
- Sigstore integration time:
-
Permalink:
SentinosHQ/sentinos-sdk-core-python@81e59fee1b8ec79d738c9f5c32731f038c117db8 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/SentinosHQ
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@81e59fee1b8ec79d738c9f5c32731f038c117db8 -
Trigger Event:
push
-
Statement type: