Date: Sun, 12 Jan 2020 04:31:42 +0000 (UTC) From: =?UTF-8?Q?Romain_Tarti=c3=a8re?= <romain@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522749 - in head/databases: . py-aiosqlite Message-ID: <202001120431.00C4VgID093660@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: romain Date: Sun Jan 12 04:31:42 2020 New Revision: 522749 URL: https://svnweb.freebsd.org/changeset/ports/522749 Log: New port: databases/py-aiosqlite 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. WWW: https://pypi.python.org/pypi/aiosqlite Added: head/databases/py-aiosqlite/ head/databases/py-aiosqlite/Makefile (contents, props changed) head/databases/py-aiosqlite/distinfo (contents, props changed) head/databases/py-aiosqlite/pkg-descr (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Sun Jan 12 03:57:40 2020 (r522748) +++ head/databases/Makefile Sun Jan 12 04:31:42 2020 (r522749) @@ -757,6 +757,7 @@ SUBDIR += py-agate-sql SUBDIR += py-aiopg SUBDIR += py-aioredis + SUBDIR += py-aiosqlite SUBDIR += py-alembic SUBDIR += py-apsw SUBDIR += py-asyncpg Added: head/databases/py-aiosqlite/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-aiosqlite/Makefile Sun Jan 12 04:31:42 2020 (r522749) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= aiosqlite +PORTVERSION= 0.11.0 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= romain@FreeBSD.org +COMMENT= AsyncIO bridge to the standard sqlite3 module for Python 3.5+ + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= autoplist distutils + +.include <bsd.port.mk> Added: head/databases/py-aiosqlite/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-aiosqlite/distinfo Sun Jan 12 04:31:42 2020 (r522749) @@ -0,0 +1,3 @@ +TIMESTAMP = 1578801636 +SHA256 (aiosqlite-0.11.0.tar.gz) = 4f02314a42db6722dc26f2a6119c64e3f05f141f57bbf2b1e1f9fd741b6d7fb8 +SIZE (aiosqlite-0.11.0.tar.gz) = 10062 Added: head/databases/py-aiosqlite/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-aiosqlite/pkg-descr Sun Jan 12 04:31:42 2020 (r522749) @@ -0,0 +1,12 @@ +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. + +WWW: https://pypi.python.org/pypi/aiosqlite
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001120431.00C4VgID093660>