django-debug-toolbar
django-silk
Our great sponsors
django-debug-toolbar | django-silk | |
---|---|---|
19 | 16 | |
7,875 | 4,225 | |
1.1% | 1.5% | |
8.5 | 7.4 | |
3 days ago | 3 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | MIT 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-debug-toolbar
-
Setting up Django in a Better Way in 5 Minutes and Understanding How It Works
The reason behind this splitting is that we can safely use packages and related settings only where we need. For example, this starter kit has the package django-debug-toolbar. This is only intended for your development environment and not for your production. This can be very risky if used in production because if your Django project encounters errors, all the debug info will be shown to the user which is a severe security risk. Similarly, for tracking errors in production, we're using Sentry which is not needed in our local environment since we already have django-debug-toolbar. For keeping these settings file separate so that they don't conflict with each other, the settings file is split for serving different environments.
-
The Django ecosystem is not so good
https://github.com/jazzband/django-debug-toolbar/issues?q=is%3Aopen+is%3Aissue+label%3ABug
-
Django Debug Toolbar
Documentation, including installation and configuration instructions, is available at https://django-debug-toolbar.readthedocs.io/.
The Django Debug Toolbar was originally created by Rob Hudson [email protected] in August 2008 and was further developed by many contributors.
- Five Easy to Miss PostgreSQL Query Performance Bottlenecks
-
Check why Django app is slow in production
https://github.com/jazzband/django-debug-toolbar is also pretty good, but down to personal preference which of the 2 you choose (I prefer silk).
- Is there a way to use django toolbar with DRF and Vue?
-
what are 3 django packages everyone should know about?
django-debug-toolbar
-
Question for experienced Rustaceans
Django Debug Toolbar provides something akin to the browsers Developer Tools but for Django's server-side stuff. It makes it easy to check and fine-tune what Django ORM is generating.
- ¿Cómo mejorar el rendimiento de una aplicación hecha en Django?
django-silk
-
Show HN: Sqlbind a Python library to compose raw SQL
But that's still not backend-specific SQL?
There should be an interface method for this. Why does psycopg call it mogrify?
https://django-debug-toolbar.readthedocs.io/en/latest/panels... :
> debug_toolbar.panels.sql.SQLPanel: SQL queries including time to execute and links to EXPLAIN each query
But debug toolbars mostly don't work with APIs.
https://github.com/django-query-profiler/django-query-profil... :
> Django query profiler - one profiler to rule them all. Shows queries, detects N+1 and gives recommendations on how to resolve them
https://github.com/jazzband/django-silk :
> Silk is a live profiling and inspection tool for the Django framework. Silk intercepts and stores HTTP requests and database queries before presenting them in a user interface for further inspection
-
Understanding TTFB Latency in DJango - Seems absurdly slow after DB optimizations even locally
you're using DRF, which DDT doesn't work well with. DDT is more for template rendered pages, not API responses. Have you brought in Django silk for monitoring this?
-
The Django ecosystem is not so good
https://github.com/jazzband/django-silk/issues?q=is%3Aopen+is%3Aissue+label%3Abug
-
How to view the number of queries executed in DRF.
Those docs are wrong. They still reference syncdb. Use the README at https://github.com/jazzband/django-silk.
-
I just updated my deep dive on how to optimize SQL queries with the Django ORM
If you're using Django as an API, without templates, django debug toolbar is useless because it requires templates. It won't work with DRF endpoints which means you miss out on profiling and SQL tracing. That's where django-silk shines.
-
3% of 666 Python codebases we checked had a silently failing unit test
https://github.com/ansible-community/ara/pull/358 https://github.com/b12io/orchestra/pull/830 https://github.com/batiste/django-page-cms/pull/210 https://github.com/carpentries/amy/pull/2130 https://github.com/celery/django-celery/pull/612 https://github.com/django-cms/django-cms/pull/7241 https://github.com/django-oscar/django-oscar/pull/3867 https://github.com/esrg-knights/Squire/pull/253https://github.com/Frojd/django-react-templatetags/pull/64 https://github.com/groveco/django-sql-explorer/pull/474 https://github.com/jazzband/django-silk/pull/550 https://github.com/keras-team/keras/pull/16073 https://github.com/ministryofjustice/cla_backend/pull/773 https://github.com/nitely/Spirit/pull/306 https://github.com/python/pythondotorg/pull/1987 https://github.com/rapidpro/rapidpro/pull/1610 https://github.com/ray-project/ray/pull/22396 https://github.com/saltstack/salt/pull/61647 https://github.com/Swiss-Polar-Institute/project-application/pull/483 https://github.com/UEWBot/dipvis/pull/216
-
Check why Django app is slow in production
Maybe look at https://github.com/jazzband/django-silk
- Is there a way to use django toolbar with DRF and Vue?
- Why are my first queries so slow?
What are some alternatives?
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
ipdb - Integration of IPython pdb
pudb - Full-screen console debugger for Python
django-devserver - A drop-in replacement for Django's runserver.
flask-debugtoolbar - A toolbar overlay for debugging Flask applications
wdb - An improbable web debugger through WebSockets
winpdb - Fork of the official winpdb with improvements
Cyberbrain - Python debugging, redefined.
python3-trepan - A gdb-like Python3 Debugger in the Trepan family
icecream - 🍦 Never use print() to debug again.
pyringe - Debugger capable of attaching to and injecting code into python processes.
python-uncompyle6 - A cross-version Python bytecode decompiler