darkprop Python Package

We provide a Python package also called darkprop, which is a wrapper of the darkprop C++ library covering almost all APIs. The package can be installed via pip

$ pip install darkprop

Tip

If there is a network problem during pip install, you can set up a mirror server. For example, using Tsinghua mirror, add -i option to pip install command

$ pip install -i https://pypi.tuna.tsinghua.edu.cn/simple darkprop

Note

Currently only Linux and macOS (arm64) platforms are supported.

If there are problems with pip install, you can build the package from the source. See python/README.md or darkprop’s pypi page for instructions.

Demonstration Jupyter notebooks can be found in the examples/python folder.