Install & Compatibility
Where this runs
tested against v4.0.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 27.1MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.9s · import 0.000s · 29MB
27MB installed
● package 27MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
MoonrakerClient
✓ from moonraker_api import MoonrakerClient
✗ from moonraker_api import MoonrakerAPI
WebsocketClient
✓ from moonraker_api import WebsocketClient
MoonrakerListener
✓ from moonraker_api import MoonrakerListener
Create an async client connecting to a local Moonraker instance via WebSocket.
import asyncio
from moonraker_api import MoonrakerAPI
async def main():
api = MoonrakerAPI("ws://192.168.1.100:7125/websocket")
await api.connect()
print(await api.get_server_info())
await api.disconnect()
asyncio.run(main())
Upgrade
Version history
4.0.0latest on PyPI · released Jun 10, 2026
Audit
Dependencies
aiohttprequiredUsed for HTTP requests and WebSocket connections