devel/py-catalogue 2.0.10_1 DragonFly
Super lightweight function registries for your library
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, python
- Package size
- 34.1 KiB, 178.8 KiB installed
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.
In the other systems
The newest version among them is 2.0.10, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/py-catalogue | 2.0.10_1 newest | none known | - | [email protected] | - |
| FreeBSD | devel/py-catalogue | 2.0.10_1 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-catalogue | 2.0.10_1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-catalogue | 2.0.10_1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install py311-catalogue
From DPorts:
cd /usr/dports/devel/py-catalogue && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.