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.com.server.server import start_server
def inputProcessor(messageId, bus, cache, components, message, emit):
pass
# the method 'methodA' will be resolved by inputProcessor
start_server(
{
"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-0.6.1.tar.gz
(13.2 kB
view details)
Built Distribution
servc-0.6.1-py3-none-any.whl
(16.1 kB
view details)
File details
Details for the file servc-0.6.1.tar.gz
.
File metadata
- Download URL: servc-0.6.1.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2d7ff9667da8bc0da3cef04a41f7e783c99a9bc2f4d1acf9fa4b6cdc3c42957 |
|
MD5 | acb8ac5c304f42e3bd9e54002a5896ae |
|
BLAKE2b-256 | 03f1746edc47320792d290b674eaf60390babd38c0db4fb6420600a92d4e1b7e |
File details
Details for the file servc-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: servc-0.6.1-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8218e30b5b6333374dd643a6861502fb4da4ee6c6a7cfca8864ca8bd153d8de4 |
|
MD5 | 4a2d63c4ea6d5c500c2614359f8e3d9a |
|
BLAKE2b-256 | 5e3c08acad1ca4934beee9137c723a58f72415979869d504429d43e6b144bdec |