Metadata-Version: 2.1
Name: PoorWSGI
Version: 2.6.3
Summary: Poor WSGI connector for Python
Home-page: http://poorhttp.zeropage.cz/poorwsgi
Author: Ondřej Tůma
Author-email: mcbig@zeropage.cz
Maintainer: Ondrej Tuma
Maintainer-email: mcbig@zeropage.cz
License: BSD
Project-URL: Documentation, http://poorhttp.zeropage.cz/poorwsgi
Project-URL: Funding, https://github.com/sponsors/ondratu
Project-URL: Source, https://github.com/poorHttp/PoorWSGI
Project-URL: Tracker, https://github.com/PoorHttp/PoorWSGI/issues
Keywords: web wsgi development
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Natural Language :: Czech
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX
Classifier: Operating System :: POSIX :: BSD
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
Provides-Extra: jsongeneratorresponse
Requires-Dist: simplejson; extra == "jsongeneratorresponse"

.. image:: https://img.shields.io/pypi/v/PoorWSGI.svg
    :target: https://pypi.python.org/pypi/poorwsgi/
    :alt: Latest version

.. image:: https://img.shields.io/pypi/pyversions/PoorWSGI.svg
    :target: https://pypi.python.org/pypi/poorwsgi/
    :alt: Supported Python versions

.. image:: https://img.shields.io/pypi/status/PoorWSGI.svg
    :target: https://pypi.python.org/pypi/poorwsgi/
    :alt: Development Status

.. image:: https://img.shields.io/travis/PoorHTTP/PoorWSGI.svg
    :target: https://travis-ci.org/PoorHttp/PoorWSGI
    :alt: Build Status

.. image:: https://img.shields.io/pypi/l/PoorWSGI.svg
    :target: https://pypi.python.org/pypi/poorwsgi/
    :alt: License

Poor WSGI for Python
====================

Poor WSGI for Python is light WGI connector with uri routing between WSGI server
and your application. The simplest way to run and test it looks like that:

.. code-block:: python

    from wsgiref.simple_server import make_server
    from poorwsgi import Application

    app = Application('test')

    @app.route('/test')
    def root_uri(req):
        return 'Hello world'

    if __name__ == '__main__':
        httpd = make_server('127.0.0.1', 8080, app)
        httpd.serve_forever()

You can use python wsgiref.simple_server for test it:

.. code-block::

    ~$ python simple.py

For more information see
`Project homepage <http://poorhttp.zeropage.cz/poorwsgi>`_
