BSD Ports

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

SystemPortVersion
MidnightBSDdatabases/py-aiosqlite0.15.0_1
FreeBSDdatabases/py-aiosqlite0.22.1
OpenBSDdatabases/py-aiosqlite0.22.1
NetBSDdatabases/py-aiosqlite0.22.1
DragonFlydatabases/py-aiosqlite0.19.0
HardenedBSDdatabases/py-aiosqlite0.22.1
GhostBSDdatabases/py-aiosqlite0.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

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
python:3.5+
Service scripts
none

Files

distinfo 1
FileSizeSHA256
aiosqlite-0.15.0.tar.gz24363a2884793f4dc8f2798d90e1dfecb2b56a6d479cf039f7ec52356a7fd5f3bdc57
Master sites 1
  • PYPI