python-simplegeneric

Simple generic functions for Python


The simplegeneric module lets you define simple single-dispatch generic functions, akin to Python’s built-in generic functions like len(), iter() and so on. However, instead of using specially-named methods, these generic functions use simple lookup tables, akin to those used by e.g. pickle.dump() and other generic functions found in the Python standard library.


Advanced user information

Package availability chart
Distribution Base version Our version Architectures
Debian GNU/Linux 6.0 (squeeze)   0.7-1~nd60+1 i386, amd64, sparc
Debian GNU/Linux 7.0 (wheezy) 0.8.1-1 0.7-1~nd70+1 i386, amd64, sparc
Debian GNU/Linux 8.0 (jessie) 0.8.1-1 0.7-1~nd70+1 i386, amd64, sparc
Debian testing (stretch) 0.8.1-1 0.7-1~nd70+1+nd90+1 i386, amd64, sparc
Debian unstable (sid) 0.8.1-1 0.7-1~nd+1 i386, amd64
Ubuntu 10.04 LTS “Lucid Lynx” (lucid)   0.7-1~nd10.04+1 i386, amd64
Ubuntu 12.04 LTS “Precise Pangolin” (precise) 0.7-1build1    
Ubuntu 14.04 “Trusty Tahr” (trusty) 0.8.1-1    
Ubuntu 14.10 “Utopic Unicorn” (utopic) 0.8.1-1    
Ubuntu 15.04 “Vivid Vervet” (vivid) 0.8.1-1    
The source code for this portal is licensed under the GPL-3 and is available on git.debian.org.