{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/7"},{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/2"}],"enrichment":{"capability":"Provides a Django model field that stores and retrieves any picklable Python object directly in the database, handling serialization and deserialization automatically.","skillfed_tags":["django-orm","serialization","database-field"],"use_cases":["Store configuration or settings objects in a Django model without designing a separate schema for each setting type.","Cache computed Python objects (e.g., analysis results, transformed data) directly in the database for later retrieval.","Persist application state or workflow context that does not fit a normalized relational structure.","Store lookup tables or reference data as Python dicts or lists without creating additional database tables.","Handle heterogeneous data in a single field when the object structure varies per record."],"what_it_does":"django-picklefield extends Django models with a field type that transparently serializes and stores arbitrary Python objects in the database. Instead of manually pickling and unpickling data or designing a schema for each object type, you define a PickledObjectField and assign any picklable Python object to it\u2014lists, dicts, custom classes, or nested structures\u2014and the field handles encoding, storage, and retrieval automatically.\n\nThe package base64-encodes pickled data to ensure ASCII-safe storage across database backends and supports optional zlib compression, configurable pickle protocols, and database lookups (exact, in, isnull). It is designed for cases where a proper relational schema does not exist, such as storing configuration objects, cached computations, or heterogeneous data. The critical caveat is that pickle is inherently unsafe for untrusted input; the field is marked non-editable by default and should never receive unsanitized user data.","worth_installing":"Yes, if you need to store non-relational Python objects in Django and trust the source of all data assigned to the field. The package is stable, actively maintained, and supports current Django and Python versions. Install only if you understand the pickle security implications and will never assign unsanitized user input to PickledObjectField."},"id":"django-picklefield","links":{"html":"https://skillfed.io/packages/django-picklefield","md":"https://skillfed.io/packages/django-picklefield.md","pypi":"https://pypi.org/project/django-picklefield/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-11-27","license_spdx":null,"license_treatment":"permissive","name":"django-picklefield","python_support":"supports_current","summary":"Pickled object field for Django"},"popularity":{"monthly_downloads":1327233,"position":4054,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.4.0"}
