Python Interface

A Python package to interface OPFLearn with Python can be found at opflearn. This package utilizes PyJulia to allow Python users to create datasets from a Python enviroment. A guide on how to install PyJulia and run Julia scripts from Python can be found here. Once Julia is installed, the OPFLearn package must be installed as shown in the Installation section.

The opflearn Python package is NOT on the Python Package Index Repository, so it has to be install from GitHub as follows,

pip install git+https://github.com/TragerJoswig-Jones/opflearn.git

The Python interface has most of the same Julia functions from OPFLearn.jl as callable Python functions, but not all. For functions that are not included in the interface, PyJulia calls can be used.

Note

This Python interface sometimes requires using values from NumPy and does not allow for passing in modular functions.