dart_monty_bridge 0.6.0 copy "dart_monty_bridge: ^0.6.0" to clipboard
dart_monty_bridge: ^0.6.0 copied to clipboard

discontinuedreplaced by: dart_monty

High-level bridge layer for dart_monty. Host functions, event loop, plugin system.

dart_monty_bridge #

Part of dart_monty — pure Dart bindings for Monty, a restricted, sandboxed Python interpreter built in Rust.

Live Demo | GitHub | Monty

Bob This package is co-designed by human and AI — nearly all code is AI-generated.

High-level bridge layer for dart_monty. Provides host function infrastructure, the default bridge implementation, event loop support, and a plugin system (PluginRegistry + MontyPlugin) for modular host function bundles.

Install #

dependencies:
  dart_monty_bridge: ^0.3.0

Key Types #

Type Description
MontyBridge Abstract bridge interface for executing Python code with host functions.
DefaultMontyBridge Default implementation orchestrating the start/resume loop.
EventLoopBridge Bridge with event loop support (wait_for_event, render_ui).
PluginRegistry Collects MontyPlugins with namespace validation and collision detection.
MontyPlugin Extension point for modular host function bundles with lifecycle hooks.
HostFunction A single callable host function with schema and handler.
HostFunctionSchema Metadata (name, description, params) for a host function.
BridgeEvent Sealed event hierarchy emitted during execution.
0
likes
120
points
39
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

High-level bridge layer for dart_monty. Host functions, event loop, plugin system.

Topics

#python #sandbox #interpreter

License

MIT (license)

Dependencies

dart_monty_platform_interface, dinja, meta, path, struct_log

More

Packages that depend on dart_monty_bridge