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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file code-wake-v1wsgi-service-0.2.1.tar.gz.
File metadata
- Download URL: code-wake-v1wsgi-service-0.2.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e0823701eea5dcc1ca88ff368bc395e3844f3bd69833448a4c1cf3fce083816
|
|
| MD5 |
5ded5d647bd15f1d7c5348c492fbd8c2
|
|
| BLAKE2b-256 |
89c6c25143d0fbfc43cf279e05175ec0374048727e858a9baee6828d802ee95b
|
File details
Details for the file code_wake_v1wsgi_service-0.2.1-py3-none-any.whl.
File metadata
- Download URL: code_wake_v1wsgi_service-0.2.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e520d32d26be3c5036a0a38817b2c0c58396787ddf41174d5bc1805dcea3f2c0
|
|
| MD5 |
07eee702692d2b08095e30c0adf72e91
|
|
| BLAKE2b-256 |
4cc14e1e8f4d1c01156649eb28a9ad1965ed44ef4922e2bf7fc6ed7e0f5a3283
|