• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

jupyter_kernel_polymake/H29-Sep-2021-261216

Demo.ipynbH A D29-Sep-202111.9 KiB348347

LICENSEH A D29-Sep-2021486 139

README.mdH A D29-Sep-20211.5 KiB4430

SliderWidgetWithJohnsonSolids.ipynbH A D29-Sep-20211.4 KiB6362

setup.pyH A D29-Sep-20212.6 KiB6454

README.md

1# jupyter kernel polymake
2###Jupyter kernel for polymake
3
4This is the current beta version of a jupyter kernel for polymake. It uses the `ipykernel` and
5`pexpect` python module, along with some sugar.
6
7## Requirements
8
9To use this kernel, you need python3 with jupyter installed.
10To get further information about installing it, please have a look at [python](https://www.python.org)
11and [Jupyter](http://jupyter.org). For most Linux and OS X versions, all the packages needed are
12accessible via `pip`. For the usage of interactive widgets you also need the `ipywidgets` python module
13installed.
14
15Also, the latest version of [polymake](http://polymake.org) is required.
16
17## polymake-kernel
18
19To install the kernel for your Jupyter, clone this repository and install it via the following commands,
20where the first might be need super user rights, depending on your python installation. The second should
21be executed as the user who wants to use jupyter, e.g., your normal user.
22
23```shell
24    python setup.py install
25```
26
27If one of those commands fail, please make sure you have the proper rights. Also, check whether your
28python is really python3. If not, python3 might work for you, but if you want to start Jupyter via the commands
29below, you need to alias python3 for python
30
31To use it, use one of the following:
32
33```shell
34    jupyter notebook
35    jupyter qtconsole --kernel polymake
36    jupyter console --kernel polymake
37```
38
39Note that this kernel assumes that `polymake` is in the `PATH`.
40
41## Examples
42
43Please have a look at the Demo worksheet.
44