3.11. Python Interface

MiniZinc can be directly used from Python using the MiniZinc Python package. This package provides an native python interface that interacts directly with the MiniZinc bundle installed on the machine. For installation instructions and more information about the package that provides the MiniZinc Python interface please visit https://python.minizinc.dev/.

警告

The development of MiniZinc Python is still in the very early stages. We appreciate any feedback for the package, but we would recommend refraining from using the package in production software. The package can drastically change and backwards compatible changes are not guaranteed.