BSD Ports

databases/py-aiosqlite 0.22.1 FreeBSD

AsyncIO bridge to the standard sqlite3 module for Python 3.7+

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9f49ffc938
License
MIT
Categories
databases, python
Package size
47.3 KiB, 240.4 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

SystemPortVersion
FreeBSDdatabases/py-aiosqlite0.22.1
OpenBSDdatabases/py-aiosqlite0.22.1
NetBSDdatabases/py-aiosqlite0.22.1
DragonFlydatabases/py-aiosqlite0.19.0
MidnightBSDdatabases/py-aiosqlite0.15.0_1

Install

Binary package:

pkg install py312-aiosqlite

From the ports tree:

cd /usr/ports/databases/py-aiosqlite/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-aiosqlite>0:databases/py-aiosqlite

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.22.10.22.10.17.00.19.00.22.1
FreeBSD:14:quarterly0.22.10.22.1n/a0.19.00.22.1
FreeBSD:15:latest0.22.10.22.1n/a0.19.00.19.0
FreeBSD:15:quarterly0.22.10.22.1n/an/an/a
FreeBSD:16:latest0.22.10.22.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 20
Run dependencies 15

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
aiosqlite-0.22.1.tar.gz14821043e0bd78d32888c0a9ca90fc788b38796843360c855a7262a532813133a0650
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
9f49ffc938 Yuri Victorovich databases/py-aiosqlite: update 0.19.0 → 0.22.1
PR: 297073 Approved by: Romain Tartière <[email protected]> (maintainer)