Jupyter widgets for SAGE Combinat
Project description
Jupyter editable widgets for Sagemath objects:
Standard/Semi-standard/Generic Tableau
Partition
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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6117b5b1d7b313d88d42a420ee4597c518c53fc944e3d0188ff2fbbe68dd2d9 |
|
MD5 | a8bc4e408aa810c8bc965ecb8e9cd9eb |
|
BLAKE2b-256 | 4dbae5c0de5b2152a7c224ceb8520b08deb38ebfe79d68bb32473db2b1c6e850 |