CMD + K

catalogue

Anaconda Verified

Super lightweight function registries for your library

Installation

To install this package, run one of the following:

Conda
$conda install anaconda::catalogue

Usage Tracking

2.0.10
2.0.7
2.0.6
2.0.4
2.0.3
5 / 8 versions selected
Downloads (Last 6 months): 0

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.

About

Summary

Super lightweight function registries for your library

Last Updated

Dec 27, 2023 at 15:15

License

MIT

Total Downloads

36.7K

Version Downloads

4.6K

Supported Platforms

macOS-arm64
linux-64
linux-aarch64
linux-s390x
macOS-64
win-64

Unsupported Platforms

linux-ppc64le Last supported version: 2.0.7
win-32 Last supported version: 2.0.7
noarch Last supported version: 1.0.0