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

Uploaded Python 3

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

Hashes for sentinos_sdk_core-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8c4121b350ab9777ea3b0198e459336b001645a66ad6705bc950eb61244ce9c1
MD5 6bcb8eb8eee5110a68d7b4b7daaf2ebd
BLAKE2b-256 b65e1551f8571819e4d02bca531e862d816d91490496d0856e003002bc6099c6

See more details on using hashes here.

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

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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sentinos_sdk_core-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b7d07516a2d1b0ef3ed8144b5b9ea2ddd67d01507a1497179ddb58112f5ba9b4
MD5 9f97297295906519f850b8f30c1a7f1f
BLAKE2b-256 69c0d5fe24bbb8b816434994ec76843535c817f1ac1c812d22a1ea8324585a72

See more details on using hashes here.

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

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