https://github.com/erdewit/nest_asyncio

asyncio event-loop nested recursive

Last synced: about 1 month ago

Repository metadata:

Patch asyncio to allow nested event loops


Owner metadata:


Committers metadata

Last synced: about 1 month ago

Total Commits: 128
Total Committers: 12
Avg Commits per committer: 10.667
Development Distribution Score (DDS): 0.117

Commits in past year: 6
Committers in past year: 1
Avg Commits per committer in past year: 6.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Ewald de Wit e****t@g****m 113
Diego M. Rodriguez d****9@g****m 3
Yurii Karabas 1****o@g****m 2
Steffen 2****r 2
Graeme Smecher g****r@t****m 1
Guido Imperiale c****y@g****m 1
Jason Eu m****u@y****m 1
KOLANICH k****n@m****u 1
5j9 5****9 1
Doug Blank d****k@g****m 1
Hugo van Kemenade h****k 1
Nicholas Bollweg n****g@g****m 1

Issue and Pull Request metadata

Last synced: about 1 month ago


Package metadata

pypi: nest-asyncio

Patch asyncio to allow nested event loops

  • Homepage: https://github.com/erdewit/nest_asyncio
  • Documentation: https://nest-asyncio.readthedocs.io/
  • Licenses: BSD
  • Latest release: 1.6.0 (published 11 months ago)
  • Last Synced: 2024-11-11T00:17:16.229Z (about 1 month ago)
  • Versions: 36
  • Dependent Packages: 639
  • Dependent Repositories: 28,658
  • Downloads: 52,717,191 Last month
  • Docker Downloads: 597,496,555
  • Rankings:
    • Downloads: 0.025%
    • Dependent repos count: 0.042%
    • Dependent packages count: 0.05%
    • Docker downloads count: 0.28%
    • Average: 1.801%
    • Stargazers count: 3.306%
    • Forks count: 7.106%
  • Maintainers (1)
go: github.com/erdewit/nest_asyncio

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/erdewit/nest_asyncio#section-documentation
  • Licenses: bsd-2-clause
  • Latest release: v1.6.0 (published 11 months ago)
  • Last Synced: 2024-11-11T00:20:55.659Z (about 1 month ago)
  • Versions: 15
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Stargazers count: 2.518%
    • Forks count: 3.33%
    • Average: 6.556%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%
alpine: py3-nest_asyncio-pyc

Precompiled Python bytecode for py3-nest_asyncio

  • Homepage: https://github.com/erdewit/nest_asyncio
  • Licenses: BSD-2-Clause
  • Latest release: 1.5.6-r2 (published over 1 year ago)
  • Last Synced: 2024-11-11T00:20:12.964Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 6.891%
    • Stargazers count: 11.162%
    • Forks count: 16.403%
  • Maintainers (1)
alpine: py3-nest_asyncio

Asyncio patch to allow nested event loops

  • Homepage: https://github.com/erdewit/nest_asyncio
  • Licenses: BSD-2-Clause
  • Latest release: 1.5.6-r2 (published over 1 year ago)
  • Last Synced: 2024-11-11T00:19:49.431Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 6.891%
    • Stargazers count: 11.162%
    • Forks count: 16.403%
  • Maintainers (1)
alpine: py3-nest_asyncio

Asyncio patch to allow nested event loops

  • Homepage: https://github.com/erdewit/nest_asyncio
  • Licenses: BSD-2-Clause
  • Latest release: 1.5.5-r0 (published over 2 years ago)
  • Last Synced: 2024-11-11T00:19:20.686Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 6
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 5.94%
    • Average: 7.01%
    • Stargazers count: 8.798%
    • Forks count: 13.3%
  • Maintainers (1)
alpine: py3-nest_asyncio

Asyncio patch to allow nested event loops

  • Homepage: https://github.com/erdewit/nest_asyncio
  • Licenses: BSD-2-Clause
  • Latest release: 1.5.6-r0 (published about 2 years ago)
  • Last Synced: 2024-11-11T00:20:35.761Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 7
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 5.019%
    • Average: 7.922%
    • Stargazers count: 10.829%
    • Forks count: 15.841%
  • Maintainers (1)
alpine: py3-nest_asyncio

