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.1.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.1-py3-none-any.whl
(24.4 kB
view details)
File details
Details for the file servc-1.5.1.tar.gz.
File metadata
- Download URL: servc-1.5.1.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 |
f6137e1eb0abc11abf38c04628abe809850e340a4247f7821aa2b96bf7cff592
|
|
| MD5 |
ded72c93d4ba378072836a5cfee75124
|
|
| BLAKE2b-256 |
84765234311fd30cc3e4f60b3c290445b4607b867cf0a5227c4ca279c6336e4c
|
File details
Details for the file servc-1.5.1-py3-none-any.whl.
File metadata
- Download URL: servc-1.5.1-py3-none-any.whl
- Upload date:
- Size: 24.4 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 |
9c98d782e103ffd2bcea75545ceaec38060d944f34915713b232f74f29b2e736
|
|
| MD5 |
b8a36265f8a35248239c069dfc7c7347
|
|
| BLAKE2b-256 |
583000effff405898c375e8da68b958dccfb9c9d7a53a9b609a33f3f842cf54d
|