Skip to main content

Python client for Resonite IO

Project description

resonite-io

Python client for ResoniteIO — a bidirectional IPC bridge that lets your Python code observe and control Resonite. The resonite-io distribution imports as resoio and wraps the resonite_io.v1 gRPC schema (Unix Domain Socket transport, async via grpclib) into a friendly, fully typed client library and a resoio CLI.

Install

pip install resonite-io

Requires

Linux only. The client connects over a Unix Domain Socket (POSIX) and targets a Resonite client running on Linux through Steam Play (Proton). Windows is not supported, and there are no plans to support it.

A Resonite client running the ResoniteIO mod on the same host (the two halves connect over a Unix Domain Socket). See the documentation for installing the mod.

The optional resoio launch / resoio terminate commands start and stop Resonite as host processes; they require umu-launcher (umu-run) on your PATH. Connecting to a Resonite you start yourself (e.g. via Steam) does not need it.

Quick start

import asyncio

from resoio import ConnectionClient


async def main() -> None:
    async with ConnectionClient() as client:
        response = await client.ping("hello")
        print(response.message)


asyncio.run(main())

Documentation

License

MIT

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

resonite_io-0.6.1.tar.gz (409.5 kB view details)

Uploaded Source

Built Distribution

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

resonite_io-0.6.1-py3-none-any.whl (159.2 kB view details)

Uploaded Python 3

File details

Details for the file resonite_io-0.6.1.tar.gz.

File metadata

  • Download URL: resonite_io-0.6.1.tar.gz
  • Upload date:
  • Size: 409.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for resonite_io-0.6.1.tar.gz
Algorithm Hash digest
SHA256 7aeb443385e3c2a273e67d8c2f4a10715e97f13db2ceb53d9733d81c05791d02
MD5 c60f54bc2f35dc9403352e158d611d32
BLAKE2b-256 01ff3e04d2f55159a2a6396529f1de01113cde3a55d14d877d7fc859dd579c36

See more details on using hashes here.

Provenance

The following attestation bundles were made for resonite_io-0.6.1.tar.gz:

Publisher: publish.yml on MLShukai/ResoniteIO

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

File details

Details for the file resonite_io-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: resonite_io-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 159.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for resonite_io-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e726c8ddd0035c721e2555c89103328117fe4f2c3c8502109e7801c106ada2b5
MD5 d53f19ffd9790bacc7d5e0deb25094e9
BLAKE2b-256 17f958aac88dbf5c2a2e770fd0fe78be8b9f6dd4e12bc273a594f194cfe97666

See more details on using hashes here.

Provenance

The following attestation bundles were made for resonite_io-0.6.1-py3-none-any.whl:

Publisher: publish.yml on MLShukai/ResoniteIO

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