python_ffi_dart 0.3.0+1 copy "python_ffi_dart: ^0.3.0+1" to clipboard
python_ffi_dart: ^0.3.0+1 copied to clipboard

outdated

A Python-FFI for Dart, intended for Dart-only applications outside of a Flutter project.

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 macOS 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().

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 bundled with the package, you can 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 bundled with the package, you can use a local copy by specifying libpath when calling PythonFfiDart.instance.initialize().

4
likes
0
points
131
downloads

Publisher

verified publisherivlivs.dev

Weekly Downloads

A Python-FFI for Dart, intended for Dart-only applications outside of a Flutter project.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

python_ffi_cpython_dart, python_ffi_interface

More

Packages that depend on python_ffi_dart