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!
Metadata
Release files for tastypie-msgpack 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tastypie-msgpack-0.0.3.tar.gz | 2.6 kB | Without provenance | Details |
Release files / tastypie-msgpack-0.0.3.tar.gz
| Download URL | tastypie-msgpack-0.0.3.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
800184d3f434c8fa8506f5f857d6edbb1d62941d1dc26da215b06bfae7b18ad6
|
|
BLAKE2b-256 checksum How to use checksums |
d902a911a103f0163b3d8a1d2f38e7b69c56b7ad4760e7185541058ccba6191c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for tastypie-msgpack 0.0.3
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.