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

Run sandboxed Poser instance from a python application.

Project Description
Poser Box

Poser Box helps starting and stopping a sandboxed Poser instance
from within a Python process. The Poser instance will choose a free port on
It is primarily expected to be used in tests.

A typical use of a Poser Box:

import requests
from poserbox import PoserBox

box = PoserBox(scenes_file="test.yaml", proxy="")
real = requests.get("http://localhost:%s" % box.port)
fake = requests.get("http://localhost:%s" % box.port)

assert real.content == fake.content



Poser Box comes with a Nose plugin which is automatically installed.
If used as a plugin, port of the running instance will be exported
in environment variable `POSERBOX_PORT`. This name can be overridden
in settings.

The plugin exposes several configuration options. To see them, run:

nosetests --help

The options you are interested in start with `--poserbox-`.


Get it from PyPi:

pip install poserbox

Get it from GitHub:

pip install


Ziad Sawalha


PoserBox is based on mongobox by Roman Kalyakin.

For a list of contributors see ``.
Release History

Release History

This version
History Node


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
poserbox-0.0.1.tar.gz (4.4 kB) Copy SHA256 Checksum SHA256 Source Sep 22, 2014

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