databases/py-aiosqlite 0.19.0 DragonFly
AsyncIO bridge to the standard sqlite3 module for Python 3.7+
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- databases, python
- Package size
- 37.1 KiB, 238.7 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | databases/py-aiosqlite | 0.19.0 |
| FreeBSD | databases/py-aiosqlite | 0.22.1 |
| OpenBSD | databases/py-aiosqlite | 0.22.1 |
| NetBSD | databases/py-aiosqlite | 0.22.1 |
| MidnightBSD | databases/py-aiosqlite | 0.15.0_1 |
| HardenedBSD | databases/py-aiosqlite | 0.22.1 |
| GhostBSD | databases/py-aiosqlite | 0.22.1 |
Install
Binary package:
pkg install py311-aiosqlite
From DPorts:
cd /usr/dports/databases/py-aiosqlite && make install clean