Skip to main content

A small HTTP web server for wsgi compatible apps

Project description

Boring

A simple HTTP webserver for WSGI compatible web app, support any wsgi web framework , django,flask, bottle and others. it is fairly fast .........

installation

boring has no dependency except python standard library, so it can be installed by cloning this repository , then run python setup.py install , or install from pypi with pip

Starting the server

boring myapp:app or python -m boring myapp:app

assuming there is myapp.py in the current directory and and a callable object app in myapp.py

using boring with django boring yourproject.wsgi or python -m boring yourproject.wsgi

command line options

-b  <addr>   bind to the addr , default 0.0.0.0

-p <port>    port number to use , default 8000

--reload     to enable auto reload when any files change, default to false

-v           show version

Boring in action

test-boring.herokuapp.com , is flask webapp copied from miguelgrinberg blog running boring as http server

firdawss.herokuapp.com a django powered site running boring as the webserver

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

boring-0.0.3.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

boring-0.0.3-py3-none-any.whl (11.9 kB view hashes)

Uploaded Python 3

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