django-async-orm
django-zen-queries
django-async-orm | django-zen-queries | |
---|---|---|
6 | 3 | |
130 | 355 | |
- | 0.6% | |
6.1 | 1.5 | |
10 months ago | about 2 months ago | |
Python | Python | |
MIT License | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-async-orm
- Django 4.0 Released
- Django module that brings async to django ORM.
-
Show HN: Django Async ORM
I'm not sure if its official. Would love some more guidance/clarity/docs/funding from the django foundation on what it looks like to migrate legacy code to the new ways.
The rednaks repo works great for just giving the new async stuff a go. If everything else is also using async.
I did some experimentation with this. And its a pain trying to migrate a production application that uses gevent and psycogreen2.
The documentation on the code migration path is pretty sparse.
The main hiccup that I ran into was psycogreen2 not being supported.
https://stackoverflow.com/questions/67735453/django-async-or...
https://github.com/rednaks/django-async-orm/discussions/9
- Django 4.0 release candidate 1 released
- Bringing Async Capabilities to Django ORM
django-zen-queries
-
Ban 1+N in Django
See also django-zen-queries https://github.com/dabapps/django-zen-queries , which can make it impossible for changes to a template to trigger queries.
-
Django wants you to build poor quality apps. Here's how to fix this.
I have no idea but the best way to make QuerySets explicit is by using a package called django-zen-queries.
-
Django 4.0 Released
> Making it more clear when you’re going to hit the database (explicit is better than implicit).
You might like https://github.com/dabapps/django-zen-queries
Gives you fine grain control about database queries
What are some alternatives?
tortoise-orm - Familiar asyncio ORM for python, built with relations in mind
django-seal - Django application providing queryset sealing capability.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
typer - Typer, build great CLIs. Easy to code. Based on Python type hints.
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
django-auto-prefetching - Automatic prefetching for Django
aiosql - Simple SQL in Python
django_for_startups - Code for the book Django for Startups
celery - Distributed Task Queue (development branch)
django-orm-plus
docker-django-example - A production ready example Django app that's using Docker and Docker Compose.
pellet - Pellet helps improve your Django app performance by discovering N+1 queries.