asyncclick
Composable command line interface toolkit, async fork
Decision gist · record as of 2026-08-14
Yes, if you need async command-line interfaces. Asyncclick is actively maintained, production-stable, has no known vulnerabilities, and requires only one lightweight dependency. The main constraint is Python 3.11+. It's a straightforward choice for CLI projects that depend on async I/O or integrate with async frameworks.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later
- Low install friction with a single runtime dependency (colorama).
- The package is actively maintained with a recent release 45 days ago and marked Production/Stable, though it requires Python 3.11 or later.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is permissive and imposes no significant restrictions on use or redistribution in most contexts.
last release 2026-06-30 (45 days) · last repo commit 2026-06-30 · 171 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,373,428 downloads/mo, #3,990 on PyPI
Alternatives
Verify before relying
pip install asyncclick
import asyncclick as click
@click.command()
@click.option("--name", prompt="Your name")
async def hello(name):
click.echo(f"Hello, {name}!")
if __name__ == '__main__':
hello()- Whether the asyncclick.prompt blocking parameter bug mentioned in the description has been fixed in version 8.4.2.1
- Compatibility scope with existing Click codebases beyond the documented import-swap requirement
What it is and what it does
Asyncclick is a fork of Click that brings async/await support to command-line interface building. Where Click requires synchronous command handlers, asyncclick lets you write async command and subcommand handlers that work seamlessly with asyncio or trio. You can mix sync and async handlers in the same program, and most of the Click API translates directly—the main difference is that several methods like BaseCommand.main and Context.invoke are now asynchronous.
The package inherits Click's core strengths: arbitrary nesting of commands, automatic help generation, and lazy subcommand loading. It depends only on colorama for terminal color support. Most existing Click code can be adapted by changing imports from click to asyncclick, though you'll need to await certain operations and may need to use anyio.run() to invoke commands from an async context.
Use it for
- Build CLI tools that need to perform async I/O (network calls, database queries) without blocking the event loop.
- Create command-line applications that integrate with asyncio or trio-based libraries and frameworks.
- Migrate existing Click-based CLIs to async when performance or concurrency requirements change.
- Develop multi-command CLI applications where some handlers are async and others remain synchronous.
- Write interactive CLI tools that use async prompts and need to remain responsive during user input.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need async command-line interfaces.
Asyncclick is actively maintained, production-stable, has no known vulnerabilities, and requires only one lightweight dependency. The main constraint is Python 3.11+. It's a straightforward choice for CLI projects that depend on async I/O or integrate with async frameworks.
Install
asyncclick on PyPI
Before you install
Low install friction with a single runtime dependency (colorama). The package is actively maintained with a recent release 45 days ago and marked Production/Stable, though it requires Python 3.11 or later.
Requires Python 3.11 or later
License in practice
BSD-3-Clause is permissive and imposes no significant restrictions on use or redistribution in most contexts.
Quickstart
pip install asyncclick
import asyncclick as click
@click.command()
@click.option("--name", prompt="Your name")
async def hello(name):
click.echo(f"Hello, {name}!")
if __name__ == '__main__':
hello()
Verify before relying
- Whether the asyncclick.prompt blocking parameter bug mentioned in the description has been fixed in version 8.4.2.1
- Compatibility scope with existing Click codebases beyond the documented import-swap requirement
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagecolorama |
| Maintenance | Actively maintained 45 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,373,428 / month, #3,990 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonTyping :: Typed |
Evidence: asyncclick-8.4.2.1-py3-none-any.whl
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 › “async cli framework”
- asyncclickAsyncclick provides a fork of Click that enables async command and…
- jubilantJubilant wraps the Juju CLI with a type-annotated Python interface,…
- flyteFlyte is a Python SDK for defining, orchestrating, and executing ML…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also click · opentelemetry-instrumentation-asyncclick · click-compose · auto-click-auto · rich-click · click-default-group · click-configfile · click-config-file · click-help-colors · click-datetime