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.2.1.tar.gz
(14.7 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.2.1-py3-none-any.whl
(20.6 kB
view details)
File details
Details for the file servc-1.2.1.tar.gz.
File metadata
- Download URL: servc-1.2.1.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13700afd9ff3025e8308463ef5ed608893bded712aa0f3ded8dc2227cbd87dab
|
|
| MD5 |
6bf9546c0ff94ea25084936a5bb98f3c
|
|
| BLAKE2b-256 |
10cd82442187b93a0069a053899a49407a7cc2089057f3a8ba76bda29d85df8a
|
File details
Details for the file servc-1.2.1-py3-none-any.whl.
File metadata
- Download URL: servc-1.2.1-py3-none-any.whl
- Upload date:
- Size: 20.6 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 |
10e8beb88407b85c579d273bc937effaa72f32fc3d544dd74fd195561eab0524
|
|
| MD5 |
aa5a919f73f9449e98d995e1fae5ac43
|
|
| BLAKE2b-256 |
87e089618053a76ff360a451104802a2b7ed027345acd8e7fa347cef075adbbb
|