Code Wake V1 WSGI Werkzeug middleware
Project description
Python Code Wake V1 WSGI Werkzeug middleware (pycodewake-v1wsgi-service)
This store adapter provides a WSGI Werkzeug middleware which provides an implementation of the V1 REST API service.
For example:
import flask
from code_wake_v1wsgi_service import V1WsgiMiddleware
from code_wake_sql14_store import Sql14Store
flask_app = flask.Flask(__name__)
flask_app.wsgi_app = V1WsgiMiddleware(flask_app.wsgi_app, "/some/v1/code_wake/path", Sql14Store("sqlite:///:memory:"))
Here, a flask server is created, and the middleware added to it. The parameters for the middleware are
the URL base path (on top of which /processes
, /events
and any other restful resources will be
added) and the back end store.
A remote process may then use the code-wake-v1rest-store
Code Wake store adapter, and via this
middleware, communicate to the back end store provided.
No authentication is provided by the middleware.
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
Built Distribution
Close
Hashes for code-wake-v1wsgi-service-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 139d3becdc833fba85a944318af11cac288731cc4cd1ccdc20812d3ff89d2de3 |
|
MD5 | b68a81a285bdb8514f4e55e427f54988 |
|
BLAKE2b-256 | 3b691851b847d9250fd86ed31f219d658a56c07549ecc78b22c3d3adfa77e305 |
Close
Hashes for code_wake_v1wsgi_service-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7d519a0e84047eff5dbefca9578bdbf04846e4ad46c43963e117c3c2b435a9a |
|
MD5 | 3f61b0801f67111c44a0a28bf8ba24cb |
|
BLAKE2b-256 | e60b7a84d29e4cee506d64d1565f4fa11bec258728c3a8f425f8f4e58ca9719f |