Django Rest Framework Msgpack

MessagePack support for Django REST framework
Alternatives To Django Rest Framework Msgpack
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Python 100 Days135,076
2 months ago682Python
Python - 100天从新手到大师
Django Rest Framework25,68024,5951,5082 days ago134December 15, 2021134otherPython
Web APIs for Django. 🎸
Awesome Django7,062
3 days ago3cc0-1.0HTML
A curated list of awesome things related to Django
Drf Yasg3,0922907622 days ago59October 25, 2020235otherPython
Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
Django Rest Swagger2,5162,031413 years ago50April 30, 2018168bsd-2-clausePython
Swagger Documentation Generator for Django REST Framework: deprecated
Django Rest Auth2,3311,1092410 months ago25April 01, 2019234mitPython
This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)
Djoser2,288212513 days ago48October 30, 2020166mitPython
REST implementation of Django authentication system.
Drf Nested Routers1,4876212915 days ago19October 15, 202146apache-2.0Python
Nested Routers for Django Rest Framework
Cookiecutter Django Rest1,405
19 hours ago4mitPython
Build best practiced apis fast with Python3
Drf Extensions1,3713231411 days ago16July 30, 202175mitPython
DRF-extensions is a collection of custom extensions for Django REST Framework
Alternatives To Django Rest Framework Msgpack
Select To Compare


Alternative Project Comparisons
Readme

Django Rest Framework Msgpack

https://api.travis-ci.org/juanriaza/django-rest-framework-msgpack.png?branch=master
Version: 1.0.2
Author: Juan Riaza

Overview

MessagePack is a fast, compact binary serialization format, suitable for similar data to JSON. This package provides MessagePack support for Django REST framework.

How to install

Install using pip:

$ pip install djangorestframework-msgpack

...or clone the project from github:

$ git clone [email protected]:juanriaza/django-rest-framework-msgpack.git
$ cd django-rest-framework-msgpack
$ pip install -r requirements.txt

How use it?

This package provides a renderer MessagePackRenderer and a parser MessagePackParser.

Setting the renderer and the parser

Just follow the documentation:

rest_framework_msgpack.renderers.MessagePackRenderer

Renders the request data into MessagePack.

.media_type: application/msgpack
.format: .msgpack

rest_framework_msgpack.parsers.MessagePackParser

Parses MessagePack request content.

.media_type: application/msgpack

Running the tests

To run the tests against the current environment:

./manage.py test

Changelog

1.0.2

22th Apr 2017

  • Match current DRF api (by V.Korol - @vakorol)
  • python-dateutil unpinned version (by Justin Whitehead - @whitej125)
  • Python 3 compatibility (by Roberto Barreda @robertobarreda and @cecedille1)

1.0.1

15th Jan 2012

  • The parser now support streams (by Sbastien Bal - @sebastibe)

1.0.0

6th Jan 2012

  • Initial release
Popular Rest Projects
Popular Django Projects
Popular Application Programming Interfaces Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Django
Rest
Renderer
Django Rest Framework
Msgpack
Messagepack