Jupyter widgets for SAGE Combinat
Project description
Jupyter editable widgets for Sagemath combinatorial objects:
Partition & Skew Partition
Standard/Semi-standard/Generic Tableau & Skew Tableau
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
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
Hashes for sage-combinat-widgets-0.5.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5255e860d0c8d857868bba4d64b8d13f05920fa4dd172fbe9f8d3912d5fe32ab |
|
MD5 | 62c0de79664f7e857da160b9da08f5d9 |
|
BLAKE2b-256 | 7f2c83989ba271041e80a915aea8f2bde759f12db3b5ca241979400a9945ded7 |