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 color conversion in various colorspaces and palettes
container advanced containers : Record (struct), and INFINITE Sequence
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 efficient Euclidian Graphs for networkx and related algorithms
image
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 motion simulation (kinematics)
optim various optimization algorithms : knapsack, traveling salesman, simulated annealing, differential evolution
piecewise piecewise-defined functions
plot plotable rich object display on IPython/Jupyter notebooks
polynomial simple manipulation of polynomials (without SimPy) see http://docs.sympy.org/dev/modules/polys/reference.html if you need more …
statemachine
stats very basic statistics functions
table “mini pandas.DataFrame” Table class with Excel + CSV I/O, easy access to columns, HTML output, and much more.
tests utilities for unit tests (using nose)
workdays WorkCalendar class with datetime operations on working hours, handling holidays merges and improves BusinessHours and workdays packages

Classes

Indices and tables