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, emitEvent):
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.4.9.tar.gz
(17.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.4.9-py3-none-any.whl
(24.0 kB
view details)
File details
Details for the file servc-1.4.9.tar.gz.
File metadata
- Download URL: servc-1.4.9.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
437bbb755bc5d5b77a06be7f6d5b9f131b5c6d542b11b58b960e69b751d33741
|
|
| MD5 |
076a16e48dad1ad74cd8a11d2a22632a
|
|
| BLAKE2b-256 |
db6232721ad36e5f397ce87f08dc1210eab9cad83a355e51694d87bc70abe4f8
|
File details
Details for the file servc-1.4.9-py3-none-any.whl.
File metadata
- Download URL: servc-1.4.9-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0465ead0ba19f5726f6551e0635fd7bc712ffb158d9fe7c0800ab8deabb2136a
|
|
| MD5 |
29d6886d735ec4a8218839f2c94f153c
|
|
| BLAKE2b-256 |
29c44bcac397f687515c1b218dd08b02c53c29e68b670cc9d6ce4740e2f9e4e8
|