Skip to main content

Code Wake V1 WSGI Werkzeug middleware

Project description

Python Code Wake V1 WSGI Werkzeug middleware (pycodewake-v1wsgi-service)

test codecov

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

code-wake-v1wsgi-service-0.2.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

code_wake_v1wsgi_service-0.2.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file code-wake-v1wsgi-service-0.2.1.tar.gz.

File metadata

File hashes

Hashes for code-wake-v1wsgi-service-0.2.1.tar.gz
Algorithm Hash digest
SHA256 2e0823701eea5dcc1ca88ff368bc395e3844f3bd69833448a4c1cf3fce083816
MD5 5ded5d647bd15f1d7c5348c492fbd8c2
BLAKE2b-256 89c6c25143d0fbfc43cf279e05175ec0374048727e858a9baee6828d802ee95b

See more details on using hashes here.

File details

Details for the file code_wake_v1wsgi_service-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for code_wake_v1wsgi_service-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e520d32d26be3c5036a0a38817b2c0c58396787ddf41174d5bc1805dcea3f2c0
MD5 07eee702692d2b08095e30c0adf72e91
BLAKE2b-256 4cc14e1e8f4d1c01156649eb28a9ad1965ed44ef4922e2bf7fc6ed7e0f5a3283

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page