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)

Sentinos

Sentinos

sentinos-sdk-core is the low-level, generated (OpenAPI) Python client for the Sentinos API.

Most users should install the higher-level wrapper SDK instead:

pip install sentinos

Install

pip install sentinos-sdk-core

Usage

Create a client:

import os

from sentinos_core import AuthenticatedClient
from sentinos_core.api.default import kernel_get_runtime_metrics

client = AuthenticatedClient(
    base_url="https://api.sentinos.ai",
    token=os.environ["SENTINOS_ACCESS_TOKEN"],
)

metrics = kernel_get_runtime_metrics.sync(client=client)
print(metrics)

Async:

import os

from sentinos_core import AuthenticatedClient
from sentinos_core.api.default import kernel_get_runtime_metrics

client = AuthenticatedClient(
    base_url="https://api.sentinos.ai",
    token=os.environ["SENTINOS_ACCESS_TOKEN"],
)

async def main() -> None:
    metrics = await kernel_get_runtime_metrics.asyncio(client=client)
    print(metrics)

Notes

  • Endpoints are grouped under sentinos_core.api.default.* (and other tag modules when tags are present).
  • Each endpoint module provides sync, sync_detailed, asyncio, and asyncio_detailed.
  • Models are under sentinos_core.models.*.

Building / publishing

See RELEASING.md.

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.5.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.5-py3-none-any.whl (627.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sentinos_sdk_core-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 936e899e73419fec798d43ff7dcd0c2a1492c4e2a851d9e8184c7e0e31191d9b
MD5 6d628f798f29b2240e89fa564054a566
BLAKE2b-256 63b447aac97347d1949399f7adbf2d7400c913e4cae15ed44dcd14eac37241f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for sentinos_sdk_core-0.1.5.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.5-py3-none-any.whl.

File metadata

File hashes

Hashes for sentinos_sdk_core-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0390a69c2a695a1696e24fb2fb14d011c747e4c3ca021a417b4198353a962d77
MD5 359bd839a71e24c7bee8c499a0887438
BLAKE2b-256 6c415b430e9620010571157128d6baaa66fba7b7722f8ddbce5b6381e7425ace

See more details on using hashes here.

Provenance

The following attestation bundles were made for sentinos_sdk_core-0.1.5-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