Jupyter widgets for SAGE Combinat
Project description
Jupyter editable widgets for Sagemath combinatorial objects:
Partition & Skew Partition
Standard/Semi-standard/Generic Tableau & Skew Tableau
Parallelogram Polyomino
Also :
Matrices
grid-representable Graphs
Installation
Local install from source
Download the source from the git repository:
$ git clone https://github.com/sagemath/sage-combinat-widgets.git
Change to the root directory and run:
$ sage -pip install --upgrade --no-index -v .
For convenience this package contains a [makefile](makefile) with this and other often used commands. Should you wish too, you can use the shorthand:
$ make install
Usage
Once the package is installed, you can use it in Sage Jupyter Notebook.
from sage_combinat_widgets import GridViewWidget
S = StandardTableaux(15).random_element()
w = TableauWidget(t)
w
See the demo notebook.
Tests
Once the package is installed, one can use the SageMath test system configured in setup.py to run the tests:
$ sage setup.py test
This is just calling sage -t with appropriate flags.
Shorthand:
$ make test
Documentation
The documentation of the package can be generated using Sage’s Sphinx installation:
$ cd docs $ sage -sh -c "make html"
Shorthand:
$ make doc
Acknowledgments
This package was created under funding of the Horizon 2020 European Research Infrastructure project OpenDreamKit (grant agreement #676541).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sage-combinat-widgets-0.7.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7c77b6c9d8cd946674729fd2611c88918372f2e6eccbe1bbc6687be2bd104b4 |
|
MD5 | 52d79ca297ca5bb2b51560352d3343dc |
|
BLAKE2b-256 | cbf2f84606c4f6e97c877815eaa6887698fa30b981071a8ce1bc0ddac6264299 |
Hashes for sage_combinat_widgets-0.7.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7c2f35fe125003de1506349c39b6d72b04749ddb9a3b8bf438717486509d0b2 |
|
MD5 | 75610ccb102d797320ef2f1a590a311d |
|
BLAKE2b-256 | 86a132881ae46fff9d8bddf9e13f7ced7cbfafdcbd4e8159bdde91433bdc5ce6 |