Plist support for Django REST framework
Project description
Django Rest Framework Plist
- Version:
0.2.0
- Author:
Luke Pomfrey
Overview
This package provides Plist serialization support for Django REST framework.
It is largely based on the msgpack implementation by Juan Riaza.
How to install
Install using pip:
$ pip install djangorestframework-plist
…or clone the project from github:
$ git clone git@github.com:lpomfrey/django-rest-framework-plist.git
How use it?
This package provides a renderer PlistRenderer and a parser PlistParser.
Setting the renderer and the parser
Just follow the documentation:
rest_framework_plist.renderers.PlistRenderer
Renders the request data into Plist.
- .media_type:
application/x-plist
- .format:
.plist
rest_framework_plist.parsers.PlistParser
Parses Plist request content.
- .media_type:
application/x-plist
Running the tests
To run the tests against the current environment:
./manage.py test
Changelog
0.1.0
28th May 2013
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for djangorestframework-plist-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b605006f8923f1e5c9ba95bdb929ce0f6ca2a69b37e3cd25b5ea4a02ff8c954 |
|
MD5 | 855961b5a277480824da39be499e9c99 |
|
BLAKE2b-256 | 7be1b5e0647eed00b1647946decc48afd93f5adf3fb38f1cc32e583e9ce1cff2 |