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 10.0 (buster) 0.8.1-2    
Debian GNU/Linux 11.0 (bullseye) 0.8.1-3    
Debian GNU/Linux 9.0 (stretch) 0.8.1-1 0.7-1~nd70+1+nd90+1 i386, amd64, sparc, armel
Debian testing (bookworm) 0.8.1-4    
Debian unstable (sid) 0.8.1-4 0.7-1~nd+1 i386, amd64, armel
Ubuntu 16.04 “Xenial Xerus” (xenial) 0.8.1-1    
Ubuntu 18.04 “Bionic Beaver” (bionic) 0.8.1-1    
Ubuntu 20.04 “Focal Fossa” (focal) 0.8.1-3    
Ubuntu 21.10 “Impish Indri” (impish) 0.8.1-3    
Ubuntu 22.04 “Jammy Jellyfish” (jammy) 0.8.1-3    


blog comments powered by Disqus