{"library":"django-structlog","type":"library","category":null,"description":"django-structlog is a structured logging integration for Django projects that leverages the `structlog` library. It enriches logs with cohesive metadata, simplifying event and incident tracking. The current version is 10.0.0, and the library maintains an active release cadence with multiple updates throughout the year to support new Django and Python versions.","language":"python","status":"active","version":"10.0.0","tags":["django","logging","structured logging","structlog","celery"],"last_verified":"Wed May 20","install":[{"cmd":"pip install django-structlog","imports":["import structlog\nlogger = structlog.get_logger(__name__)","from django_structlog.middlewares import RequestMiddleware","from structlog import contextvars\ncontextvars.bind_contextvars(user_id=request.user.id)"]},{"cmd":"pip install django-structlog[celery]","imports":[]}],"homepage":null,"github":"https://github.com/jrobichaud/django-structlog","docs":"https://django-structlog.readthedocs.io","changelog":"https://django-structlog.readthedocs.io/en/latest/changelog.html","pypi":"https://pypi.org/project/django-structlog/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":4.5,"avg_import_s":0.27,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/django-structlog/compatibility"}}