C-coded Python extension module that supports multiple-precision arithmetic.
In addition to supporting GMP or MPIR for multiple-precision integer and
rational arithmetic, gmpy2 adds support for the MPFR (correctly rounded real
floating-point arithmetic) and MPC (correctly rounded complex floating-point
arithmetic) libraries.
Gnuplot.py is a Python package that interfaces to gnuplot, the popular plotting
program. It allows you to use gnuplot from within Python to plot arrays of data
from memory, data files, or mathematical functions. If you use Python to
perform computations or as `glue' for numerical programs, you can use this
package to plot data on the fly as they are computed. And the combination with
Python makes it is easy to automate things, including to create crude
`animations' by plotting different datasets one after another.
Commands are communicated to gnuplot through a pipe and data either through
the same pipe (as "inline" data) or through temporary files. It has been
written and tested on a Unix computer.
This package has an object-oriented design that allows the user flexibility to
set plot options and to run multiple gnuplot sessions simultaneously. If you
are more ambitious, it is not difficult to add entirely new types of plottable
items by deriving from the `PlotItem' class.
For a demonstration, run the python file by typing `python demo.py'.
Graphillion is a Python software package on search, optimization, and
enumeration for a graphset, or a set of graphs.
- Lightweight data structures for handling x-illions of graphs
- Search, optimization, and enumerate large and complex graph sets
- Efficient implementation extending Python with C/C++
- Working with existing graph tools like NetworkX
- Open source MIT license
- Well tested: more than 600 unit tests
- Fast prototyping, easy to teach, and multi-platform
Python interface to GNU Scientific Library
This module extends Python with a Graph class which is capable of handling
arbitrary directed and undirected graphs with thousands of nodes and millions
of edges. Since the module makes use of the open source igraph library
written in almost 100% pure C, it is blazing fast and outperforms most other
pure Python-based packages around.
intspan is a set subclass that conveniently stores sets of integers.
Sets can be created from and displayed as integer spans such as
1-3,14,29,92-97 rather than exhaustive member listings.
Luminol is a light weight python library for time series data analysis.
The two major functionalities it supports are anomaly detection and
correlation. It can be used to investigate possible causes of anomaly.
MathDOM is a set of Python modules (using PyXML or
lxml, and pyparsing) that import mathematical terms
as a Content MathML DOM. It currently parses MathML
and literal infix terms into a DOM document and writes
out MathML and literal infix/prefix/postfix/Python
terms. The DOM elements are enhanced by domain specific
methods that make using the DOM a little easier.
Implementations based on PyXML and lxml/libxml2 are
available.
matplotlib is a python 2D plotting library which produces publication quality
figures using in a variety of hardcopy formats (PNG, JPG, PS, SVG) and
interactive GUI environments (WX, GTK, Tkinter) across platforms. matplotlib
can be used in python scripts, interactively from the python shell (ala matlab
or mathematica), in web application servers generating dynamic charts, or
embedded in GTK, Tk or WX applications; see backends.
Mpmath is a pure-Python library for multiprecision floating-point
arithmetic. It provides an extensive set of transcendental functions,
unlimited exponent sizes, complex numbers, interval arithmetic,
numerical integration and differentiation, root-finding, linear algebra,
and much more. Almost any calculation can be performed just as well at
10-digit or 1000-digit precision, and in many cases mpmath implements
asymptotically fast algorithms that scale well for extremely high
precision work. If available, mpmath will (optionally) use gmpy to
speed up high precision operations.