dart_monty_native 0.6.0 copy "dart_monty_native: ^0.6.0" to clipboard
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.

Live Demo | GitHub | Monty

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

See the main dart_monty repository for full documentation.

0
likes
150
points
--
downloads

Publisher

unverified uploader

Native 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_native

Packages that implement dart_monty_native