sagemath logo

Lukas Prokop, Martin Stoiber

2019/04/27, Grazer Linuxtage


Lukas Prokop

  • Self-employed software developer
  • Math student

Martin Stoiber

  • Hobby programmer
  • Math student


  • sagemath project
  • Installation
  • User Interfaces
  • sagemath by example
    • python introduction
    • polynomials
    • input and output
    • number theory
    • plotting
    • matrices

sagemath goal

Open source alternative to Magma, Maple, Mathematica, and MATLAB

docsCreative Commons 3.0 BY-SA License

sagemath project

  • System for Algebra and Geometry Experimentation
  • algebra, combinatorics, graph theory, numerical analysis, number theory, calculus, statistics
  • runs in the terminal and in the web browser (notebooks)
  • first release in 2005, 14 years old
  • latest release: 8.7, 2019/03/23
  • 243 contributors, 10 from Austria


Interfaces: terminal

sagemath in a terminal
sagemath in a terminal

Interfaces: IPython

IPython notebook
IPython notebook

Interfaces: Jupyter

Jupyter notebook
Jupyter notebook

Interfaces: Jupyterlab


sagemath by example

see jupyterlab files


Can I use sage in my python script?
Yes, from sage.all import * but you are bound to an old python version
python 2 or 3?
sys.version_info(major=2, minor=7, micro=13, releaselevel='final', serial=0)
migration still going on
Can I import one sagemath notebook from another?
No, but you can import python files

Community and development