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.

Source Distribution

sage-combinat-widgets-0.7.6b.tar.gz (95.3 kB view details)

Uploaded Source

File details

Details for the file sage-combinat-widgets-0.7.6b.tar.gz.

File metadata

  • Download URL: sage-combinat-widgets-0.7.6b.tar.gz
  • Upload date:
  • Size: 95.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for sage-combinat-widgets-0.7.6b.tar.gz
Algorithm Hash digest
SHA256 0343b6795765426a13bf4be9f5f48181b049d640c5ee0aeb7f08906164f90785
MD5 03c7066e38677602199a9db559e25c4b
BLAKE2b-256 4d979fd6c336cdd95f2b64963338aec61121d752e2b5a3019c0a596010c152a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page