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.7.0.tar.gz (434.0 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.7.0-py3-none-any.whl (170.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: resonite_io-0.7.0.tar.gz
  • Upload date:
  • Size: 434.0 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.7.0.tar.gz
Algorithm Hash digest
SHA256 1355b15a1ab7eff35ed1d8db7a54732cf1c1f0bf9a3832182c4fecc7a1dd730b
MD5 343f0cb9778c34ba7efafb9c3c5451c3
BLAKE2b-256 75dc0d21a05287f8fe9b7a283bf8d218c3907cfed0674baefad3fcc71535f87b

See more details on using hashes here.

Provenance

The following attestation bundles were made for resonite_io-0.7.0.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.7.0-py3-none-any.whl.

File metadata

  • Download URL: resonite_io-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 170.6 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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9635e10dc73cde1e9ae07312502e3cb9c4a588eb8aef8b61ed7b02a085511dc5
MD5 b0bdba43c61aa9b164f264147efe944e
BLAKE2b-256 33dc22ce6cbacb10556687c2a48cd8c2f85149315dfcd87e2a948cae1372265a

See more details on using hashes here.

Provenance

The following attestation bundles were made for resonite_io-0.7.0-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