Skip to main content

django-cerial

Fields for storing serializable data.

What makes this different from other implementations available?

  • This implementation deserializes only when necessary. Deserializing is done on field access rather than on model instance creation. Serializing is done right before saving the model instance.

  • There is a test suite

Requirements

  • 2.5 <= Python < 3

  • Django

Installation

pip install django-cerial

JSONField

Serializes data as JSON. Example:

from django.db import models
from cerial import JSONField

class Entry(models.Model):
    data = JSONField()

PickleField

Serializes data using cPickle. Example:

from django.db import models
from cerial import PickleField

class Entry(models.Model):
    data = PickleField()

Metadata

Release files for django-cerial 0.0.4

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-cerial 0.0.4
File Size Uploaded Provenance
django-cerial-0.0.4.tar.gz 6.4 kB Without provenance Details

Release files / django-cerial-0.0.4.tar.gz

Download URL django-cerial-0.0.4.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
68b4eac92ded0f96e66a4b5f6efbef74f05d56c2ecefb7ddc3db9b7e9d8f455a
BLAKE2b-256 checksum
How to use checksums
9734eaf6ece9f445c6d0ff9e47abe9e1d627a1bca124d395c6c134726847214d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-cerial 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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