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.

Package availability chart
Distribution Base version Our version Architectures
Debian GNU/Linux 7.0 (wheezy) 0.8.1-1 0.7-1~nd70+1 i386, amd64, sparc, armel
Debian GNU/Linux 8.0 (jessie) 0.8.1-1 0.7-1~nd70+1 i386, amd64, sparc, armel
Debian GNU/Linux 9.0 (stretch) 0.8.1-1 0.7-1~nd70+1+nd90+1 i386, amd64, sparc, armel
Debian testing (buster) 0.8.1-1    
Debian unstable (sid) 0.8.1-1 0.7-1~nd+1 i386, amd64, armel
Ubuntu 12.04 LTS “Precise Pangolin” (precise) 0.7-1build1    
Ubuntu 14.04 “Trusty Tahr” (trusty) 0.8.1-1    
Ubuntu 16.04 “Xenial Xerus” (xenial) 0.8.1-1    
Ubuntu 16.10 “Yakkety Yak” (yakkety) 0.8.1-1    
Ubuntu 17.04 “Zesty Zapus” (zesty) 0.8.1-1    
Ubuntu 17.10 “Artful Aardvark” (artful) 0.8.1-1    

Comments

blog comments powered by Disqus