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.

example/example.dart

/// Desktop plugin registration example.
///
/// `dart_monty_desktop` registers itself automatically via Flutter's
/// federated plugin system. Import `dart_monty` in your app:
///
/// ```dart
/// import 'package:dart_monty/dart_monty.dart';
///
/// final monty = MontyPlatform.instance;
/// final result = await monty.run('2 + 2');
/// print(result.value); // 4
/// ```
library;

void main() {
  // This package registers itself automatically.
  // See the dart_monty package for usage examples.
}
0
likes
140
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.

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