Skip to main content

Jupyter widgets for SAGE Combinat

Project description

https://mybinder.org/badge.svg

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

  • EU logo This package was created under funding of the Horizon 2020 European Research Infrastructure project OpenDreamKit (grant agreement #676541).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sage-combinat-widgets, version 0.7.8
Filename, size File type Python version Upload date Hashes
Filename, size sage_combinat_widgets-0.7.8-py3-none-any.whl (79.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sage-combinat-widgets-0.7.8.tar.gz (102.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page