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.3.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.3-py3-none-any.whl
(23.9 kB
view details)
File details
Details for the file servc-1.4.3.tar.gz.
File metadata
- Download URL: servc-1.4.3.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 |
891f3e0a717c06ed4b0cba9787b568a6e1bd411acd3c1f8f42c2e4777789b8d4
|
|
| MD5 |
eeb3c2cc2f6f264bab5f7768b0067f79
|
|
| BLAKE2b-256 |
a8e1aa88fb1192b15181444e23c8e4086a111bf6369ace8cad9d374af861c81d
|
File details
Details for the file servc-1.4.3-py3-none-any.whl.
File metadata
- Download URL: servc-1.4.3-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 |
5a069ebd4e028f3942d5fdb806da20ceb5f8b3caa91f396a50a31c59e236def1
|
|
| MD5 |
6dba5878c9cea0c4dd436a0c2a383692
|
|
| BLAKE2b-256 |
061f8c063961d00b585b65921bd786000fe23e157835cdb68e9a7aae0ddf6cb9
|