{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"}],"enrichment":{"capability":"Provides composable callback utilities for Click CLI applications, enabling you to chain multiple validators or transformations together and apply them to command parameters.","skillfed_tags":["click-extension","cli-validation","callback-composition"],"use_cases":["Chain multiple validation rules on a single CLI option without writing nested callback wrappers.","Apply the same validator to each element in a multi-value parameter using sequence_validator.","Build reusable validator functions that can be composed into different CLI commands.","Validate numeric ranges or string patterns by combining independent validator callbacks.","Reduce boilerplate in Click command definitions by composing validators declaratively."],"what_it_does":"click-compose is a small utility library that adds composition patterns to Click's callback system. It provides two main functions: multi_callback chains multiple validators or transformations into a single callback that applies them in sequence, and sequence_validator applies a validator to each element in a multi-value parameter. The library sits on top of Click and beartype, requiring Python 3.10 or later.\n\nThe package addresses a common pattern in CLI development where you want to reuse validation logic across multiple parameters or combine independent validators without nesting them manually. Instead of writing wrapper callbacks or repeating validation code, you compose validators declaratively at the parameter level.","worth_installing":"Yes, if you build Click CLIs and want to reduce callback boilerplate. The library is lightweight, has low install friction, carries no security vulnerabilities, and uses a permissive license. However, it is very new (first release in October 2025) with minimal real-world adoption, so treat it as a convenience tool rather than a critical dependency\u2014the same patterns can be implemented manually if needed."},"id":"click-compose","links":{"html":"https://skillfed.io/packages/click-compose","md":"https://skillfed.io/packages/click-compose.md","pypi":"https://pypi.org/project/click-compose/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-10-27","license_spdx":"MIT","license_treatment":"permissive","name":"click-compose","python_support":"supports_current","summary":"Composable Click callback utilities for building flexible CLI applications."},"popularity":{"monthly_downloads":170828,"position":10386,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2025.10.27.3"}
