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.4.tar.gz
(17.0 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.4-py3-none-any.whl
(23.9 kB
view details)
File details
Details for the file servc-1.4.4.tar.gz.
File metadata
- Download URL: servc-1.4.4.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69927d9851222e553b1b1003543737ec04ea6022be4ef8424731c55d78d7ce14
|
|
| MD5 |
d9e0e1d0ca204a57add7707793054603
|
|
| BLAKE2b-256 |
b29ab4157396d4f1af79b3dbed8efae7d84d97f4ffe3f9fea687dc50a7e8d069
|
File details
Details for the file servc-1.4.4-py3-none-any.whl.
File metadata
- Download URL: servc-1.4.4-py3-none-any.whl
- Upload date:
- Size: 23.9 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 |
a02742c4f7e1fae1aee158b903b0ea1d0cf1401bb9c4915a06b2fb14bdbc261a
|
|
| MD5 |
5e86df95d20a010745d3449bbd0d7c5b
|
|
| BLAKE2b-256 |
58aea956cd77837ebb814b646044dde2103ec83030520c5b94484860097602fb
|