$npx skillfedfor your agent

moonraker-api

Async websocket API client for Moonraker

With conditionsPyPI InternetReleased Jun 2026115.5K downloads / mocopyleft licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — moonraker_api-4.0.0-py3-none-any.whl
v4.0.0 · released 2026-06-10 · Python >=3.10 · 2 runtime deps: aiohttp, async-timeout

Yes, if you need to interface with Moonraker from Python. The package is actively maintained, has low install friction, and provides a clean async API. The GPLv3 copyleft license requires any derivative work to remain open-source, so verify that constraint fits your use case. No known vulnerabilities as of 2026-08-14.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; aiohttp and async-timeout must be installed as runtime dependencies.
  • Low install friction with a pure-Python wheel distribution.
  • Actively maintained with last commit on 2026-08-12; requires Python 3.10 or later.

License · maintenance · safety

copyleft license (copyleft) — Licensed under GPLv3 (copyleft). Any derivative work or distribution must also be open-source under GPLv3; proprietary use is not permitted.

last release 2026-06-10 (65 days) · last repo commit 2026-08-12 · 22 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 115,497 downloads/mo, #12,249 on PyPI

Verify before relying

pip install moonraker-api

from moonraker_api import MoonrakerClient, MoonrakerListener

class MyListener(MoonrakerListener):
    async def on_notification(self, method, data):
        print(f"Notification: {method} -> {data}")

client = MoonrakerClient(MyListener(), HOST, PORT, API_KEY)
await client.connect()
response = await client.request("printer.info")
await client.disconnect()
  • Whether Moonraker server setup and network accessibility are prerequisites for testing this client.
  • Performance characteristics under high-frequency subscription updates or large payloads.
  • Backward compatibility guarantees across minor version updates.
Same gist for agents: .md · .json

What it is and what it does

moonraker-api is a fully asynchronous Python client for Moonraker, a control API commonly used in printer systems. It handles WebSocket connections and subscriptions to real-time state updates without requiring polling loops. The package uses aiohttp and async-timeout as its only runtime dependencies, making it lightweight and suitable for integration into async Python applications.

You instantiate a MoonrakerClient with a listener object implementing MoonrakerListener, then call connect() to establish the WebSocket link. Once connected, you can issue one-off requests or subscribe to push notifications through callback methods. The listener pattern lets your code react to state changes, exceptions, and incoming notifications asynchronously, making it natural to embed in event-driven systems.

Use it for

  • Monitor real-time printer status and state updates from a system via WebSocket subscriptions.
  • Build integrations or custom dashboards that react to printer state changes without polling.
  • Send commands and query printer configuration through the Moonraker API from an async Python application.
  • Handle authentication errors and connection state transitions in a listener-based event loop.
  • Integrate printer telemetry into monitoring or logging systems that require non-blocking async I/O.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to interface with Moonraker from Python.

The package is actively maintained, has low install friction, and provides a clean async API. The GPLv3 copyleft license requires any derivative work to remain open-source, so verify that constraint fits your use case. No known vulnerabilities as of 2026-08-14.

Install

moonraker-api on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with last commit on 2026-08-12; requires Python 3.10 or later.

Requires Python 3.10 or later; aiohttp and async-timeout must be installed as runtime dependencies.

License in practice

Licensed under GPLv3 (copyleft). Any derivative work or distribution must also be open-source under GPLv3; proprietary use is not permitted.

Quickstart

pip install moonraker-api

from moonraker_api import MoonrakerClient, MoonrakerListener

class MyListener(MoonrakerListener):
    async def on_notification(self, method, data):
        print(f"Notification: {method} -> {data}")

client = MoonrakerClient(MyListener(), HOST, PORT, API_KEY)
await client.connect()
response = await client.request("printer.info")
await client.disconnect()

Verify before relying

  • Whether Moonraker server setup and network accessibility are prerequisites for testing this client.
  • Performance characteristics under high-frequency subscription updates or large payloads.
  • Backward compatibility guarantees across minor version updates.

Package facts

Licensecopyleft license copyleft
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
aiohttpasync-timeout
MaintenanceActively maintained 65 days since the last release
Last repo commit
First released
Downloads115,497 / month, #12,249 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: GNU General Public License v3 (GPLv3)Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: moonraker_api-4.0.0-py3-none-any.whl

Tags

Capabilities
moonraker websocket clientasync printer apimoonraker api pythonwebsocket subscription clientasync event notificationsmoonraker client library
Topics
websocket-clientasync-io

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “moonraker websocket client”

  • moonraker-apiFully async Python client for connecting to and subscribing to…
  • lomondLomond is a WebSocket client library that converts WebSocket…
  • websocket-clientwebsocket-client provides a Python WebSocket client implementing the…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also aiohttp · plexwebsocket · python-kraken-sdk · aioapns · websockets · agentmail · aioambient · uptime-kuma-api-v2 · httpx-ws · winevt