Skip to main content

Server implmentation of services for python

Project description

servc-python

Serv-C implmentation for Python. Documentation can be found https://docs.servc.io

PyPI version Serv-C Docker Pulls

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.2.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

servc-1.4.2-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file servc-1.4.2.tar.gz.

File metadata

  • Download URL: servc-1.4.2.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

Hashes for servc-1.4.2.tar.gz
Algorithm Hash digest
SHA256 c6ae6b62334d2cdba177d5f03a81d54ee50019a7bb5d9c366aff47905dc98d2e
MD5 f72fcfb7e3232b40c547255836e5c85b
BLAKE2b-256 efe561ea58d4a54ad285e34e0ea64a0609c966f3a21d20bdabb673bfc58b7527

See more details on using hashes here.

File details

Details for the file servc-1.4.2-py3-none-any.whl.

File metadata

  • Download URL: servc-1.4.2-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

Hashes for servc-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a2dcf8a79c0a6fb5abbdb756a61cb1599bba4c03b6cb13d017fcd05003f32206
MD5 be0e5552cb324dc98cb09b95c08157fd
BLAKE2b-256 50fe6c302a9c0f908ba08a2377df3c8c2bed0b7e1c6e9982b31673e1f595f06a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page