./wip/py-catalogue, Super lightweight function registries for your library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.0.1, Package name: py38-catalogue-2.0.1, Maintainer: kamelderouiche

catalogue is a tiny, zero-dependencies library that makes it easy to
add function (or object) registries to your code. Function registries
are helpful when you have objects that need to be both easily serializable
and fully customizable. Instead of passing a function into your object,
you pass in an identifier name, which the object can use to lookup the
function from the registry. This makes the object easy to serialize,
because the name is a simple string. If you instead saved the function
, you'd have to use Pickle for serialization, which has many drawbacks


Master sites:

SHA1: 9731ac1ff64b798c7e1b6e19c84355a592bc845f
RMD160: 862e241fef9f153d163c0e37294a2a012b9de6eb
Filesize: 12.879 KB

Version history: (Expand)