click-completion
Fish, Bash, Zsh and PowerShell completion for Click
Decision gist · record as of 2026-08-14
No—unless you are maintaining a Click application on a version before 8.0. Click 8.0 and later include native completion support that supersedes this package. The package is in maintenance mode, has not been released since 2019, and carries high install friction. For new projects or upgradeable codebases, use Click's built-in completion instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Click (version before 8.0 recommended; Click 8.0+ has native completion).
- Requires Jinja2.
- Requires one of: Bash, Zsh, Fish, or PowerShell.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and places no restrictions on use, modification, or distribution.
last release 2019-10-15 (2495 days) · last repo commit 2025-03-25 · 294 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 209,951 downloads/mo, #9,505 on PyPI
Alternatives
Verify before relying
import click_completion
click_completion.init()
# Then generate shell code:
code = click_completion.get_code()
# Or install directly:
click_completion.install()- Whether the package works correctly with modern Click versions (8.0+) despite the recommendation to use native completion instead.
- Current test coverage and whether the package is actively tested against supported shells.
- Compatibility with recent Python versions, as python_support is unspecified.
What it is and what it does
click-completion monkey-patches Click to add shell completion for Bash, Zsh, Fish, and PowerShell. It generates shell-specific activation code and can install it permanently into shell configuration directories. For Fish and Zsh, it also displays help text during completion. The package works by exporting a magic environment variable (_<PROG_NAME>_COMPLETE) that your Click application recognizes and uses to generate completion output.
The package is now in maintenance mode only—no new features are being added. If you are using Click 8.0 or later, Click's native completion support (introduced in that version) is the recommended approach. This package is primarily useful for applications built on older Click versions that need completion support across multiple shells.
Use it for
- Add Bash completion to a legacy Click CLI tool that cannot upgrade to Click 8.0.
- Enable Fish shell completion with help text display for a Click-based command-line application.
- Provide Zsh completion with argument documentation for a multi-command Click application.
- Generate and install PowerShell completion scripts for a Click tool used in Windows environments.
- Customize completion behavior by implementing the complete method on custom parameter types.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—unless you are maintaining a Click application on a version before 8.0.
Click 8.0 and later include native completion support that supersedes this package. The package is in maintenance mode, has not been released since 2019, and carries high install friction. For new projects or upgradeable codebases, use Click's built-in completion instead.
Install
click-completion on PyPI
Before you install
High install friction due to source-only distribution. Package is in maintenance mode only with no new features; last release was 2019-10-15 and last commit 2025-03-25. For Click 8.0 and later, use Click's native completion instead.
Requires Click (version before 8.0 recommended; Click 8.0+ has native completion). Requires Jinja2. Requires one of: Bash, Zsh, Fish, or PowerShell.
License in practice
MIT license is permissive and places no restrictions on use, modification, or distribution.
Quickstart
import click_completion
click_completion.init()
# Then generate shell code:
code = click_completion.get_code()
# Or install directly:
click_completion.install()
Verify before relying
- Whether the package works correctly with modern Click versions (8.0+) despite the recommendation to use native completion instead.
- Current test coverage and whether the package is actively tested against supported shells.
- Compatibility with recent Python versions, as python_support is unspecified.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Aging 2,495 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 209,951 / month, #9,505 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: click-completion-0.5.2.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “click shell completion”
- click-completionAdds shell completion support (Bash, Zsh, Fish, PowerShell) to Click…
- auto-click-autoAutomatically enables tab shell completion for Bash, Zsh, and Fish in…
- click-shellConverts a click command-line app into an interactive shell with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also auto-click-auto · shtab · argcomplete · pontos · mergify-cli · typer · click-help-colors · django-typer · colcon-zsh · mkdocs-click