← Packages
python-catalogue
Super lightweight function registries for your library
- Current
- 2.0.10
- License
- MIT
RuntimeDeps
| Dependency | Observed source | Current requirement |
|---|---|---|
4.16.0 | ||
3.23.1 | ||
3.14.9 |
Dependency conditions
- Applies when (any)
- python_version < "3.8"
- Applies when (any)
- python_version < "3.8"
Description
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.
Changelog
PR · 2
Checks
| Monitor | Observation | Last checked |
|---|---|---|
Checked | ||
Checked | ||
Checked | ||
Checked | ||
Not configured No reliable monitor identity/configuration. | — | |
Not applicable No confirmed version upgrade; this monitor is not run. | — | |
Checked | Last attempted | |
Checked Current source component only; local patches, build options, bundled dependencies and binary artifacts are not evaluated. | ||
Checked |