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.5.4.tar.gz
(13.1 kB
view details)
Built Distribution
servc-0.5.4-py3-none-any.whl
(15.8 kB
view details)
File details
Details for the file servc-0.5.4.tar.gz
.
File metadata
- Download URL: servc-0.5.4.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3af320e60c7f42f948ec58c105627444be7b3e347d91cf87a16660c67b2df15 |
|
MD5 | 47056880558fa74903b8d0ac3a6e0a33 |
|
BLAKE2b-256 | ca266a56c60fadbf48844882ce1afa2dcbc38ed5485ee7617511188e609a8dc5 |
File details
Details for the file servc-0.5.4-py3-none-any.whl
.
File metadata
- Download URL: servc-0.5.4-py3-none-any.whl
- Upload date:
- Size: 15.8 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 | ce919ea92fcd4477a49844ed816ee9489cba0c5e304efaad63441e8648758ea0 |
|
MD5 | 65bc585c91cc851b34f357e47fac0eca |
|
BLAKE2b-256 | 7ebbdc55eb09a197e36b4c7dda0fbb708f2137b8c529a7a5d53d420490e31f23 |