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.3.1.tar.gz
(16.9 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.3.1-py3-none-any.whl
(23.8 kB
view details)
File details
Details for the file servc-1.3.1.tar.gz.
File metadata
- Download URL: servc-1.3.1.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f8acb46739a81ff14b0d98ce36098d869f0884eb321be96cb1116a8b393fd2e
|
|
| MD5 |
a8882528b0ba23e6ec3e8ccad42ce4d1
|
|
| BLAKE2b-256 |
6dccf4710febc7dbcc4c9d822e7074d6c2e61d5d5d1abeafe7563f2931b9d1fe
|
File details
Details for the file servc-1.3.1-py3-none-any.whl.
File metadata
- Download URL: servc-1.3.1-py3-none-any.whl
- Upload date:
- Size: 23.8 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 |
56efce405ac292cefd3e8fa42c032cbbb2e219fa328f68248de83d4ea41b327a
|
|
| MD5 |
a0deab855f79ada149080c3c81ec0859
|
|
| BLAKE2b-256 |
55d3955064ac8e1a6bb07fc970385e9cb24c28564120ce310a540d730011bd0d
|