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.0.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.0-py3-none-any.whl
(20.6 kB
view details)
File details
Details for the file servc-1.2.0.tar.gz.
File metadata
- Download URL: servc-1.2.0.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 |
466136a92645badc1d7b309918f391eb491b48e461929aa98722d184a625369d
|
|
| MD5 |
a6421c127761f535e971b216f368659f
|
|
| BLAKE2b-256 |
fb73a79043ea779833af95a8bdb0613b738dcd120c3d09321899c58efb8cc14e
|
File details
Details for the file servc-1.2.0-py3-none-any.whl.
File metadata
- Download URL: servc-1.2.0-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 |
1c2545d3278ad6dce7b0e022f651e03bcaa653275db4f304aead6c2c52ad1372
|
|
| MD5 |
6c59b8050306d5a008665094092a3d20
|
|
| BLAKE2b-256 |
541ff6cb4600f8630892633395e2a2bfaa8c879ccd8f8b4002b63c00f75ffde5
|