aioconsole icon indicating copy to clipboard operation
aioconsole copied to clipboard

Asynchronous console and interfaces for asyncio

Results 10 aioconsole issues
Sort by recently updated
recently updated
newest added

Certain programs can call your python program without a stdin. For example when you use `docker run` without the `-i` option you can get the following exception when calling a...

On Linux, trying to use regular blocking `input()` after a call to `ainput()` fails with `EOFError`. Minimal example: ```python import asyncio from aioconsole import ainput async def main(): await ainput("ainput:...

I have added `eval` (aeval) to the library, it's just aexec, but soon enough I'll add a custom executor for `aeval`.

Pardon my ignorance, but why is InteractiveEventLoop an event loop at all, rather than a coroutine? E.g. 66a2316703eed26b6381d5a15eec8227a931f4de. The reason I care is because I want to use a uvloop...

Hi, I would like to use input/ainput for debugging purpose. So I start my python script in the console. And to use input I currently start a thread which simply...

It's quite cumbersome to type out `streams=(None, writer_stream)` for each `aprint` call. This way `aprint` will kinda be like `print`. Perhaps the argument should be renamed to `file` or `writer`...

Tells type checkers that this library has typing support. See: https://blog.whtsky.me/tech/2021/dont-forget-py.typed-for-your-typed-python-package/

Hello, I've added option for sharing locals between different connections allowing for persisting some of the state. Example scenario ``` profile = cProfile.Profile() profile.enable() ``` after some time ``` profile.disable()...

ainput() returns a string, we should note that in the function declaration.

Similar to https://github.com/vxgmichel/aioconsole/issues/104 I have a task that waits for user input but I'd like to be able to cancel that task - unfortunately is seems that I can't do...