Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A VCR imitation for python-requests

Project Description
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Description: betamax_matchers
================

Experimental set of Matchers for `Betamax
<https://github.com/sigmavirus24/betamax>`_ that may possibly end up in the
main package.

JSON Body Matcher
-----------------

Usage:

.. code-block:: python

from betamax_matchers.json_body import JSONBodyMatcher

from betamax import Betamax

Betamax.register_request_matcher(JSONBodyMatcher)

Form URL Encoded Body Matcher
-----------------------------

Usage:

.. code-block:: python

from betamax_matchers.form_urlencoded import URLEncodedBodyMatcher

from betamax import Betamax

Betamax.register_request_matcher(URLEncodedBodyMatcher)

Multipart Form Data Body Matcher
--------------------------------

Usage:

.. code-block:: python

from betamax_matchers.multipart import MultipartFormDataBodyMatcher

from betamax import Betamax

Betamax.register_request_matcher(MultipartFormDataBodyMatcher)


0.4.0 - 2017-01-16
------------------

- Remove support for python 3.2.
- Change json-body matcher to pass when the recorded request has the same
content type as the issued request, and the content type is not json.
- Update ``JSONBodyMatcher`` to work with requests 2.11+.

0.3.0 - 2016-04-16
------------------

- Update for breaking changes in ``betamax`` 0.6.0

0.2.0 - 2015-06-17
------------------

- Add ``MultipartFormDataBodyMatcher``

0.1.0 - 2014-08-20
------------------

- Add ``JSONBodyMatcher``

- Add ``URLEncodedBodyMatcher``

Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Release History

Release History

This version
History Node

0.4.0

History Node

0.3.0

History Node

0.2.0

History Node

0.1.0

History Node

0.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
betamax_matchers-0.4.0-py2-none-any.whl (7.2 kB) Copy SHA256 Checksum SHA256 py2 Wheel Jan 16, 2017
betamax-matchers-0.4.0.tar.gz (4.2 kB) Copy SHA256 Checksum SHA256 Source Jan 16, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting