About Anaconda Help Download Anaconda

Super lightweight function registries for your library

copied from conda-forge / catalogue

Installers

  • linux-64 v2.0.10
  • linux-aarch64 v2.0.10
  • linux-ppc64le v2.0.10
  • osx-64 v2.0.10
  • osx-arm64 v2.0.10
  • win-64 v2.0.10

conda install

To install this package run one of the following:
conda install fastchan::catalogue

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.


© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.1) Legal | Privacy Policy