Skip to main content

Low-level generated client for the Sentinos API (used by the sentinos Python SDK wrapper)

Project description

sentinos-sdk-core (Python)

PyPI Python CI License

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, and asyncio_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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sentinos_sdk_core-0.1.3.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sentinos_sdk_core-0.1.3-py3-none-any.whl (597.0 kB view details)

Uploaded Python 3

File details

Details for the file sentinos_sdk_core-0.1.3.tar.gz.

File metadata

  • Download URL: sentinos_sdk_core-0.1.3.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

Hashes for sentinos_sdk_core-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d901b122fae17969e5698d4421a96abf0c9c198dfdb2aa7c98e6aaaf04be28dc
MD5 2f4878685ee4c7398051b6fad5bd7878
BLAKE2b-256 3603c76f640dcf31395e3245ae6f5b595180141c84dc2c5854e7d40b942cbe76

See more details on using hashes here.

Provenance

The following attestation bundles were made for sentinos_sdk_core-0.1.3.tar.gz:

Publisher: publish.yml on SentinosHQ/sentinos-sdk-core-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sentinos_sdk_core-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for sentinos_sdk_core-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 43dd67089540f5a3a5757cdc25775e6d8388fb1909955d6ec08a15522b243f43
MD5 6611fc643d6bee70c607a54ee1254a87
BLAKE2b-256 99c712dbdc348f38164651a8361841f36b5ebda2a4dd0d590b547cfcb6463d8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sentinos_sdk_core-0.1.3-py3-none-any.whl:

Publisher: publish.yml on SentinosHQ/sentinos-sdk-core-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page