Skip to main content

Django pickling

Makes django models pickling 2-3 times faster and compact.

Requirements

Python 2.7 or 3.3+, Django 1.8+

Installation and setup

$ pip install django-pickling

Then add django_pickling to your INSTALLED_APPS.

CAVEATS

  1. No Django version checks are performed.

  2. If fields list changes you will see TypeErrors instead of AttributeErrors.

In both cases you should wipe your cache or change keys. Note that you will need to deal with this anyway, with django-pickling you’ll just get weirder errors.

Another thing is that objects with deferred fields are not optimized.

Release files for django-pickling 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-pickling 1.0
File Size Uploaded
django-pickling-1.0.tar.gz 3.6 kB Details

Release files / django-pickling-1.0.tar.gz

Download URL django-pickling-1.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
182aa7fae68480665edd696e55d734c2f345e481044b4113a30d2526eeae5278
BLAKE2b-256 checksum
How to use checksums
dfe4c2a30b073e99e26adf9564d8efc8b80f794176f1a3ca907164e5ffcd1b75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page