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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sentinos_sdk_core-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 3648052aa623d1784b77fd47fdf5e6e79d93d68f7a1df3d8e0c3c99a19308168
MD5 986043310f8aac1eec5edbf87af7d9d4
BLAKE2b-256 8120506431cb08f6ce2e40ae453aefb611621ade8282c3b2e043418742bd9814

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sentinos_sdk_core-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f2b466664b1b033ae4f7b4703fff8e9590f6c86392fa82bb7b24153d29a2fca8
MD5 c3bd70fc96d88afacc18ea18394bac8b
BLAKE2b-256 da50bfc7b53b99ea636b6f83f1f8f9d96dc4f7d3335a75270c898a30235d902f

See more details on using hashes here.

Provenance

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