libsemigroups_cppyy is an experimental package for using the C++ library libsemigroups in python via cppyy.
Install libsemigroups, via its sources or conda package.
By conda: Add conda-forge to an installation of anaconda:
conda config --add channels conda-forge
And then download libsemigroups, specifying the version (1.0.6)
conda install libsemigroups=1.0.6
Then install cppyy and networkx via conda or pip:
conda install cppyy
conda install networkx
To use cppyy, note you will need gcc.
Finally, for normal use, git clone this repository and then run:
pip install .
Refer to demo.ipynb for more functionality.
If you have Docker installed, you can download this container using:
docker pull libsemigroups/libsemigroups_cppyy
The docker container for libsemigroups_cppyy
can be started by typing:
docker run --rm -it libsemigroups/libsemigroups_cppyy
and in the docker container you can start python by typing:
python3
Load the libsemigroups_cppyy
package in python by typing
import libsemigroups_cppyy