Skip to main content

A set of third-party serializers for Betamax

Project description

Experimental set of Serializers for Betamax that may possibly end up in the main package.

Pretty JSON Serializer

Usage:

from betamax_serializers.pretty_json import PrettyJSONSerializer

from betamax import Betamax

import requests

Betamax.register_serializer(PrettyJSONSerializer)

session = requests.Session()
recorder = Betamax(session)
with recorder.use_cassette('testpretty', serialize_with='prettyjson'):
    session.request(method=method, url=url, ...)

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

betamax-serializers-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distributions

betamax_serializers-0.1.1-py2.py3-none-any.whl (4.5 kB view details)

Uploaded Python 2 Python 3

betamax_serializers-0.1.1-py2-none-any.whl (4.5 kB view details)

Uploaded Python 2

File details

Details for the file betamax-serializers-0.1.1.tar.gz.

File metadata

File hashes

Hashes for betamax-serializers-0.1.1.tar.gz
Algorithm Hash digest
SHA256 95761a7dc38e0b9d218b93faf441b543a22b38efd04cc5982ed686f47c489e9c
MD5 fff053493b588a36a40c5431af7e1879
BLAKE2b-256 fcbc0f12313dfdf7fb1f1627e76b7b96cad8964b62a0c46b8a21f911f5c581fe

See more details on using hashes here.

File details

Details for the file betamax_serializers-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for betamax_serializers-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 262a25433b891bc81ad0e139192c4d73fbc166505157dd393a5d4543f85c3607
MD5 b4aa14fcdea1a08403f49924f6898d21
BLAKE2b-256 3439a938e3739966965457723527db4625d03b3e015b28f45deb17da73a031c6

See more details on using hashes here.

File details

Details for the file betamax_serializers-0.1.1-py2-none-any.whl.

File metadata

File hashes

Hashes for betamax_serializers-0.1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 2870a52c2fff43e30399c6c1a9c962b7983510b735216bd24d80f38563e7bea2
MD5 ae3d92dd705f6e55b6917deba010618b
BLAKE2b-256 a07675b3d308f0a4cc71f277e48b22db9a7901805a7639cf50bc1287e6aadf6a

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