🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

anysqlite

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anysqlite

0.0.5
Maintainers
1

anysqlite

Anysqlite provides an async/await interface to the standard sqlite3 library and supports both trio and asyncio backends using the power of Anyio.

PyPI - Version PyPI - Python Version

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',)]

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts