All Projects → zeromake → aiosqlite3

zeromake / aiosqlite3

Licence: MIT License
sqlite3 on asyncio use loop.run_in_executor proxy

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to aiosqlite3

Aiosqlite
asyncio bridge to the standard sqlite3 module
Stars: ✭ 411 (+1857.14%)
Mutual labels:  sqlite, asyncio
Aioodbc
aioodbc - is a library for accessing a ODBC databases from the asyncio
Stars: ✭ 206 (+880.95%)
Mutual labels:  sqlite, asyncio
Tortoise Orm
Familiar asyncio ORM for python, built with relations in mind
Stars: ✭ 2,558 (+12080.95%)
Mutual labels:  sqlite, asyncio
Piccolo
A fast, user friendly ORM and query builder which supports asyncio.
Stars: ✭ 219 (+942.86%)
Mutual labels:  sqlite, asyncio
Databases
Async database support for Python. 🗄
Stars: ✭ 2,602 (+12290.48%)
Mutual labels:  sqlite, asyncio
asynchronous
A D port of Python's asyncio library
Stars: ✭ 35 (+66.67%)
Mutual labels:  aio, asyncio
AspSqliteCache
An ASP.NET Core IDistributedCache provider backed by SQLite
Stars: ✭ 39 (+85.71%)
Mutual labels:  sqlite
sanic-url-shortener
Example of how to use Sanic and asyncpg (PostgreSQL)
Stars: ✭ 16 (-23.81%)
Mutual labels:  asyncio
PokeChat
UNIX compatible, Discord and Telegram inspired, Pokémon-themed instant messaging service.
Stars: ✭ 11 (-47.62%)
Mutual labels:  sqlite
django-udemy-clone
Simple Udemy Clone using Django
Stars: ✭ 97 (+361.9%)
Mutual labels:  sqlite
automate-home
Yet another python home automation (iot) project. Because a smart light is more than just on or off.
Stars: ✭ 59 (+180.95%)
Mutual labels:  asyncio
fastapi-boilerplate
FastAPI boilerplate for real world production
Stars: ✭ 145 (+590.48%)
Mutual labels:  asyncio
waio
Is a pretty simple and fully asynchronous framework for WhatsApp Business API written in Python 3.7 with asyncio and aiohttp.
Stars: ✭ 18 (-14.29%)
Mutual labels:  asyncio
sqlite zstd vfs
SQLite3 extension for read/write storage compression with Zstandard
Stars: ✭ 42 (+100%)
Mutual labels:  sqlite
lighthouse
Easy clojure relational database queries, migrations and connection pooling
Stars: ✭ 19 (-9.52%)
Mutual labels:  sqlite
Quiz-App
A Quiz Android application 📱 built using Java ♨️ and showing best practices of 🛠️ Room
Stars: ✭ 33 (+57.14%)
Mutual labels:  sqlite
StarDustCFWPack
StarDust es un Pack con los CFW actuales tipo AIO, Configurado con Atmosphere, SX OS Agrega también las app mas básicas para empezar y no preocuparse por nada
Stars: ✭ 83 (+295.24%)
Mutual labels:  aio
Desenvolvimento-Android-do-absoluto-zero-para-iniciantes
Visite meu site e conheça todos os meus cursos 100% on-line.
Stars: ✭ 33 (+57.14%)
Mutual labels:  sqlite
aiohttp-jwt
aiohttp middleware and helper utils for working with JSON web token.
Stars: ✭ 70 (+233.33%)
Mutual labels:  asyncio
aiodogstatsd
An asyncio-based client for sending metrics to StatsD with support of DogStatsD extension
Stars: ✭ 26 (+23.81%)
Mutual labels:  asyncio

aiosqlite3

Travis Build Status codecov pypi

Basic Example

import asyncio
import aiosqlite3

async def test_example(loop):
    conn = await aiosqlite3.connect('sqlite.db', loop=loop)
    cur = await conn.cursor()
    await cur.execute("SELECT 42;")
    r = await cur.fetchall()
    print(r)
    await cur.close()
    await conn.close()

if __name__ == '__main__':
    loop = asyncio.get_event_loop()
    loop.run_until_complete(test_example(loop))

or async with

import asyncio
import aiosqlite3

async def test_example(loop):
    async with aiosqlite3.connect('sqlite.db', loop=loop) as conn:
        async with conn.cursor() as cur:
            await cur.execute("SELECT 42;")
            r = await cur.fetchall()
            print(r)

if __name__ == '__main__':
    loop = asyncio.get_event_loop()
    loop.run_until_complete(test_example(loop))
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].