{"library":"django-lifecycle","type":"library","category":null,"description":"Django Lifecycle is a Python library that provides declarative lifecycle hooks for Django models. It allows developers to define methods that run automatically before or after database operations (e.g., save, delete, create, update) or when specific model field values change, using simple decorators. The current version is 1.2.7, and it maintains an active release cadence with frequent bug fixes and feature enhancements.","language":"python","status":"active","version":"1.2.7","tags":["django","orm","hooks","lifecycle","models","declarative"],"last_verified":"Tue May 26","install":[{"cmd":"pip install django-lifecycle","imports":["from django_lifecycle import LifecycleModelMixin","from django_lifecycle import hook","from django_lifecycle import BEFORE_SAVE","from django_lifecycle import AFTER_UPDATE","from django_lifecycle.conditions import condition","from django_lifecycle.conditions import is_greater_than"]}],"homepage":null,"github":"https://github.com/rsinger86/django-lifecycle","docs":"https://rsinger86.github.io/django-lifecycle/","changelog":null,"pypi":"https://pypi.org/project/django-lifecycle/","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":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/django-lifecycle/compatibility"}}