Skip to main content

A set of Slumber serializers

Project description

A set of Slumber serializers

https://travis-ci.org/tomi77/slumber-serializers.svg?branch=master https://coveralls.io/repos/github/tomi77/slumber-serializers/badge.svg Code Climate

Installation

Install package via pip

pip install slumber-serializers

Usage

import slumber
import slumber.serialize
from slumber_serializers import CsvSerializer


api = slumber.API('/api/v1/', serializer=slumber.serialize.Serializer(default='csv',
                                                                      serializers=[CsvSerializer()]),
                  format='csv')
api.test(format='csv').get()

Available serializers

CSV serializer

Serialize to and deserialize from CSV.

Binary serializer

Serialize to and deserialize from any binary format.

Project details


Download files

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

Source Distribution

slumber-serializers-0.1.0.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

slumber_serializers-0.1.0-py2.py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page