django-pickling
Efficient pickling for django models.
Decision gist · record as of 2026-08-14
No. The package is abandoned (last commit 2017-05-24) and targets Django 1.8–1.11 and Python 2.7–3.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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django 1.8+ and Python 2.7 or 3.3+; no Django version checks are performed at runtime.
- High install friction due to age and abandonment.
- Last release was 2017-05-25 and last commit 2017-05-24; no maintenance activity in years.
License · maintenance · safety
BSD (permissive) — BSD license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
last release 2017-05-25 (3368 days) · last repo commit 2017-05-24 · 77 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 111,272 downloads/mo, #12,424 on PyPI
Alternatives
Verify before relying
pip install django-pickling
Then add django_pickling to INSTALLED_APPS in your Django settings.- Whether the package works with modern Django versions (2.0+) and current Python releases (3.7+)
- Whether cached pickles from older versions remain compatible after Django/Python upgrades
- Real-world performance gains on current hardware and Django versions
What it is and what it does
django-pickling is a Django app that optimizes the serialization of model instances into pickle format, claiming 2-3× speedup and more compact output. It works by intercepting Django's default pickling behavior and applying custom serialization logic tailored to model structure.
The 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.
Use it for
- 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
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last commit 2017-05-24) and targets Django 1.8–1.11 and Python 2.7–3.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.
Install
django-pickling on PyPI
Before you install
High install friction due to age and abandonment. Last release was 2017-05-25 and last commit 2017-05-24; no maintenance activity in years. Compatibility claims extend only to Django 1.8–1.11 and Python 2.7 or 3.3–3.6, well outside current support windows.
Requires Django 1.8+ and Python 2.7 or 3.3+; no Django version checks are performed at runtime.
License in practice
BSD license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install django-pickling
Then add django_pickling to INSTALLED_APPS in your Django settings.
Verify before relying
- Whether the package works with modern Django versions (2.0+) and current Python releases (3.7+)
- Whether cached pickles from older versions remain compatible after Django/Python upgrades
- Real-world performance gains on current hardware and Django versions
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,368 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 111,272 / month, #12,424 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 1.10Framework :: Django :: 1.11Framework :: Django :: 1.8Framework :: Django :: 1.9Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Topic :: Software Development :: Libraries :: Python Modules |
Evidence: django-pickling-1.0.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django model pickling”
- django-picklingSpeeds up Django model pickling by 2-3 times and reduces serialized…
- django-picklefieldProvides a Django model field that stores and retrieves any picklable…
- django-cache-memoizeA decorator that caches function results using Django's cache…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also django-slowtests · django-memoize · Collectfasta · django-cachalot · django-model-utils · easy-thumbnails · dill · graphene-django-optimizer · Collectfast