Goulib

library of useful Python code for scientific + technical applications

see the IPython notebook for an overview of features

License Version Build Tests Doc https://www.openhub.net/accounts/Goulu/widgets/account_tiny?format=gif https://api.coderwall.com/goulu/endorsecount.png
author:Philippe Guglielmetti goulib@goulu.net
installation:“pip install Goulib”
distribution:https://pypi.python.org/pypi/Goulib
documentation:https://readthedocs.org/
notebook:http://nbviewer.ipython.org/github/Goulu/Goulib/blob/master/notebook.ipynb
source:https://github.com/goulu/Goulib

Requirements

Goulib uses “lazy” requirements. Many modules and functions do not require any other packages, packages listed in requirements.txt are needed only by some classes or functions

Sphinx is needed to generate this documentation, Pythoscope is used to generate nose unit tests

Modules

colors hex RGB colors and related functions
container SortedCollection
datetime2 additions to datetime standard library
decorators useful decorators
drawing Read/Write and handle vector graphics in .dxf, .svg and .pdf formats
expr simple symbolic math expressions
geom 2D geometry
geom3d 3D geometry
graph
image image processing and conversion
interval operations on [a..b[ intervals
itertools2 additions to itertools standard library
markup simple HTML/XML generation (forked from markup)
math2 more math than math standard library, without numpy
motion
optim various optimization algorithms : knapsack, traveling salesman, simulated annealing, differential evolution
piecewise piecewise-defined functions
plot plotable rich object display on IPython notebooks
polynomial simple manipulation of polynomials (without SimPy)
statemachine
stats very basic statistics functions
table “mini pandas.DataFrame”
tests
workdays WorkCalendar class with datetime operations on working hours, handling holidays

Classes

Indices and tables