A Custom Jupyter Widget Library
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
Built Distribution
Hashes for sage-combinat-widgets-0.7.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c387c6c649327e7e8e83433b091c32d232fd2ba298087cd89e0fd3fe2857f025 |
|
MD5 | 5ca13c38844296e5022b30a515412a55 |
|
BLAKE2b-256 | 00e97b290a659b58a30466651d2fb88418d3dfc60470f158fe837ea07b6b4ef2 |
Hashes for sage_combinat_widgets-0.7.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbcf68217cf08e9f5eb77677219637e06b1345aae9bfe3c661d583b44c8ce081 |
|
MD5 | fa74bc103690858e1da467af93180ddb |
|
BLAKE2b-256 | d55ec3ca8e372b845439834c3779b51a34c5b60a57e0e252507e8fed584399ab |