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

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):
  pass

# the method 'methodA' will be resolved by inputProcessor
start_server(
  resolver={
    "methodA": inputProcessor
  }
)

Project details


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

Uploaded Source

Built Distribution

servc-1.0.2-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: servc-1.0.2.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for servc-1.0.2.tar.gz
Algorithm Hash digest
SHA256 45a64908e233c99eabbbe59d634bcd7722c506c857fd18cb36e636b5611769a1
MD5 b5f473653804cab3dd1dd4574921a3b8
BLAKE2b-256 c818b874410789c0aa5a8e074bc5cf4eb83e01eb9e2797d01cb305c691a37d3c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: servc-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for servc-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d2f7de855b12d4d20279d7a68caade0eceace75c80ae05ed189f950d2a3436e2
MD5 80070aebd6c767d1cdbe758228065ba7
BLAKE2b-256 e96251bfbd718b46409cb21fe561aeaa03c931c2d5373a1b6cba23c83199da59

See more details on using hashes here.

Supported by

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