dart_monty_native 0.6.0
dart_monty_native: ^0.6.0 copied to clipboard
Native plugin for dart_monty, pure Dart bindings for Monty — a restricted sandboxed Python interpreter built in Rust.
dart_monty_native #
Part of dart_monty — pure Dart bindings for Monty, a restricted, sandboxed Python interpreter built in Rust.
Flutter plugin — native implementation of dart_monty using FFI. Runs the Monty Python interpreter in a background Isolate for non-blocking execution from Flutter apps on macOS, Linux, Windows, iOS, and Android.
Requires Flutter. This package is not intended for direct use. Import dart_monty instead — the federated plugin system selects this package automatically on native platforms.
How It Works #
DartMontyNative registers itself as the MontyPlatform instance via Flutter's dartPluginClass mechanism. Execution runs in a background Isolate to keep the UI thread responsive, delegating to dart_monty_ffi for the actual FFI calls.
Bundled Binaries #
This package vendors pre-built native libraries for supported platforms:
macos/libdart_monty_native.dyliblinux/libdart_monty_native.so
See the main dart_monty repository for full documentation.