logo
首页技术栈工具库讨论
catalogue

catalogue

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.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
GitHub iconexplosion/catalogue84
CONDA
conda install -c anaconda catalogue
查看
标签
根据用户添加的标签生成
暂无标签