{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/2"},{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"}],"enrichment":{"capability":"Silk intercepts and profiles HTTP requests, database queries, and code execution in Django applications, displaying results in a web UI for inspection and analysis.","skillfed_tags":["django-profiling","performance-debugging","request-inspection"],"use_cases":["Identify slow database queries and N+1 problems by inspecting SQL execution within individual requests.","Profile view functions and code blocks to find performance bottlenecks using cProfile integration and decorator-based profiling.","Debug request/response issues by examining headers, bodies, and timing data through the web UI without code changes.","Analyze which endpoints generate the most queries or consume the most time during development and testing.","Generate downloadable .prof files for deeper analysis with tools like snakeviz or other cProfile utilities."],"what_it_does":"Silk is a live profiling and inspection tool built as Django middleware that automatically intercepts HTTP requests, responses, and database queries, storing them in the configured database for later inspection. It provides a web UI to explore request metadata (timing, query counts, headers, bodies), SQL execution details, and optional Python cProfile output with graph visualization via gprof2dot. Developers can also manually profile specific code blocks or functions using decorators or context managers.\n\nThe package depends on Django, sqlparse for SQL parsing, and gprof2dot for profiler graph generation. It supports Django 4.2 through 6.0 and Python 3.10\u20133.15. Configuration is straightforward\u2014add the middleware and app to settings, include URLs, run migrations, and the UI becomes available. Middleware ordering matters: GZipMiddleware must precede Silk's middleware to avoid encoding issues, and any middleware before Silk that returns early will prevent profiling.","worth_installing":"Yes. Silk is a mature, actively maintained profiling tool with low install friction and no known vulnerabilities. It integrates seamlessly into Django projects via middleware and provides both automatic request profiling and manual code profiling. Ideal for development and staging environments to diagnose performance issues; production use requires careful configuration to limit data retention and avoid overhead."},"id":"django-silk","links":{"html":"https://skillfed.io/packages/django-silk","md":"https://skillfed.io/packages/django-silk.md","pypi":"https://pypi.org/project/django-silk/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-13","license_spdx":null,"license_treatment":"permissive","name":"django-silk","python_support":"supports_current","summary":"Silky smooth profiling for the Django Framework"},"popularity":{"monthly_downloads":2593281,"position":2977,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"5.5.2"}
