Skip to main content

talos-linux-api - Python bindings for the Talos Linux gRPC API

Installation

Multiple API versions can be installed simultaneously and are made available at runtime under an Implicit Namespace Package named talos_linux_api.

Currently available API versions:

  • pip install talos-linux-api-v1.2.0

Usage example

import ssl
from talos_linux_api.v1_2_0.machine import MachineServiceStub
from grpclib.client import Channel
from betterproto.lib.google.protobuf import Empty

ssl_context = ssl.create_default_context()
ssl_context.load_cert_chain('client.crt', 'client.key')
ssl_context.load_verify_locations('ca.crt')

async with Channel(host="example.com", port=50000, ssl=ssl_context) as channel:
    machine_service = MachineServiceStub(channel)
    response = await machine_service.cpu_info(Empty())

Metadata

Release files for talos-linux-api-v1.2.0 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for talos-linux-api-v1.2.0 0.1.0
File Size Uploaded
talos-linux-api-v1.2.0-0.1.0.tar.gz 18.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for talos-linux-api-v1.2.0 0.1.0
File Interpreter ABI Platform
talos_linux_api_v1.2.0-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 41.6 kB

Release files / talos-linux-api-v1.2.0-0.1.0.tar.gz

Download URL talos-linux-api-v1.2.0-0.1.0.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
069760b2ed0e99b07eaae1dd3551aaf8cf637feb327132c1aca41b57b2d49883
BLAKE2b-256 checksum
How to use checksums
ae82723fe16ad009b50dea5481d805e70b888eb69a367a99e10da5d3d09ede12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.4.6 CPython/3.10.8

Release files / talos_linux_api_v1.2.0-0.1.0-py3-none-any.whl

Download URL talos_linux_api_v1.2.0-0.1.0-py3-none-any.whl
Size 23.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e21b8102babc3003b682f7ed568699d0d4ae04a89cbab6459b6e02089bb69774
BLAKE2b-256 checksum
How to use checksums
52a6064f402a6bc48544df5bd7afedbad5b5138503b90e69771aca442ad1d7b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.4.6 CPython/3.10.8

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page