×

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:10 2025
md5 checksum c0e82947520c1eb21a7d8ca5d4e08e30
arch x86_64
build py311h06a4308_0
depends python >=3.11,<3.12.0a0
license BSD-2-Clause
license_family BSD
md5 c0e82947520c1eb21a7d8ca5d4e08e30
name nest-asyncio
platform linux
sha1 3ddc9253f7abd52470f2ca8d4fede5b1f7a11799
sha256 d03086e37b69aa89566766837c8fe16431465f580499d01e8502d10fb0c001c3
size 16117
subdir linux-64
timestamp 1677784395188
version 1.5.5