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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sentinos_sdk_core-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 2cf7e60d1caba48f982b135930f808b50ceb284d6f39809bf8038433033920c5
MD5 f4a2bc77776fce965cbc85feb50b3571
BLAKE2b-256 5dd2185f795e3a79ff8f3ce16936dab87d2cd643a09a2931e5f3bb6580d429cc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sentinos_sdk_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2373b4ff5b4ef6ac1ae647877a19ee28829148ac441cd0ea4bdf16508b576528
MD5 bde885fe3f5d18b4777280eb174e4be9
BLAKE2b-256 9055bc840cee2d9be4ae0b2e6fac34253c3b22a731cdd378ef7d9ccdf18b81de

See more details on using hashes here.

Provenance

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