🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

talos-linux-api-v1.3.0

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

talos-linux-api-v1.3.0

Python bindings for the Talos Linux gRPC API (v1.3.0)

pipPyPI
Version
0.1.0
Maintainers
1

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
  • pip install talos-linux-api-v1.3.0

Usage example

import ssl
from talos_linux_api.v1_3_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())

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts