summaryrefslogtreecommitdiff
path: root/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2024-04-03 03:10:44 -0400
committercyfraeviolae <cyfraeviolae>2024-04-03 03:10:44 -0400
commit6d7ba58f880be618ade07f8ea080fe8c4bf8a896 (patch)
treeb1c931051ffcebd2bd9d61d98d6233ffa289bbce /venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info
parent4f884c9abc32990b4061a1bb6997b4b37e58ea0b (diff)
venv
Diffstat (limited to 'venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info')
-rw-r--r--venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/INSTALLER1
-rw-r--r--venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/LICENSE21
-rw-r--r--venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/METADATA122
-rw-r--r--venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/RECORD26
-rw-r--r--venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/WHEEL4
5 files changed, 174 insertions, 0 deletions
diff --git a/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/INSTALLER b/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/INSTALLER
new file mode 100644
index 0000000..a1b589e
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/INSTALLER
@@ -0,0 +1 @@
+pip
diff --git a/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/LICENSE b/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/LICENSE
new file mode 100644
index 0000000..bbb5ba0
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2022 Amethyst Reese
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/METADATA b/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/METADATA
new file mode 100644
index 0000000..74e724a
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/METADATA
@@ -0,0 +1,122 @@
+Metadata-Version: 2.1
+Name: aiosqlite
+Version: 0.20.0
+Summary: asyncio bridge to the standard sqlite3 module
+Author-email: Amethyst Reese <amy@n7.gg>
+Requires-Python: >=3.8
+Description-Content-Type: text/x-rst
+Classifier: Development Status :: 5 - Production/Stable
+Classifier: Framework :: AsyncIO
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: MIT License
+Classifier: Topic :: Software Development :: Libraries
+Requires-Dist: typing_extensions >= 4.0
+Requires-Dist: attribution==1.7.0 ; extra == "dev"
+Requires-Dist: black==24.2.0 ; extra == "dev"
+Requires-Dist: coverage[toml]==7.4.1 ; extra == "dev"
+Requires-Dist: flake8==7.0.0 ; extra == "dev"
+Requires-Dist: flake8-bugbear==24.2.6 ; extra == "dev"
+Requires-Dist: flit==3.9.0 ; extra == "dev"
+Requires-Dist: mypy==1.8.0 ; extra == "dev"
+Requires-Dist: ufmt==2.3.0 ; extra == "dev"
+Requires-Dist: usort==1.0.8.post1 ; extra == "dev"
+Requires-Dist: sphinx==7.2.6 ; extra == "docs"
+Requires-Dist: sphinx-mdinclude==0.5.3 ; extra == "docs"
+Project-URL: Documentation, https://aiosqlite.omnilib.dev
+Project-URL: Github, https://github.com/omnilib/aiosqlite
+Provides-Extra: dev
+Provides-Extra: docs
+
+aiosqlite\: Sqlite for AsyncIO
+==============================
+
+.. image:: https://readthedocs.org/projects/aiosqlite/badge/?version=latest
+ :target: https://aiosqlite.omnilib.dev/en/latest/?badge=latest
+ :alt: Documentation Status
+.. image:: https://img.shields.io/pypi/v/aiosqlite.svg
+ :target: https://pypi.org/project/aiosqlite
+ :alt: PyPI Release
+.. image:: https://img.shields.io/badge/change-log-blue
+ :target: https://github.com/omnilib/aiosqlite/blob/master/CHANGELOG.md
+ :alt: Changelog
+.. image:: https://img.shields.io/pypi/l/aiosqlite.svg
+ :target: https://github.com/omnilib/aiosqlite/blob/master/LICENSE
+ :alt: MIT Licensed
+
+aiosqlite provides a friendly, async interface to sqlite databases.
+
+It replicates the standard ``sqlite3`` module, but with async versions
+of all the standard connection and cursor methods, plus context managers for
+automatically closing connections and cursors:
+
+.. code-block:: python
+
+ async with aiosqlite.connect(...) as db:
+ await db.execute("INSERT INTO some_table ...")
+ await db.commit()
+
+ async with db.execute("SELECT * FROM some_table") as cursor:
+ async for row in cursor:
+ ...
+
+It can also be used in the traditional, procedural manner:
+
+.. code-block:: python
+
+ db = await aiosqlite.connect(...)
+ cursor = await db.execute('SELECT * FROM some_table')
+ row = await cursor.fetchone()
+ rows = await cursor.fetchall()
+ await cursor.close()
+ await db.close()
+
+aiosqlite also replicates most of the advanced features of ``sqlite3``:
+
+.. code-block:: python
+
+ async with aiosqlite.connect(...) as db:
+ db.row_factory = aiosqlite.Row
+ async with db.execute('SELECT * FROM some_table') as cursor:
+ async for row in cursor:
+ value = row['column']
+
+ await db.execute('INSERT INTO foo some_table')
+ assert db.total_changes > 0
+
+
+Install
+-------
+
+aiosqlite is compatible with Python 3.8 and newer.
+You can install it from PyPI:
+
+.. code-block:: console
+
+ $ pip install aiosqlite
+
+
+Details
+-------
+
+aiosqlite allows interaction with SQLite databases on the main AsyncIO event
+loop without blocking execution of other coroutines while waiting for queries
+or data fetches. It does this by using a single, shared thread per connection.
+This thread executes all actions within a shared request queue to prevent
+overlapping actions.
+
+Connection objects are proxies to the real connections, contain the shared
+execution thread, and provide context managers to handle automatically closing
+connections. Cursors are similarly proxies to the real cursors, and provide
+async iterators to query results.
+
+
+License
+-------
+
+aiosqlite is copyright `Amethyst Reese <https://noswap.com>`_, and licensed under the
+MIT license. I am providing code in this repository to you under an open source
+license. This is my personal repository; the license you receive to my code
+is from me and not from my employer. See the `LICENSE`_ file for details.
+
+.. _LICENSE: https://github.com/omnilib/aiosqlite/blob/master/LICENSE
+
diff --git a/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/RECORD b/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/RECORD
new file mode 100644
index 0000000..6236eb3
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/RECORD
@@ -0,0 +1,26 @@
+aiosqlite-0.20.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
+aiosqlite-0.20.0.dist-info/LICENSE,sha256=qwwXHcPvi_MlqEu3fYVUIfJhEzXd9uCIFrKSLE7cD3Y,1071
+aiosqlite-0.20.0.dist-info/METADATA,sha256=Ec4xgHlepuHQhJ8Ldg7EkveV2Aj8wdc8P6gaUzfNU28,4275
+aiosqlite-0.20.0.dist-info/RECORD,,
+aiosqlite-0.20.0.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
+aiosqlite/__init__.py,sha256=JMIfUTUQRPkz3IrNFp3MK3uIMfGkMauUKZ3TS1vnqqk,893
+aiosqlite/__pycache__/__init__.cpython-311.pyc,,
+aiosqlite/__pycache__/__version__.cpython-311.pyc,,
+aiosqlite/__pycache__/context.cpython-311.pyc,,
+aiosqlite/__pycache__/core.cpython-311.pyc,,
+aiosqlite/__pycache__/cursor.cpython-311.pyc,,
+aiosqlite/__version__.py,sha256=6eee2XXMX-6B4aIDDNSY-QHv9gvpf7vhSTbYTyDebNU,157
+aiosqlite/context.py,sha256=d78NqvrUgj3UQFFbwpJM0S1TjNtJJ5VpQ77pq3j3OIk,1372
+aiosqlite/core.py,sha256=37wORBXtJ4xhDdqOVvqppDNM4XeNYD6RHslVkzMCBYI,12226
+aiosqlite/cursor.py,sha256=XzdHbUCy76Ot53r5cAHvepU6LyXxNSNR2Oh9L1a4M6s,3504
+aiosqlite/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+aiosqlite/tests/__init__.py,sha256=nKLBhR8SLx2dkw4UL052QKD7EzC9ctagfSJ9MpsDPrY,95
+aiosqlite/tests/__main__.py,sha256=V3sH21pONg0y2-WN7rkfvgjf8zO-lS1wFyINq5hTdpA,167
+aiosqlite/tests/__pycache__/__init__.cpython-311.pyc,,
+aiosqlite/tests/__pycache__/__main__.cpython-311.pyc,,
+aiosqlite/tests/__pycache__/helpers.cpython-311.pyc,,
+aiosqlite/tests/__pycache__/perf.cpython-311.pyc,,
+aiosqlite/tests/__pycache__/smoke.cpython-311.pyc,,
+aiosqlite/tests/helpers.py,sha256=ghmZrf_nEfjkuRpZkCH9Pmg2ZnC19c2Leiq9nXqVX_g,727
+aiosqlite/tests/perf.py,sha256=pBCOKkTLh0j4cz7ZWe3WNxsVmdKTKAw0VWN_K-YwRmc,6593
+aiosqlite/tests/smoke.py,sha256=9B-6Wo4rLP9rfdyRxG_QY2JAJtq7fDTJoT8gjeCkWi4,16580
diff --git a/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/WHEEL b/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/WHEEL
new file mode 100644
index 0000000..3b5e64b
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/aiosqlite-0.20.0.dist-info/WHEEL
@@ -0,0 +1,4 @@
+Wheel-Version: 1.0
+Generator: flit 3.9.0
+Root-Is-Purelib: true
+Tag: py3-none-any