pellet
deps
pellet | deps | |
---|---|---|
2 | 6 | |
75 | 412 | |
- | 0.5% | |
2.7 | 3.3 | |
6 months ago | 9 days ago | |
Python | ||
BSD 3-clause "New" or "Revised" 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.
pellet
-
Django 5.0 Is Released
Simple middleware can warn you about lazy loading/N+1 queries. Most of the time people just forget it happens.
Try using: https://github.com/har777/pellet
-
Ban 1+N in Django
Self plug: Checkout https://github.com/har777/pellet to easily find and fix django N+1 issues.
I usually add it to existing integration tests so that they raise exceptions on N+1. If test coverage is low then I would suggest sending the N+1 metrics to something like datadog. That way your users using the product will reveal all the N+1 issues on your monitoring solution.
deps
-
Django 5.0 Is Released
No, as I understand it, Django project's stance on type hints is that they aren't going to be added any time soon, but they are willing to accept small PRs that are needed by external type-checkers on a case by case basis. Details here: https://github.com/django/deps/pull/65
-
Basic question on what this syntax comes from: is this python code I am not familiar with; is it django -- Just not sure what to even call it so i can look up info on it.
yup, you can read about it here in the DEP (django equivalent of PEP): https://github.com/django/deps/blob/main/final/0201-simplified-routing-syntax.rst
-
DjHTML 3.0.0 has been released
As part of testing we also ran the indenter over Django's own source code with great results! What do you think, is it worth it to submit a Django Enhancement Proposal to properly indent all HTML files in the Django source code?
- Formatting Code with Black
- Django now uses black to format it's codebase
- Django 4.0 release candidate 1 released
What are some alternatives?
django-orm-plus
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
nplusone - Auto-detecting the n+1 queries problem in Python
cookiecutter-django - Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.
django-auto-prefetching - Automatic prefetching for Django
django-async-orm - Bringing Async Capabilities to django ORM
django-zen-queries - Explicit control over database query execution in Django applications
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
django-seal - Django application providing queryset sealing capability.
aiosql - Simple SQL in Python
bullet - help to kill N+1 queries and unused eager loading
vue.py - Pythonic Vue.js