Nirum services as WSGI apps. Please file issues to https://github.com/nirum-lang/nirum/issues
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
schema-fixture
.gitignore
.travis.yml
CHANGES.rst
LICENSE
README.rst
nirum_wsgi.py
setup.cfg
setup.py
tests.py
tox.ini

README.rst

Nirum services as WSGI apps

Build status Latest PyPI version

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

from yourservice 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:

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