django-readers
rapidpro
Our great sponsors
django-readers | rapidpro | |
---|---|---|
3 | 1 | |
180 | 36 | |
0.6% | - | |
6.7 | 0.0 | |
13 days ago | 5 days ago | |
Python | Python | |
BSD 2-clause "Simplified" License | GNU General Public License v3.0 or later |
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-readers
-
Django Styleguide
* For read endpoints and associated business logic, I'd encourage https://www.django-readers.org/ (disclaimer: I'm the author).
-
Understanding N and 1 queries problem
We solved the N+1 queries problem where I work by raising the level of abstraction from "queries plus serialisation" to "what shape data is required". We open sourced the solution at https://www.django-readers.org/.
-
This Week in Python
django-readers – function-oriented toolkit for better organisation of business logic and efficient selection and projection of data in Django projects
rapidpro
-
Django Styleguide
Maybe you need to turn this into an article because over the last decade of working with Django, we've learnt the same lessons, sometimes the hard way. Learning to never import real models into data migrations was a big one.
I recently wanted to move a model between apps and ended up going the route of create new table, copy all rows over, delete old table. It was annoying, but the only way to make it work with regular migrations.
We ended up writing our own script[1] to squash migrations, and I'd love to know if there's a better way. We needed something that works for clean installs or existing installs that already have the current migrations installed - so it generates empty migrations which get applied on existing installs, and then they get replaced with real initial migrations on clean installs starting from a new release.
1. https://github.com/nyaruka/rapidpro/blob/main/tools/squash_m...
What are some alternatives?
pyscript - Try PyScript: https://pyscript.com Examples: https://tinyurl.com/pyscript-examples Community: https://discord.gg/HxvBtukrg2
spinach - Modern Redis task queue for Python 3
django_channels_bingo_game - Real Time Multiplayer Bingo Game Using Django Channels and Javascript
django-api-domains - A pragmatic styleguide for Django API Projects
Django-Styleguide - Django styleguide used in HackSoft projects
dramatiq - A fast and reliable background task processing library for Python 3.
django-db-queue - Simple database-backed job queue
datasette-lite - Datasette running in your browser using WebAssembly and Pyodide
Sentry - Developer-first error tracking and performance monitoring
slipcover - Near Zero-Overhead Python Code Coverage