{"library":"django-pgactivity","type":"library","category":null,"description":"django-pgactivity is a Python library that provides tools to monitor, kill, and analyze active PostgreSQL queries directly from a Django application. It offers a proxy model for the `pg_stat_activity` view, a management command, and utilities like query context annotation and dynamic statement timeouts. The current version is 1.8.0, and it maintains an active release cadence, frequently updating to support new versions of Python, Django, and PostgreSQL.","language":"python","status":"active","version":"1.8.0","tags":["django","postgresql","monitoring","database","query","performance","activity","admin"],"last_verified":"Thu May 21","install":[{"cmd":"pip install django-pgactivity","imports":["from pgactivity.models import PGActivity","import pgactivity\n# then use @pgactivity.context(...) or with pgactivity.context(...)","import pgactivity\n# then use @pgactivity.timeout(...)","from pgactivity.middleware import ActivityMiddleware"]}],"homepage":null,"github":"https://github.com/AmbitionEng/django-pgactivity","docs":"https://django-pgactivity.readthedocs.io","changelog":null,"pypi":"https://pypi.org/project/django-pgactivity/","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.4,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/django-pgactivity/compatibility"}}