functualize-http
Status: Published — Independently installable from PyPI.
HTTP delivery adapter plugin for functualize using Python's stdlib asyncio.
Installation
pip install functualize-http
Usage
As an Adapter
from functualize.app import FunctualizeApp
from functualize_http import HttpAdapter
app = FunctualizeApp("myapp", job_sources=...)
adapter = HttpAdapter()
adapter(app)
adapter.run(host="0.0.0.0", port=8000)
As a CLI Plugin
from functualize.app import FunctualizeApp
from functualize_http import HttpServerPlugin
app = FunctualizeApp("myapp", job_sources=...)
plugin = HttpServerPlugin()
plugin(app)
# The 'serve' command is now available in the CLI
Endpoints
GET /health— Health checkGET /jobs— List available jobsPOST /jobs/{job_name}/execute— Execute a job with JSON body as kwargs
Release files for functualize-http 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| functualize_http-0.1.0.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| functualize_http-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / functualize_http-0.1.0.tar.gz
| Download URL | functualize_http-0.1.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e584de3cf0037d6f54badc6355232bce46428aea44041ecbec3d8e759cfe995e
|
|
BLAKE2b-256 checksum How to use checksums |
6e553d69d02003d8fddf5bd7743a29554f3dbf6bb91eb7e2a4980b9522268d05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / functualize_http-0.1.0-py3-none-any.whl
| Download URL | functualize_http-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3927164c47d978ec0ce33ead86e9d53a17db9f8d351ff9e5548e24d61490483a
|
|
BLAKE2b-256 checksum How to use checksums |
f5d91dfe38f3bf9e3b088008245bd38bdd2d79fdac16b75f08b8d2d41f3d2d5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|