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.5.2.tar.gz
(17.6 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.5.2-py3-none-any.whl
(24.5 kB
view details)
File details
Details for the file servc-1.5.2.tar.gz.
File metadata
- Download URL: servc-1.5.2.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4d70e2e05017b2ad87f3f911c116d83b4b385437e75083d5ef88fde0f1ceb8f
|
|
| MD5 |
8e5c53c1cb39237a2c8563239e1786be
|
|
| BLAKE2b-256 |
fc6fb08de753c4897329e30cf4b7edebabe2d3f494a3d5482b9e715af3f7a3b4
|
File details
Details for the file servc-1.5.2-py3-none-any.whl.
File metadata
- Download URL: servc-1.5.2-py3-none-any.whl
- Upload date:
- Size: 24.5 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 |
0d93c3d768a88fc561f20650d5daff7ae6b7e29bd775b3d55060db5680826d82
|
|
| MD5 |
566c54c7dbf1d26410c846929785ee5c
|
|
| BLAKE2b-256 |
644b85442122962f07ab3ca457fd54c8beeb8cf50d4b2d83efc7266eba2fdd4d
|