Skip to main content

A MsgPack serializer for Django.

Project description

Provides a msgpack serializer/deserializer for Django models instances.


Add the module msgpack_serializer.serializer to your SERIALIZATION_MODULES setting:

    "msgpack" : "msgpack_serializer.serializer",


To serialize:

from django.core import serializers

msgpack_serializer = serializers.get_serializer("msgpack")()
data = msgpack_serializer.serialize(my_objects)

To deserialize:

from django.core import serializers

deserialized_objects = serializers.deserialize('msgpack', data)
objs = [deserialized.object for deserialized in deserialized_objects]

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-msgpack-serializer, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size django-msgpack-serializer-0.0.3.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page