aioconsole
Asynchronous console and interfaces for asyncio
Decision gist · record as of 2026-08-14
Yes, if you need a quick async REPL for exploration or are maintaining legacy code. The package is stable, actively maintained, and has no external dependencies. However, the documentation recommends evaluating alternatives for new projects, so verify whether this meets your specific needs before committing.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.8.
- The package's own documentation recommends alternative libraries for new async input use cases.
- Low install friction with no runtime dependencies.
License · maintenance · safety
GPL-3.0-or-later (copyleft) — Licensed under GPL-3.0-or-later (copyleft). Any derivative work or modification must be distributed under the same or compatible license; proprietary or closed-source projects cannot incorporate this package without legal review.
last release 2025-10-14 (304 days) · last repo commit 2026-05-23 · 485 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 833,936 downloads/mo, #4,937 on PyPI
Alternatives
Verify before relying
# Install
pip install aioconsole
# Use the async console
apython
# Or import and use async functions
import asyncio
from aioconsole import ainput, aprint
async def main():
name = await ainput("Enter your name: ")
await aprint(f"Hello, {name}!")
asyncio.run(main())- Whether ainput() performance or feature set meets modern async application needs
- Current state of readline support and terminal compatibility across platforms
- Whether stream-based interface serving is actively used or maintained
- How this compares to alternatives mentioned in the documentation for new projects
What it is and what it does
aioconsole bridges the gap between Python's standard synchronous console functions and asyncio by providing async-aware equivalents. It lets you use `await` syntax directly in an interactive Python console via the `apython` command, and offers async versions of `input()`, `print()`, `exec()`, and the interactive code interpreter. The package has no runtime dependencies and installs cleanly on modern Python versions supporting Python >= 3.8.
The package was first released in 2016 and remains actively maintained. However, the documentation itself notes that the ecosystem has evolved since its early releases, and recommends considering other options for new projects depending on your specific use case.
Use it for
- Quick interactive exploration of asyncio code without modifying source files using the `apython` REPL.
- Building a command-line tool that needs to prompt for user input while running async tasks.
- Embedding an async-aware Python console in an asyncio application for debugging or runtime inspection.
- Running Python scripts or modules with an event loop already active via the `apython` command.
- Serving a remote async console interface over a network socket for interactive debugging.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a quick async REPL for exploration or are maintaining legacy code.
The package is stable, actively maintained, and has no external dependencies. However, the documentation recommends evaluating alternatives for new projects, so verify whether this meets your specific needs before committing.
Install
aioconsole on PyPI
Before you install
Low install friction with no runtime dependencies. Actively maintained as of 2025-10-14 with recent commits; however, the documentation itself notes that superior alternatives now exist for async prompting and console interaction.
Requires Python >= 3.8. The package's own documentation recommends alternative libraries for new async input use cases.
License in practice
Licensed under GPL-3.0-or-later (copyleft). Any derivative work or modification must be distributed under the same or compatible license; proprietary or closed-source projects cannot incorporate this package without legal review.
Quickstart
# Install
pip install aioconsole
# Use the async console
apython
# Or import and use async functions
import asyncio
from aioconsole import ainput, aprint
async def main():
name = await ainput("Enter your name: ")
await aprint(f"Hello, {name}!")
asyncio.run(main())
Verify before relying
- Whether ainput() performance or feature set meets modern async application needs
- Current state of readline support and terminal compatibility across platforms
- Whether stream-based interface serving is actively used or maintained
- How this compares to alternatives mentioned in the documentation for new projects
Package facts
| License | GPL-3.0-or-later copyleft |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 304 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 833,936 / month, #4,937 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)Programming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: aioconsole-0.8.2-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 input prompt”
- aioconsoleProvides asynchronous equivalents to Python's built-in `input()`,…
- pydantic-ai-shieldsPydantic AI Shields provides guardrail capabilities for Pydantic AI…
- inputimeoutProvides cross-platform standard input with a timeout, allowing you…
Give your agent the search over MCP, or paste the wish link into any chat.
More Terminals packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Rich renders styled text, tables, progress bars, syntax highlighting, markdown, and tracebacks to the terminal with minimal code.
Colorama makes ANSI escape sequences for colored terminal text work on Windows by intercepting and converting them to win32 API calls, while passing through unchanged on other platforms.
Install it if you need colored terminal output to work on Windows or want to use ANSI-based libraries portably; skip it only if you target non-Windows platforms…
Measures the displayed width of Unicode strings in terminals, accounting for wide characters, combining marks, and terminal escape sequences that standard Python string functions mishandle.
Install it if your application formats text for terminals and handles non-ASCII characters.
Run a subprocess in a pseudo terminal (pty) and interact with its input and output, enabling automation of interactive programs that require terminal features like password prompts or curses-style interfaces.
However, note that it is aging (last release 2020-12-28) and not actively maintained; it works well for its narrow, well-defined purpose but won't receive updates for…
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
See also aiomonitor · aiostream · aiofiles · pyserial-asyncio · synchronicity · aiomultiprocess · aioserial · click-repl · aioshutil · qasync