Asyncio patch to allow nested event loops

  • Homepage: https://github.com/erdewit/nest_asyncio
  • Licenses: BSD-2-Clause
  • Latest release: 1.6.0-r1 (published 8 months ago)
  • Last Synced: 2024-11-11T00:22:19.553Z (about 1 month ago)
  • Versions: 8
  • Dependent Packages: 2
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 3.393%
    • Average: 8.656%
    • Stargazers count: 12.989%
    • Forks count: 18.241%
  • Maintainers (1)
spack: py-nest-asyncio

Patch asyncio to allow nested event loops.

  • Homepage: https://github.com/erdewit/nest_asyncio
  • Licenses: []
  • Latest release: 1.5.6 (published over 1 year ago)
  • Last Synced: 2024-11-11T00:20:07.240Z (about 1 month ago)
  • Versions: 8
  • Dependent Packages: 7
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 8.448%
    • Average: 8.92%
    • Stargazers count: 10.504%
    • Forks count: 16.729%
  • Maintainers (1)
alpine: py3-nest_asyncio-pyc

Precompiled Python bytecode for py3-nest_asyncio

  • Homepage: https://github.com/erdewit/nest_asyncio
  • Licenses: BSD-2-Clause
  • Latest release: 1.6.0-r1 (published 8 months ago)
  • Last Synced: 2024-11-11T00:18:10.864Z (about 1 month ago)
  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Average: 11.405%
    • Stargazers count: 13.125%
    • Dependent packages count: 14.133%
    • Forks count: 18.364%
  • Maintainers (1)
conda: nest-asyncio

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.

  • Homepage: https://github.com/erdewit/nest_asyncio
  • Licenses: BSD-2-Clause
  • Latest release: 1.5.6 (published about 2 years ago)
  • Last Synced: 2024-11-11T00:21:42.140Z (about 1 month ago)
  • Versions: 17
  • Dependent Packages: 34
  • Dependent Repositories: 686
  • Rankings:
    • Dependent repos count: 1.003%
    • Dependent packages count: 2.016%
    • Average: 12.113%
    • Stargazers count: 17.734%
    • Forks count: 27.697%
conda: nest-asyncio

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.

  • Homepage: https://github.com/erdewit/nest_asyncio
  • Licenses: BSD-2-Clause
  • Latest release: 1.6.0 (published 10 months ago)
  • Last Synced: 2024-10-29T18:14:50.232Z (about 2 months ago)
  • Versions: 8
  • Dependent Packages: 12
  • Dependent Repositories: 686
  • Rankings:
    • Dependent packages count: 3.165%
    • Dependent repos count: 6.05%
    • Average: 20.051%
    • Stargazers count: 30.682%
    • Forks count: 40.307%
pypi: pyhoo

Yet another unofficial Yahoo Finance API, but with concurrent requests

  • Homepage:
  • Documentation: https://pyhoo.readthedocs.io/
  • Licenses: MIT
  • Latest release: 0.1.3 (published about 4 years ago)
  • Last Synced: 2024-11-11T00:18:06.457Z (about 1 month ago)
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 212 Last month
  • Rankings:
    • Dependent packages count: 10.103%
    • Dependent repos count: 21.607%
    • Average: 24.355%
    • Downloads: 41.354%
  • Maintainers (1)
alpine: py3-nest_asyncio

Asyncio patch to allow nested event loops

  • Homepage: https://github.com/erdewit/nest_asyncio
  • Licenses: BSD-2-Clause
  • Latest release: 1.5.8-r0 (published about 1 year ago)
  • Last Synced: 2024-11-11T00:21:44.627Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine: py3-nest_asyncio-pyc

Precompiled Python bytecode for py3-nest_asyncio

  • Homepage: https://github.com/erdewit/nest_asyncio
  • Licenses: BSD-2-Clause
  • Latest release: 1.5.8-r0 (published about 1 year ago)
  • Last Synced: 2024-11-11T00:21:48.045Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine: py3-nest_asyncio

Asyncio patch to allow nested event loops

  • Homepage: https://github.com/erdewit/nest_asyncio
  • Licenses: BSD-2-Clause
  • Latest release:
  • Last Synced: 2024-11-11T00:21:54.185Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine: py3-nest_asyncio-pyc

Precompiled Python bytecode for py3-nest_asyncio

  • Homepage: https://github.com/erdewit/nest_asyncio
  • Licenses: BSD-2-Clause
  • Latest release:
  • Last Synced: 2024-11-11T00:22:10.503Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)

Dependencies

.github/workflows/test.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
pyproject.toml pypi
setup.py pypi