Nirum services as WSGI apps
Project description
Nirum services as WSGI apps
This package provides nirum_wsgi.WsgiApp class which adapts a given Nirum service to a WSGI application:
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:
nirum-server -H 0.0.0.0 -p 8080 --debug 'yourserviceimpl:YourServiceImpl()'
Changelog
Version 0.1.0
Released on July 10, 2017.
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
nirum-wsgi-0.1.0.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file nirum-wsgi-0.1.0.tar.gz
.
File metadata
- Download URL: nirum-wsgi-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87f9025108324786aabe06bba4c7bf1ee64956bfff564ad511ac6c1074f0270d |
|
MD5 | 5c5cdea541ef19f8b74448b07d630d12 |
|
BLAKE2b-256 | 5c80324b4209b041848621e06a42394a9afb10c197a2c3e9125beb9e66527e8b |
File details
Details for the file nirum_wsgi-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: nirum_wsgi-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3c832efcf619c814597ff31f237d0627bbf04733c89517dc242ff4f5bea25fe |
|
MD5 | ffad5cb19935e7ece36194b069d1b0d5 |
|
BLAKE2b-256 | 8580ac8e99f44445abd09a47bcd95b7c2fd9de1e996d62bc76ea6f75ea48552d |