click-repl
REPL plugin for Click
Install
click-repl on PyPI
pip
pip install click-repluv
uv add click-replpoetry
poetry add click-replPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — click, prompt-toolkit |
| Maintenance | actively maintained — 1,155 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: click_repl-0.3.0-py3-none-any.whl
About click-repl
from the package's own PyPI description — quoted content, verbatim
click-repl
Tests (image) License (image) Python - version (image) PyPi - version (image) wheels (image) PyPI - Status (image) PyPI - Downloads (image)
Installation
Installation is done via pip:
pip install click-repl
Usage
In your click app:
import click
from click_repl import register_repl
@click.group()
def cli():
pass
@cli.command()
def hello():
click.echo("Hello world!")
register_repl(cli)
cli()
In the shell:
$ my_app repl
> hello
Hello world!
> ^C
$ echo hello | my_app repl
Hello world!
Features not shown:
-...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Adds an interactive REPL (read-eval-print loop) mode to Click command-line applications, letting users run CLI commands interactively with tab completion, command history, and persistent context between invocations.
Low friction: pure Python wheel with only two runtime dependencies (click and prompt-toolkit). Actively maintained with recent commits; 1155 days since last release suggests stable API rather than abandonment.
MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal obligations—only attribution required.
Usage
pip install click-repl
import click
from click_repl import register_repl
@click.group()
def cli():
pass
@cli.command()
def hello():
click.echo("Hello world!")
register_repl(cli)
cli()
Requires Python 3.6 or later and an existing Click application to wrap.
Verdict: Lightweight, well-maintained REPL layer for Click apps with no known vulnerabilities. MIT license and low install friction make it suitable for most projects. Best suited for CLI tools where interactive session state and command history add user value.
Needs verification
- Whether prompt-toolkit's optional dependencies (e.g., for Windows support) are automatically pulled in or require separate installation.
- Performance characteristics when handling large command histories or deeply nested Click command groups.
Similar packages
permissive · top 1,000 on PyPI
prompt_toolkitpermissive · top 1,000 on PyPI
click-pluginspermissive · top 1,000 on PyPI
click-option-grouppermissive · top 1,000 on PyPI
logurupermissive · top 1,000 on PyPI
jedipermissive · top 1,000 on PyPI
ipythonpermissive · top 1,000 on PyPI
clickpermissive · top 100 on PyPI
opentelemetry-semantic-conventions-aipermissive · top 1,000 on PyPI
jpype1permissive · top 1,000 on PyPI