{"repo":"Arfey/django-async-backend","free":true,"listed":false,"github":"https://github.com/Arfey/django-async-backend","clone":"git clone https://github.com/Arfey/django-async-backend.git","description":"True async Django ORM and PostgreSQL backend with connection pooling and async transactions","language":"Python","stars":51,"topics":["async","django","orm","postgresql"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Async Django ORM (Django Async Backend) Async Django ORM and PostgreSQL database backend. 📖 Read the documentation --- Installation The binary extra installs the C-accelerated psycopg implementation. Without it you get the pure-Python implementation, which is noticeably slower. If you use connection pooling, add the pool extra as well: The package tracks Django's major and minor version — for example 6.0.x matches Django 6.0 — because a large part of the ORM layer is generated from Django's own source. Quick start Or drop to a raw async cursor: [!WARNING] Async does not mean parallel. Within one async context, all ORM and cursor calls share a single connection per database alias, so queries are serialized even under asyncio.gather() . This mirrors Django's DEP 0009. Supported methods Legend: ✅ supported · ❌ not supported · ⚠️ supported with caveats QuerySet methods methods supported comments ----------------------------------- --------- -------- Model.objects.aget ✅ Model.objects.acreate ✅ Model.objects.acount ✅ Model.objects.none ✅ Model.objects.abulk create ✅ Model.objects.abulk update ✅ Model.objects.aget or create ✅ Model.objects.aupdate or create ✅ Model.objects.aearliest ✅ Model.objects.alatest ✅ Model.objects.afirst ✅ Model.objects.alast ✅ Model.objects.ain bulk ✅ Model.objects.adelete ✅ Model.objects.aupdate ✅ Model.objects.aexists ✅ Model.objects.acontains ✅ Model.objects.aexplain ✅ Model.objects.araw ❌ Model.objects.all ✅ Model.objects.filter ✅ Model.objects.exclud","default_branch":null,"files":null,"tree":[],"storefront":"/r/Arfey","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Arfey/django-async-backend/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}