Skip to content

API Reference

Complete API documentation for PyWry.

Core

Module Description
pywry Main PyWry class for native windows
InlineWidget Browser/notebook widgets via FastAPI

Events

Module Description
Event Reference All events, payloads, and the JavaScript bridge API

Models & Configuration

Module Description
pywry.models HtmlContent, WindowConfig, WindowMode
pywry.config Settings classes and configuration

State Management

Module Description
State WidgetStore, EventBus, CallbackRegistry, Redis backend

Widgets & UI

Module Description
pywry.widget Notebook widget classes
Toolbar Toolbar components
CSS Reference CSS variables, classes, and theming

Integrations

Module Description
pywry.plotly_config Plotly configuration
pywry.grid AG Grid configuration
MCP Server Model Context Protocol for AI agents

Utilities

Module Description
pywry.callbacks Callback registry
pywry.asset_loader Asset loading
pywry.hot_reload Hot reload manager