Skip to content

Python package for using the C++ library libsemigroups via cppyy

License

Notifications You must be signed in to change notification settings

MTWhyte/libsemigroups_cppyy

 
 

Repository files navigation

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

About

Python package for using the C++ library libsemigroups via cppyy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 55.4%
  • Python 43.8%
  • Other 0.8%