aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info
diff options
context:
space:
mode:
Diffstat (limited to '.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info')
-rw-r--r--.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/INSTALLER1
-rw-r--r--.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/LICENSE25
-rw-r--r--.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/METADATA87
-rw-r--r--.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/RECORD8
-rw-r--r--.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/WHEEL5
-rw-r--r--.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/top_level.txt1
6 files changed, 127 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/INSTALLER
new file mode 100644
index 00000000..a1b589e3
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/INSTALLER
@@ -0,0 +1 @@
+pip
diff --git a/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/LICENSE
new file mode 100644
index 00000000..ac450e30
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/LICENSE
@@ -0,0 +1,25 @@
+BSD 2-Clause License
+
+Copyright (c) 2018-2020, Ewald de Wit
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/METADATA b/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/METADATA
new file mode 100644
index 00000000..4665c5a3
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/METADATA
@@ -0,0 +1,87 @@
+Metadata-Version: 2.1
+Name: nest-asyncio
+Version: 1.6.0
+Summary: Patch asyncio to allow nested event loops
+Home-page: https://github.com/erdewit/nest_asyncio
+Author: Ewald R. de Wit
+Author-email: ewald.de.wit@gmail.com
+License: BSD
+Keywords: asyncio,nested,eventloop
+Classifier: Development Status :: 5 - Production/Stable
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: BSD License
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
+Classifier: Programming Language :: Python :: 3 :: Only
+Classifier: Framework :: AsyncIO
+Requires-Python: >=3.5
+Description-Content-Type: text/x-rst
+License-File: LICENSE
+
+|Build| |Status| |PyPiVersion| |License| |Downloads|
+
+Introduction
+------------
+
+By design asyncio `does not allow <https://github.com/python/cpython/issues/66435>`_
+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``.
+
+Installation
+------------
+
+.. code-block::
+
+ pip3 install nest_asyncio
+
+Python 3.5 or higher is required.
+
+Usage
+-----
+
+.. code-block:: python
+
+ import nest_asyncio
+ nest_asyncio.apply()
+
+Optionally the specific loop that needs patching can be given
+as argument to ``apply``, otherwise the current event loop is used.
+An event loop can be patched whether it is already running
+or not. Only event loops from asyncio can be patched;
+Loops from other projects, such as uvloop or quamash,
+generally can't be patched.
+
+
+.. |Build| image:: https://github.com/erdewit/nest_asyncio/actions/workflows/test.yml/badge.svg?branche=master
+ :alt: Build
+ :target: https://github.com/erdewit/nest_asyncio/actions
+
+.. |PyPiVersion| image:: https://img.shields.io/pypi/v/nest_asyncio.svg
+ :alt: PyPi
+ :target: https://pypi.python.org/pypi/nest_asyncio
+
+.. |Status| image:: https://img.shields.io/badge/status-stable-green.svg
+ :alt:
+
+.. |License| image:: https://img.shields.io/badge/license-BSD-blue.svg
+ :alt:
+
+.. |Downloads| image:: https://static.pepy.tech/badge/nest-asyncio/month
+ :alt: Number of downloads
+ :target: https://pepy.tech/project/nest-asyncio
+
diff --git a/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/RECORD b/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/RECORD
new file mode 100644
index 00000000..ba24c864
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/RECORD
@@ -0,0 +1,8 @@
+__pycache__/nest_asyncio.cpython-312.pyc,,
+nest_asyncio-1.6.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
+nest_asyncio-1.6.0.dist-info/LICENSE,sha256=vs6faGVf8jt3QTJGwGUDhrh9p8NoIwPdDujj6nYw6Fs,1322
+nest_asyncio-1.6.0.dist-info/METADATA,sha256=f3uY-eGiipWX1w35FYF1oi0FRGzksyiQjZIOcpPTW9I,2812
+nest_asyncio-1.6.0.dist-info/RECORD,,
+nest_asyncio-1.6.0.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
+nest_asyncio-1.6.0.dist-info/top_level.txt,sha256=cQFBM_fPbDdhVVihWwS-29WiW17LZ3r4lSXyvwFzNzs,13
+nest_asyncio.py,sha256=KkW14bq07D5BoOTpkjlwv8dFX5uRw9Z84TR_u5wR7_o,7490
diff --git a/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/WHEEL
new file mode 100644
index 00000000..1f37c02f
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/WHEEL
@@ -0,0 +1,5 @@
+Wheel-Version: 1.0
+Generator: bdist_wheel (0.40.0)
+Root-Is-Purelib: true
+Tag: py3-none-any
+
diff --git a/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/top_level.txt
new file mode 100644
index 00000000..eab423b8
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/nest_asyncio-1.6.0.dist-info/top_level.txt
@@ -0,0 +1 @@
+nest_asyncio