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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file slumber-serializers-0.1.0.tar.gz.

File metadata

File hashes

Hashes for slumber-serializers-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5d6a21a82c16afc1bb29a84d2801058991f32f589d733fa6572ab1a01ce31056
MD5 b20d6e86f09b8dbff8dd46c50e5fea8d
BLAKE2b-256 ee104123b7a627b6e1976f3a6694ba31756f6a5af3b742d39f9356e3077f2915

See more details on using hashes here.

File details

Details for the file slumber_serializers-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for slumber_serializers-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f2b29cfe16bd7f7c1a219ed0963587f2e335f48aee91c887a875fe321fb34fc3
MD5 71d770060e684776cb2440216ad8d1ff
BLAKE2b-256 efb024e9261fdb82330b6f757dc91c655460be1127d29e9e875131e32401097d

See more details on using hashes here.

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