Goulib
library of useful Python code for scientific + technical applications
Install / Use
/learn @goulu/GoulibREADME
goulib
library of useful Python code for scientific + technical applications.
see the IPython notebook <https://github.com/goulu/goulib/blob/master/examples/notebook.ipynb>_ for an overview of features
.. image:: https://badge.fury.io/gh/goulu%2Fgoulib.svg :target: https://badge.fury.io/gh/goulu%2Fgoulib .. image:: http://img.shields.io/badge/license-LGPL-green.svg :target: https://github.com/goulu/goulib/blob/master/LICENSE.TXT :alt: License .. image:: https://badge.fury.io/py/goulib.svg :target: https://pypi.python.org/pypi/goulib/ :alt: Version .. image:: https://github.com/goulu/Goulib/actions/workflows/build.yml/badge.svg :target: https://github.com/goulu/Goulib/actions/workflows/build.yml :alt: Build .. image:: https://coveralls.io/repos/github/goulu/Goulib/badge.svg?branch=master :target: https://coveralls.io/github/goulu/Goulib?branch=master :alt: Coverage .. image:: https://readthedocs.org/projects/goulib/badge/?version=latest :target: http://goulib.readthedocs.org/en/latest/ :alt: Doc
:author: Philippe Guglielmetti goulib@goulu.net :installation: "pip install goulib" :distribution: https://pypi.python.org/pypi/goulib :documentation: http://goulib.readthedocs.org/en/latest/ :examples: .. https://github.com/goulu/goulib/blob/master/examples/notebook.ipynb :source: https://github.com/goulu/goulib
Modules
colors
very simple RGB color management
container
sorted collection
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, geom3d
2D + 3D geometry
graph
efficient Euclidian Graphs for NetworkX <http://networkx.github.io/>_ and related algorithms
image
image processing and conversion
interval
operations on [x..y[ intervals
itertools2
additions to itertools standard library
markup
simple HTML/XML generation (forked from markup <http://pypi.python.org/pypi/markup/>)
math2
additions to math standard library
motion
motion simulation (kinematics)
optim
optimization algorithms : knapsack, traveling salesman, simulated annealing
periodic
periodic functions (WIP)
piecewise
piecewise-defined functions
plot
plotable rich object display on IPython notebooks
polynomial
manipulation of polynomials
stats
very basic statistics functions
table
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 <http://pypi.python.org/pypi/BusinessHours/> and workdays <http://pypi.python.org/pypi/workdays/>_ packages
Requirements
quite a lot of packages are needed for the full functionality of goulib, but most modules need only a small subset with lazy import when possible.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
96.8kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
344.1kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
