Metadata-Version: 2.0
Name: nirum-wsgi
Version: 0.1.0
Summary: Nirum services as WSGI apps
Home-page: https://github.com/spoqa/nirum-python-wsgi
Author: Nirum team
Author-email: UNKNOWN
License: MIT license
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Object Brokering
Requires-Dist: Werkzeug (>=0.11,<1.0)
Requires-Dist: nirum (>=0.6.0)
Requires-Dist: six
Requires-Dist: typing; python_version<'3.5'
Provides-Extra: tests
Requires-Dist: flake8-import-order (>=0.12,<1.0); extra == 'tests'
Requires-Dist: flake8-import-order-spoqa (>=1.0.0,<2.0.0); extra == 'tests'
Requires-Dist: pytest (<4.0.0,>=3.1.2); extra == 'tests'
Requires-Dist: pytest-flake8 (>=0.8.1,<1.0.0); extra == 'tests'
Requires-Dist: requests-mock (>=1.3.0,<1.4.0); extra == 'tests'

Nirum services as WSGI apps
===========================

.. image:: https://travis-ci.org/spoqa/nirum-python-wsgi.svg?branch=master
   :target: https://travis-ci.org/spoqa/nirum-python-wsgi
   :alt: Build status

.. image:: https://badge.fury.io/py/nirum-wsgi.svg
   :target: https://pypi.org/project/nirum-wsgi/
   :alt: Latest PyPI version

This package provides ``nirum_wsgi.WsgiApp`` class which adapts a given
Nirum service to a WSGI application:

.. code-block:: python

   from youtservice import YourService
   from nirum_wsgi import WsgiApp

   class YourServiceImpl(YourService):
       ...

   app = WsgiApp(YourServiceImpl())

There's a development-purpose CLI launcher named ``nirum-server`` as well:

.. code-block:: bash

   nirum-server -H 0.0.0.0 -p 8080 --debug 'yourserviceimpl:YourServiceImpl()'

Changelog
=========

Version 0.1.0
-------------

Released on July 10, 2017.



