Symbolic Computation With Python Using Sympy

Sartaj  Singh

@leosartaj03

  • SymPy Developer
  • Mathematics and Computing undergrad
  • Student IIT BHU, India
  • FOSS enthusiast!

Who am I?

  • ​​Open Source Python Library
  • For Symbolic Computation
  • Written entirely in Python
  • No dependency except mpmath

What is SymPy?

Study and development of algorithms and software

for manipulating mathematical expressions and other

mathematical objects.

Symbolic Computation

Symbolic vs Numeric?

  • Symbolic:  π
  • Numeric:  3.14159265359

● Standalone

● Full featured

● BSD licensed

● Embraces Python

● Usable as a library

Why SymPy? 

Provide a symbolic manipulation library in Python.

- en route to a full featured computer algebra system

Goal

Ondřej Čertík started the project in 2006.

● Lot of work was done in Google Summer of Code 2007.

● Participated in every GSoC for last 9 years.

Aaron Meurer took over as a lead developer on Jan 4, 2011.

History

Features

Features

Introductory Notebook

http://github.com/leosartaj/sympy-pyconuk

N Pendulum Problem

Blog Link - http://www.moorepants.info/blog/npendulum.html

Small Package

Huge Capabilities!

< 5 MB

Statistics

  • Over 500 Contributors
  • Half a million lines of code & docs
  • 3100+ Stargazers on github repository
  • 1500+ forks
  • 200+ watchers
  • 60,000+ Monthly downloads on PyPi
  • 350+ Open Pull requests
  • 53 releases, Latest: SymPy 1.0!

Future Plans 

  • Make things faster. 
  • Implement more algorithms.
  • Encourage more people to use and contribute to SymPy.
  • Full List of things to be implemented
    • https://github.com/sympy/sympy/wiki/GSoC-2016-Ideas
  • A lot of work is going on SymEngine
    • https://github.com/symengine/symengine

References

  • http://docs.sympy.org/
  • http://www.moorepants.info/blog/npendulum.html
  • https://github.com/sympy/scipy-2016-tutorial
  • http://slides.com/aktech/sympy

Questions?

Thank You

Made with Slides.com