SageMath external packages

A tentative list of external packages for SageMath (spkg, pip-installable packages, etc).

See also

List of external packages

See also

Python implementation of chebfun

by Chris Swierczewski

Purple Sage

by William Stein

A Library of Number Theory Code that depends on Sage.

Sébastien Labbé's research code

by Sébastien Labbé

See also this blog post


  • This is an spkg, rather than a standard pip-installable package.
  • Version 0.1 contains modules on digital geometry, combinatorics on words and more.
  • Version 0.2 provides modules on multidimensional continued fraction algorithms, matrix cocycles, languages and tikzpictures.
  • Version 0.3 to be released will be pip-installable.


by Nicolas Borie

A Sage Library of Combinatorial Hopf algebras.


by Nicolas M. Thiéry

A semigroup (representation) theory library for SageMath.

(very preliminary!!!)

Automata and semigroups

by Charles Paperman


by Luca De Feo

keywords: isogeny elliptic curve cryptography quantum

Schottky uniformization

by Jeremy Upsal

Various ideas from Schottky uniformization are implemented in Sage. These now include the SK prime function and will later include the Riemann Theta function built from a RS via Schottky uniformization due to Darren Crowdy.

flatsurf: flat surfaces

by Vincent Delecroix and Samuel Lelièvre

sage-flatsurf: flat surfaces

by Vincent Delecroix and Pat Hooper

Sage train track

by Thierry Coulbois


by Emil R. Vaughan

(it is a subject of a GSoC 2016 project to port it to Sage 7.4)


by Christoph Sorger and Manfred Lehn

A Sage library for computations in intersection theory.


by Manuel Kauers et al.

A Sage implementation of Ore algebras and Ore polynomials.



The library implements algorithms to construct elliptic curves with certain desired properties.


by Sara Forouhar

CryptoSage provides cryptography algorithms in SageMath.

cutgeneratingfunctionology (formerly infinite-group-relaxation-sage-code)

by Matthias Köppe, Yuan Zhou, C. Y. Hong, and Jiawei Wang

Python code for computation and experimentation with cut-generating functions, in particular the Gomory-Johnson model


by Viviane Pons

A Sage package to work on multipolynomials bases (Schubert, Grothendieck, Key).


by Tobias Rossmann

Zeta provides methods for computing local and topological zeta functions arising from the enumeration of subalgebras, ideals, submodules, representations, and conjugacy classes of suitable algebraic structures, as well as some other types of zeta functions.

Igusa and topological zeta

by Juan Viu-Sos

Calculation Of The (Local) Igusa And Topological Zeta Functions Of A Non-Degenerated Polynomial With Respect To His Newton'S Polyhedron.


by Johannes Schmitt et alii

admcycles is a SageMath module to compute with the tautological ring of the moduli spaces of complex curves.


by Jonathan Bober

This contains some Sage/Cython code for working with Dirichlet characters using a numbering scheme described by Brian Conrey.


by Stefan Wewers, Julian Rüth

A Sage toolbox for computing with Models of Curves over Local Fields.

Usain Boltz

by Matthieu Dien and Martin Pépin

Usain Boltz is a Python/Cython library meant to automate the random generation of tree-like structures.


by Matt Torrence

This is a Sage package for fast Additive Combinatorics functions.


by Peijun Xiao, Zeyi Wang, and Yuan Zhou

Interactive mixed integer linear programming solver


by Suchandan Pal

This is a package for calculating regular models of curves.


by Christian Nassau

Sage package for Steenrod algebra cohomology.

Torus Knots Counter

by Ángel González-Prieto (Universidad Politécnica de Madrid) and Vicente Muñoz (Universidad de Málaga).

SageMath script that computes the motive of the irreducible SL(r,k)-character variety of an (n,m)-torus knot


by Markus Wageringel

Sage interface for computing Gröbner bases with FGb.


by Markus Wageringel

Sage/NumPy interface for solving generalized eigenvalue problems of singular matrix pencils with GUPTRI.

SageMathExternalPackages (last edited 2020-09-12 16:24:42 by mwageringel)