tastypie-msgpack 0.0.3

MsgPack support for Django Tastypie.

Created by Stephen McDonald

Adds MsgPack support to Django Tastypie.

Installation

$ pip install -U tastypie-msgpack

Usage

Given a tastypie resource, simply define tastypie_msgpack.Serializer as the serializer for the resource:

from tastypie.resources import ModelResource
from tastypie_msgpack import Serializer
from myapp.models import MyModel

class MyResource(ModelResource):
    class Meta:
        resource_name = "thing"
        queryset = MyModel.objects.all()
        serializer = Serializer()

You can now append the format=msgpack arg to your API URLs!

BSD

Author

Stephen McDonald

Pip

tastypie-msgpack==0.0.3

Classifiers

  • Topic :: Software Development :: Libraries :: Python Modules
  • Topic :: Internet :: WWW/HTTP
  • Programming Language :: Python
  • Operating System :: OS Independent
  • License :: OSI Approved :: BSD License
  • Intended Audience :: Developers
  • Framework :: Django
  • Environment :: Web Environment
  • Development Status :: 4 - Beta
File Type Python Version Uploaded On Downloads
tastypie-msgpack-0.0.3.tar.gz Source Dec. 5, 2012 2,470
Version Release Date
0.0.3 Dec. 5, 2012
0.0.2 Nov. 23, 2012
0.0.1 Nov. 23, 2012
Date Package Version Action
June 17, 2015, 6:58 p.m. tastypie-msgpack 0.0.2 Release Created
June 17, 2015, 6:58 p.m. tastypie-msgpack 0.0.3 Release Created
June 17, 2015, 6:58 p.m. tastypie-msgpack 0.0.1 Release Created
June 17, 2015, 6:58 p.m. tastypie-msgpack Package Created