Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.29 KB

File metadata and controls

31 lines (20 loc) · 1.29 KB

python_ffi_dart

pub package

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

On Linux this package expects python3.11 to be installed on the system and available in the PATH, e.g. by installing the python3.11 package. The Python dynamic library is not bundled with the package, you must use a local copy by specifying libPath when calling PythonFfiDart.instance.initialize().

On Windows this package expects python3.11 to be installed on the system and available in the PATH. The Python dynamic library is not bundled with the package, you must use a local copy by specifying libPath when calling PythonFfiDart.instance.initialize().