×

By design asyncio does not allow its event loop to be nested. This presents a practical problem - when in an environment where the event loop is already running it's impossible to run tasks and wait for the result. Trying to do so will give the error RuntimeError - This event loop is already running. The issue pops up in various environments, such as web servers, GUI applications and in Jupyter notebooks. This module patches asyncio to allow nested use of asyncio.run and loop.run_until_complete.

Uploaded Mon Mar 31 22:51:08 2025
md5 checksum 0a89aa9b5e5e36efeef8d4df24f6c39c
arch x86_64
build py311h06a4308_0
depends python >=3.11,<3.12.0a0
license BSD-2-Clause
license_family BSD
md5 0a89aa9b5e5e36efeef8d4df24f6c39c
name nest-asyncio
platform linux
sha1 1c20ce7f2e6b826564afee12508c229be21db1a9
sha256 aa24de2bd4c097451acda3d5a5ef3052477b2d596a1a6148f4578762278d7ccd
size 16977
subdir linux-64
timestamp 1676823394794
version 1.5.6