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.8.tar.gz
(17.2 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.8-py3-none-any.whl
(24.0 kB
view details)
File details
Details for the file servc-1.4.8.tar.gz.
File metadata
- Download URL: servc-1.4.8.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa8d1b018f8ef36d33a0ba982c1928b8a99060ffb4afff86df52c4b22b923dfd
|
|
| MD5 |
b57dea3030d34e2c93aa476350efc764
|
|
| BLAKE2b-256 |
ba0bcc5e269840b0a1b6026325d45165876283f4d61562151f70aae722c2e65a
|
File details
Details for the file servc-1.4.8-py3-none-any.whl.
File metadata
- Download URL: servc-1.4.8-py3-none-any.whl
- Upload date:
- Size: 24.0 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 |
af25df425367893802f6d2767c391f607e59b77f48edd8189131aadf918b9a53
|
|
| MD5 |
bd4e7970b897655eaf3fc0be0723cb53
|
|
| BLAKE2b-256 |
acac05dfd60fdf3b9f8f80dcd2b4bb635e3960740cb54639868fdcfbf141cc82
|