--- id: catalogue version: "2.0.10" license: MIT license_treatment: permissive maintenance: active --- # catalogue — Super lightweight function registries for your library License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install catalogue uv add catalogue poetry add catalogue ## Description # catalogue: Super lightweight function registries for your library `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. [![tests](https://github.com/explosion/catalogue/actions/workflows/tests.yml/badge.svg)](https://github.com/explosion/catalogue/actions/workflows/tests.yml) [![Current Release Version](https://img.shields.io/github/v/release/explosion/catalogue.svg?style=flat-square&include_prereleases&logo=github)](https://github.com/explosion/catalogue/releases) [![pypi... ## AI interpretation — verify before relying catalogue provides lightweight function registries that let you register and look up functions by string name, making it easy to build extensible, serializable plugin systems without relying on pickle. Verdict: catalogue is a stable, actively maintained, zero-friction utility for building plugin systems. With no known vulnerabilities, permissive MIT licensing, and minimal dependencies, it's a reliable choice for projects needing serializable function registries. [View on SkillFed](https://skillfed.io/packages/catalogue) · [View on PyPI](https://pypi.org/project/catalogue/)