Skip to main content

Mockpy is a python open source line utility to quickly create mock servers on Mac OS X.

Project description

# Mockpy [![Build Status](https://travis-ci.org/oarrabi/mockpy.svg?branch=master)](https://travis-ci.org/oarrabi/mockpy)

Mockpy is a python open source line utility to quickly create mock servers on Mac OS X. Mockpy is inspired from wiremock and uses libmproxy for the proxy functionality.

mockpy works by reading a list of configuration files in the YAML format, it uses these configurations to match the http request received and return an http response based on the matched YAML file configuration.

# Installation

Mockpy can be installed as a python wheel using pip or as a standalone binary using homebrew

## Installing with pip

Make sure you have [pip](https://pip.pypa.io/en/latest/installing.html) installed.

Run the following to install mockpy

pip install mockpy

## Installing using brew Install using brew tap

brew tap oarrabi/tap brew install mockpy

# Usage

History

0.1.0 (2015-01-11)

  • First release on PyPI.

Project details


Download files

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

Files for mockpy, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size mockpy-0.1.5-py2-none-any.whl (17.9 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size mockpy-0.1.5.tar.gz (10.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page