servc-python
Serv-C implmentation for Python. Documentation can be found here
Example
Here is the most simple example of use, starting a server to handle requests at the route my-route;
from typing import Any
from servc.server import start_server
from servc.svc.com.worker.types import RESOLVER_CONTEXT, RESOLVER_RETURN_TYPE
def inputProcessor(
messageId: str,
payload: Any,
context: RESOLVER_CONTEXT,
) -> RESOLVER_RETURN_TYPE:
return True
# the method 'methodA' will be resolved by inputProcessor
start_server(
resolver={
"methodA": inputProcessor
}
)
Metadata
Release files for servc 1.11.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| servc-1.11.12.tar.gz | 27.6 kB | Without provenance | Details for servc-1.11.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| servc-1.11.12-py3-none-any.whl | Python 3 | none | any | Details for servc-1.11.12-py3-none-any.whl |
Total release size: 60.0 kB
Release files / servc-1.11.12.tar.gz
| Download URL | servc-1.11.12.tar.gz |
|---|---|
| Size | 27.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1ee8f021642caa01f3e93ad29b6b5809a3083c84d8a425f2720457c172dc092
|
|
BLAKE2b-256 checksum How to use checksums |
339ce17ee5278d4072f5390c29e614efca6aafb157ea65eeb785839f5f8621ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / servc-1.11.12-py3-none-any.whl
| Download URL | servc-1.11.12-py3-none-any.whl |
|---|---|
| Size | 32.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b325980e90e28464338a483c9e4dc2d10ff8aff60dc384fb0b5f76e021de9e70
|
|
BLAKE2b-256 checksum How to use checksums |
28bc124135e46ee3fa45262527761a71342481488f554b70ccad8bbf9002a715
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for servc 1.11.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.