Skip to main content

No project description provided

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anysqlite-0.0.5.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

anysqlite-0.0.5-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page