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 simple runner for Python wsgi application. Like Gunicorn but can run on Windows. It's to simple, so do not use at production environment.

Project Description

runwsgi

A simple runner for Python wsgi application. Like Gunicorn but can run on Windows. It’s to simple, so do not use at production environment.

Install

pip install runwsgi

Use

run command:

runwsgi -b 128.0.0.1:8000 -d /home/robin/demo/ -p "robin" demo:app

on Windows use:

runwsgi.bat -b 128.0.0.1:8000 -d C:\Users\Administrator\Desktop\demo\ -p "robin" demo:app

if can’t find runwsgi command, try:

python -m runwsgi -b 128.0.0.1:8000 -d /home/robin/demo/ -p "robin" demo:app

open broswer with url http://127.0.0.1:8000

Other tips

1. -b

set bind address

2. -d

set you wsgi work dir

3. -p

set environment variable of WSGI_PARAMS, and then you can use "os.environ.get('WSGI_PARAMS')" to get the parameter.

4. wsgi application

model:application

CHANGES

0.0.1

  • init version.

0.0.2

  • first useable version.
Release History

Release History

This version
History Node

0.0.2

History Node

0.0.1

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
runwsgi-0.0.2.tar.gz (3.7 kB) Copy SHA256 Checksum SHA256 Source May 2, 2016

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