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.5.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.5-py3-none-any.whl
(23.9 kB
view details)
File details
Details for the file servc-1.4.5.tar.gz.
File metadata
- Download URL: servc-1.4.5.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 |
fed61b0c89371eef39e2b09617b036aa01b35c3511ee2250f0a93666375f1dc6
|
|
| MD5 |
e87fad1b6dfc76b19d29838253c2e8cb
|
|
| BLAKE2b-256 |
85b332e0a5850612f6331e5b8e79c53756c19633d8b38eeb3a43b3e2d53cd9b1
|
File details
Details for the file servc-1.4.5-py3-none-any.whl.
File metadata
- Download URL: servc-1.4.5-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 |
6fd429d473de5e75c4167f149356813819c446f386502a2c1674c5ee7c8065ab
|
|
| MD5 |
58ef2686ebcb246e05de0427538a3d10
|
|
| BLAKE2b-256 |
01f17f2f209ca037b32fcab9be11dd1ecd28fcd5b11e79b00bd2ea2e9eabbcc6
|