skillfed

more-click

Implementations of common CLI patterns on top of Click

more-click v0.1.3 150.8K downloads/30d#10,954 on PyPI5
Permissive license Active released

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-click

uv

uv add more-click

poetry

poetry add more-click

Installing 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

Development Status :: 1 - PlanningEnvironment :: ConsoleFramework :: PytestFramework :: SphinxFramework :: toxIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Typing :: Typed

Tags

click decorator utilitiescli option patternsflask wsgi cli wrapperverbose logging optiongunicorn cli integration
cli-utilitiesclick-extensions

More Software Development packages