{"library":"django-csp","type":"library","category":null,"description":"django-csp provides robust Content Security Policy (CSP) support for Django applications. It helps mitigate cross-site scripting (XSS) and other code injection attacks by adding CSP headers to HTTP responses. The latest major version is 4.0, which introduced significant breaking changes to its configuration format. The project is actively maintained, typically releasing updates to support new Django and Python versions.","language":"python","status":"active","version":"4.0","tags":["django","security","csp","content-security-policy","middleware"],"install":[{"cmd":"pip install django-csp","imports":["from csp.middleware import CSPMiddleware","from csp.middleware import CSPReportMiddleware","from csp.utils import nonce","N/A"]}],"homepage":null,"github":"https://github.com/mozilla/django-csp","docs":"http://django-csp.readthedocs.org/","changelog":"https://github.com/mozilla/django-csp/blob/main/CHANGES.md","pypi":"https://pypi.org/project/django-csp/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":3.5,"avg_import_s":0.3,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/django-csp/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}