Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14264 > unrolled thread
| Started by | Edward Betts <edward@4angle.com> |
|---|---|
| First post | 2022-07-22 00:10 +0200 |
| Last post | 2022-07-22 00:10 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.maint.python
Bug#1015824: ITP: python-catalogue -- Lightweight function registries for your library Edward Betts <edward@4angle.com> - 2022-07-22 00:10 +0200
| From | Edward Betts <edward@4angle.com> |
|---|---|
| Date | 2022-07-22 00:10 +0200 |
| Subject | Bug#1015824: ITP: python-catalogue -- Lightweight function registries for your library |
| Message-ID | <ELMwN-cV9t-9@gated-at.bofh.it> |
Package: wnpp Severity: wishlist Owner: Edward Betts <edward@4angle.com> X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org * Package name : python-catalogue Version : 2.0.7 Upstream Author : ExplosionAI GmbH <contact@explosion.ai> * URL : https://github.com/explosion/catalogue * License : MIT Programming Lang: Python Description : Lightweight function registries for your library 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. I plan to maintain this package as part of the Python modules team.
Back to top | Article view | linux.debian.maint.python
csiph-web