No summary available
Project Links
Meta
Author: Karen Petrosyan
Requires Python: >=3.8
Classifiers
Development Status
- 4 - Beta
Programming Language
- Python
- Python :: 3.8
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: Implementation :: CPython
- Python :: Implementation :: PyPy
anysqlite
Anysqlite provides an async/await interface to the standard sqlite3 library and supports both trio and asyncio backends using the power of Anyio.
Installation
pip install anysqlite
Basic usage
>>> import anysqlite
>>>
>>> conn = await anysqlite.connect(":memory:")
>>> cursor = await conn.execute("SELECT DATETIME()")
>>>
>>> response = await cursor.fetchone()
>>> print(response)
[('2023-10-02 13:42:42',)]
Wheel compatibility matrix
Files in release
Extras:
None
Dependencies:
anyio
(>3.4.0)