Skip to main content

Async client for NanoKVM devices.

Project description

python-nanokvm

Async Python client for NanoKVM.

Usage

from aiohttp import ClientSession
from nanokvm import NanoKVMClient


async with ClientSession() as session:
    client = NanoKVMClient("http://kvm-8b76.local/api/", session)
    await client.authenticate("username", "password")

    hw_info = await client.get_hardware_info()
    dev_info = await client.get_device_info()
    gpio_state = await client.get_gpio_state()

    await client.send_keys("Hello\nworld!")

    async for frame in client.mjpeg_stream():
        print(frame)

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

nanokvm-0.0.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nanokvm-0.0.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file nanokvm-0.0.1.tar.gz.

File metadata

  • Download URL: nanokvm-0.0.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nanokvm-0.0.1.tar.gz
Algorithm Hash digest
SHA256 cc0d3ae13b2ab7eb1cab182d3c0e5ee53b624598f0ac8777cc737f8925fa2a32
MD5 f353afd1ec2add0f281f28fd7165c5b6
BLAKE2b-256 e2f22079018964ea55c14e36456ea830caf2431ae5cf4cbd0d1f330a90367721

See more details on using hashes here.

Provenance

The following attestation bundles were made for nanokvm-0.0.1.tar.gz:

Publisher: publish-to-pypi.yml on puddly/python-nanokvm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nanokvm-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: nanokvm-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nanokvm-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7376ec047d1d5d403d887d54c24e8dd09cb3a9b93bd8e5aa0013361b892bf82a
MD5 d3ca86bc96fbe75dff86f30e78117148
BLAKE2b-256 e270c3dd0509dee382161af0cc926ce441089c9c8879fa34bf7b5fb74c07a3dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for nanokvm-0.0.1-py3-none-any.whl:

Publisher: publish-to-pypi.yml on puddly/python-nanokvm

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