Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Latest commit

 

History

History
56 lines (38 loc) · 1.56 KB

File metadata and controls

56 lines (38 loc) · 1.56 KB

libsemigroups_cppyy

Binder Build Status

libsemigroups_cppyy is an experimental package for using the C++ library libsemigroups in python via cppyy.

Installation

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.

Docker

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