python_ffi_dart 0.0.3
python_ffi_dart: ^0.0.3 copied to clipboard
A Python-FFI for Dart, intended for Dart-only applications outside of a Flutter project.
python_ffi_dart #
A Python-FFI for Dart.
Easily import any pure Python module into your Dart or Flutter project.
Getting Started #
Note: This package is intended to be used in a Dart console project, for Flutter apps
see python_ffi.
Detailed instructions on how to use this package can be found in the documentation.
See also the dartpip package for an easy way to add Python
modules to your project.
See also the example project for a working example.
Limitations #
This package expects the Python dynamic library (Python 3.11) to be installed on the system in the
default location ("/Library/Frameworks/Python.framework/Versions/3.11/Python"). You can override
this by specifying libpath when calling PythonFfiDart.instance.initialize().