anysqlite-0.0.5
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | anysqlite-0.0.5 |
| نام | anysqlite |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Karen Petrosyan <kar.petrosyanpy@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/anysqlite/ |
| مجوز | - |
# anysqlite
Anysqlite provides an `async/await` interface to the standard `sqlite3` library and supports both `trio` and `asyncio` backends using the power of [Anyio](https://github.com/agronholm/anyio).
[](https://pypi.org/project/anysqlite)
[](https://pypi.org/project/anysqlite)
-----
## Installation
```console
pip install anysqlite
```
## Basic usage
``` python
>>> 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',)]
```
نیازمندی
| مقدار | نام |
|---|---|
| - | anyio>3.4.0 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl anysqlite-0.0.5:
pip install anysqlite-0.0.5.whl
نصب پکیج tar.gz anysqlite-0.0.5:
pip install anysqlite-0.0.5.tar.gz