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 PyPI - Downloads 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.5.0.tar.gz (17.5 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.5.0-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: servc-1.5.0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for servc-1.5.0.tar.gz
Algorithm Hash digest
SHA256 15a29a9ebb1c36fcefa7c7b3a8d238fad9de2af2a136f98edaee810adffa86d0
MD5 3d2bdc27086dc6b07112d908bfb6d3a1
BLAKE2b-256 02d41b1fcc27a91edaa94db644292e887431f421047bb42ea7122776417b12bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: servc-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 24.3 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b07b6a923667ad3002f97d87b419b4d5f6450f094fa014e0b7b8f4287dbc0504
MD5 6ed36d2b4458f51cc9b6fce4523d3bd8
BLAKE2b-256 a0f537cdf611604bd2f3fa73cf87bb2456d028304a60912df2efee1296fa0c22

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