github.com/sympy/sympy ↗
A computer algebra system written in pure Python
Open this visualization on its own page →
Contributors
1315
Lines of Code
105,478
From
2007-07-19
To
2022-02-01
About sympy/sympy
SymPy is a Python library that implements a full-featured computer algebra system, enabling users to perform symbolic mathematics computations entirely in pure Python. It handles a wide range of mathematical operations including symbolic differentiation and integration, equation solving, matrix operations, calculus, and LaTeX parsing. The system is designed to be accessible and easy to use, with an interactive console that integrates with IPython for enhanced usability.
The project has deep roots in the open-source community, having started in 2005 and participated in every Google Summer of Code program since 2007. It has grown into a mature project maintained by a large contributor base, with comprehensive documentation and an active community that communicates through a mailing list and Gitter chat. The library is distributed under the BSD license and is available through multiple installation methods including pip and Anaconda.
SymPy welcomes contributions from developers of all experience levels, with tagged issues for newcomers and an established contributor guide. The project maintains extensive test coverage through automated testing via GitHub Actions, and contributors can validate pull requests using the sympy-bot tool. The codebase includes advanced features like an ANTLR4-based LaTeX parser and lexer for mathematical notation parsing.