Skip to main content

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.

Release files for code-wake-v1wsgi-service 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for code-wake-v1wsgi-service 0.2.1
File Size Uploaded
code-wake-v1wsgi-service-0.2.1.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for code-wake-v1wsgi-service 0.2.1
File Interpreter ABI Platform
code_wake_v1wsgi_service-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 kB

Release files / code-wake-v1wsgi-service-0.2.1.tar.gz

Download URL code-wake-v1wsgi-service-0.2.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2e0823701eea5dcc1ca88ff368bc395e3844f3bd69833448a4c1cf3fce083816
BLAKE2b-256 checksum
How to use checksums
89c6c25143d0fbfc43cf279e05175ec0374048727e858a9baee6828d802ee95b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release files / code_wake_v1wsgi_service-0.2.1-py3-none-any.whl

Download URL code_wake_v1wsgi_service-0.2.1-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e520d32d26be3c5036a0a38817b2c0c58396787ddf41174d5bc1805dcea3f2c0
BLAKE2b-256 checksum
How to use checksums
4cc14e1e8f4d1c01156649eb28a9ad1965ed44ef4922e2bf7fc6ed7e0f5a3283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page