Server implmentation of services for python
Project description
servc-python
Serv-C implmentation for Python. Documentation can be found https://docs.servc.io
Example
Here is the most simple example of use, starting a server to handle requests at the route my-route;
from servc.server import start_server
def inputProcessor(messageId, bus, cache, payload, components):
pass
# the method 'methodA' will be resolved by inputProcessor
start_server(
resolver={
"methodA": inputProcessor
}
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
servc-1.1.0.tar.gz
(13.2 kB
view details)
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
servc-1.1.0-py3-none-any.whl
(16.9 kB
view details)
File details
Details for the file servc-1.1.0.tar.gz.
File metadata
- Download URL: servc-1.1.0.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
473ea62dcc16ce5642a53c7ac8d482b64c2a3bcccafc2c223f4c7b8e980a82d8
|
|
| MD5 |
91e9b72c2ee837c2e6486765147b9cb7
|
|
| BLAKE2b-256 |
294cce4b1387e4d6fca2871d9d2ba51fccdf0ce75f9c87b825a55c7bcac87d9c
|
File details
Details for the file servc-1.1.0-py3-none-any.whl.
File metadata
- Download URL: servc-1.1.0-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
205b31c9d19c4653e1691356c3033a65c79f1007d40d2a3966aaded5879e69a0
|
|
| MD5 |
bd3bc2cc525ef0ef8149f3504a88f1b9
|
|
| BLAKE2b-256 |
b66a910978752fb80f75e25d2b4a43a35eddeb499bcf609abc64a520cfde7f7f
|