{"id":23430,"library":"click-extra","title":"click-extra","description":"A drop-in replacement for Click that adds colorful and user-friendly CLI output, extended help formatting, table rendering, configuration management, and more. Version 7.14.1 supports Python >=3.10 and acts as a thin wrapper around Click, providing extra decorators, commands, and utilities. Releases are frequent, typically monthly.","status":"active","version":"7.14.1","language":"python","source_language":"en","source_url":"https://github.com/kdeldycke/click-extra","tags":["click","cli","color","help","configuration","tables","extra"],"install":[{"cmd":"pip install click-extra","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Core dependency; click-extra extends Click. Requires Click >=8.1 (compatible with 8.1, 8.2, 8.3+).","package":"click","optional":false},{"reason":"Required for table rendering with --table-format. Backward compatible with >=0.9.","package":"tabulate","optional":false},{"reason":"Used for syntax highlighting in help output and the wrap command.","package":"pygments","optional":false}],"imports":[{"wrong":"from click_extra import ExtraGroup","symbol":"ExtraGroup","correct":"from click_extra import ExtraGroup"}],"quickstart":{"code":"import click\nfrom click_extra import ExtraGroup, help_option\n\n@click.group(cls=ExtraGroup)\n@click.option('--name', default='world', help='Who to greet.')\n@click.pass_context\ndef cli(ctx, name):\n    ctx.ensure_object(dict)\n    ctx.obj['name'] = name\n\n@cli.command()\n@help_option('-h', '--help')\n@click.pass_context\ndef greet(ctx):\n    click.echo(f\"Hello, {ctx.obj['name']}!\")\n\nif __name__ == '__main__':\n    cli()","lang":"python","description":"Creates a CLI with colorful help using ExtraGroup and the click-extra help option."},"warnings":[{"fix":"Replace `version=value` with `version_fields={'version': value}` or use `ExtraVersionOption` directly.","message":"In version 7.7.0, the `version` parameter was removed from `ExtraCommand` and `ExtraGroup`. Use `version_fields` instead.","severity":"breaking","affected_versions":">=7.7.0"},{"fix":"Migrate your config section names to the new default and remove `fallback_sections`.","message":"The `config_schema` parameter accepts both dataclasses and callables. Legacy config section names using `fallback_sections` will issue deprecation warnings in future versions.","severity":"deprecated","affected_versions":">=7.8.0"},{"fix":"Ensure the SCRIPT argument matches an installed entry point (e.g., from pyproject.toml) or is in `module:function` format.","message":"When using `click-extra`'s `wrap` subcommand, the target script must be a valid console_scripts entry point or a `module:function` string. Otherwise, it will fail silently or produce no output.","severity":"gotcha","affected_versions":">=7.14.0"},{"fix":"If you need standard Click behavior, use `cls=click.Group` instead of `ExtraGroup`, or pass `colorize=False` to the decorator.","message":"The `click-extra` `ExtraGroup` changes Click's default help ordering and adds color by default. Existing Click code that relies on default help behavior may see different formatting.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'3.10':33 '7.14.1':30 'act':35 'add':12 'around':40 'cli':18,54 'click':2,10,41,53 'click-extra':1 'color':13,55 'command':45 'configur':25,57 'decor':44 'drop':6 'drop-in':5 'extend':20 'extra':3,43,59 'format':22 'frequent':50 'friend':17 'help':21,56 'manag':26 'month':52 'output':19 'provid':42 'python':32 'releas':48 'render':24 'replac':8 'support':31 'tabl':23,58 'thin':38 'typic':51 'user':16 'user-friend':15 'util':47 'version':29 'wrapper':39","created_at":"2026-05-01T08:07:44.585895+00:00","updated_at":"2026-05-01T08:07:44.585895+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'ExtraGroup' from 'click_extra' (/tmp/tmpunhd2kuw/venv/lib/python3.12/site-packages/click_extra/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"7.20.1","cli_name":"","cli_version":null,"type":"library","homepage":"https://kdeldycke.github.io/click-extra","github":"https://github.com/kdeldycke/click-extra","docs":null,"changelog":"https://github.com/kdeldycke/click-extra/blob/main/changelog.md","pypi":"https://pypi.org/project/click-extra/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","web-framework","database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}