{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/19"}],"enrichment":{"capability":"Speeds up Django model pickling by 2-3 times and reduces serialized size by optimizing how model instances are converted to bytes.","skillfed_tags":["django","caching","serialization"],"use_cases":["Reduce memory footprint of cached Django model instances in Redis or Memcached","Speed up session serialization when storing model objects in Django sessions","Optimize pickle-based inter-process communication of model data in Celery tasks","Improve performance of applications that frequently pickle/unpickle model instances"],"what_it_does":"django-pickling is a Django app that optimizes the serialization of model instances into pickle format, claiming 2-3\u00d7 speedup and more compact output. It works by intercepting Django's default pickling behavior and applying custom serialization logic tailored to model structure.\n\nThe package is intended for projects that rely heavily on caching or session storage of Django model instances. It requires adding it to INSTALLED_APPS and works with Django 1.8+ and Python 2.7 or 3.3+. The caveats are significant: no Django version checks occur at runtime, field schema changes produce confusing TypeErrors instead of AttributeErrors, and deferred fields are not optimized. The maintainer advises wiping cache or changing keys when field lists change.","worth_installing":"No. The package is abandoned (last commit 2017-05-24) and targets Django 1.8\u20131.11 and Python 2.7\u20133.6, all of which are long out of support. Modern Django and Python versions are unsupported and untested. Unless you are maintaining legacy code on those exact versions, the risk of silent failures and incompatibility outweighs any performance gain."},"id":"django-pickling","links":{"html":"https://skillfed.io/packages/django-pickling","md":"https://skillfed.io/packages/django-pickling.md","pypi":"https://pypi.org/project/django-pickling/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2017-05-25","license_spdx":null,"license_treatment":"permissive","name":"django-pickling","python_support":"unspecified","summary":"Efficient pickling for django models."},"popularity":{"monthly_downloads":111272,"position":12424,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0"}
