diff options
Diffstat (limited to 'databases/py-aiosqlite/pkg-descr')
-rw-r--r-- | databases/py-aiosqlite/pkg-descr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/py-aiosqlite/pkg-descr b/databases/py-aiosqlite/pkg-descr new file mode 100644 index 000000000000..dd2b1aa9c3f9 --- /dev/null +++ b/databases/py-aiosqlite/pkg-descr @@ -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 |