databases/py-aiosqlite 0.15.0_1 MidnightBSD
AsyncIO bridge to the standard sqlite3 module for Python 3.5+
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- databases, python
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 |
|---|---|---|
| MidnightBSD | databases/py-aiosqlite | 0.15.0_1 |
| FreeBSD | databases/py-aiosqlite | 0.22.1 |
| OpenBSD | databases/py-aiosqlite | 0.22.1 |
| NetBSD | databases/py-aiosqlite | 0.22.1 |
| DragonFly | databases/py-aiosqlite | 0.19.0 |
| HardenedBSD | databases/py-aiosqlite | 0.22.1 |
| GhostBSD | databases/py-aiosqlite | 0.22.1 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}aiosqlite
From mports:
cd /usr/mports/databases/py-aiosqlite && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiosqlite>0:databases/py-aiosqlite
Dependencies
As this port's Makefile names them.
Runtime 1
${PYTHON_PKGNAMEPREFIX}sqlite3>0: databases/py-sqlite3
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- python:3.5+
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| aiosqlite-0.15.0.tar.gz | 24363 | a2884793f4dc8f2798d90e1dfecb2b56a6d479cf039f7ec52356a7fd5f3bdc57 |
Master sites 1
- PYPI