more-click
Implementations of common CLI patterns on top of Click
What it is and what it does
More Click is a library of reusable Click decorators and helper functions that reduce boilerplate when building command-line interfaces. It provides pre-configured options like `verbose_option` for logging control, `host_option` and `port_option` for web server configuration, and higher-level utilities like `make_web_command()` that wrap WSGI applications for CLI execution. The package is designed to let developers quickly add common CLI patterns without repeating decorator definitions across projects.
The library is particularly useful for packages that include optional web components. Rather than eagerly importing web dependencies at CLI startup, more_click uses WSGI-style string references to defer loading until needed. It can automatically choose between Flask's development server and gunicorn based on CLI flags, making it practical for both development and production deployment scenarios.
Use it for:
- Add a `--verbose` flag to a CLI tool that controls package logger verbosity
- Create a web command that runs a WSGI app with configurable host and port options
- Build a CLI that can switch between development server and gunicorn via a flag
- Wrap a WSGI application for CLI execution without eagerly importing dependencies at startup
- Organize multiple CLI commands in a Click group with shared host and port options
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides pre-built Click decorators and utilities for common CLI patterns, including options for logging, web server configuration, and WSGI app launching.
Yes, if you are building Click-based CLIs and want to reduce repetitive decorator definitions. The package is actively maintained, has no security vulnerabilities, and depends only on click. However, note its 'Development Status :: 1 - Planning' classifier—verify whether that reflects actual stability before relying on it in production.
Install
more-click on PyPI
pip
pip install more-clickuv
uv add more-clickpoetry
poetry add more-clickInstalling more-click
Before you install
Low install friction with a single runtime dependency on click. Active maintenance with recent commits and releases spanning since 2020.
License in practice
Licensed under MIT (permissive), allowing use in commercial and open-source projects with minimal restrictions.
Quickstart
from more_click import host_option, port_option
import click
@click.command()
@host_option
@port_option
def web(host: str, port: str):
app.run(host=host, port=port)
if __name__ == '__main__':
web()
Requires click as a runtime dependency; intended for use with WSGI applications.
Verify before relying
- Whether the package is suitable for production use given its 'Development Status :: 1 - Planning' classifier
- Performance characteristics when running WSGI apps via gunicorn integration
- Whether the web command utilities work with frameworks other than Flask
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — click |
| Maintenance | actively maintained — 297 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 150,754/month — #10,954 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: more_click-0.1.3-py3-none-any.whl
Keywords: snekpack, cookiecutter
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
click-logIntegrates Python's standard logging module…
permissive · top 5,000 on PyPI
rich-clickRenders Click command-line interfaces with rich…
permissive · top 1,000 on PyPI
click-datetimeAdds datetime type support to Click, allowing…
permissive · top 15,000 on PyPI
click-config-fileAdds configuration file support to Click…
permissive · top 15,000 on PyPI
click-default-groupExtends Click's Group class to invoke a default…
permissive · top 5,000 on PyPI
clickClick is a Python toolkit for building…
permissive · top 100 on PyPI
django-admin-extra-buttonsAdds custom buttons, links, and views to Django…
permissive · top 15,000 on PyPI
mkdocs-clickGenerates API documentation for Click…
permissive · top 5,000 on PyPI
pytest-loggingA pytest plugin that configures Python logging…
permissive · top 15,000 on PyPI
gunicornGunicorn is a WSGI and ASGI HTTP server for…
permissive · top 1,000 on PyPI