dart_monty_desktop 0.4.3 copy "dart_monty_desktop: ^0.4.3" to clipboard
dart_monty_desktop: ^0.4.3 copied to clipboard

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

dart_monty_desktop #

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

Live Demo | GitHub | Monty

Flutter plugin — macOS and Linux desktop implementation of dart_monty using native FFI. Runs the Monty Python interpreter in a background Isolate for non-blocking execution from Flutter desktop apps.

Requires Flutter. This package is not intended for direct use. Import dart_monty instead — the federated plugin system selects this package automatically on macOS and Linux.

How It Works #

DartMontyDesktop 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.dylib
  • linux/libdart_monty_native.so

See the main dart_monty repository for full documentation.

0
likes
150
points
344
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues
Contributing

Topics

#python #sandbox #ffi #flutter

Documentation

API reference

License

MIT (license)

Dependencies

dart_monty_ffi, dart_monty_platform_interface, flutter

More

Packages that depend on dart_monty_desktop

Packages that implement dart_monty_desktop