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.1.tar.gz (17.6 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.1-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: servc-1.5.1.tar.gz
  • Upload date:
  • Size: 17.6 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.1.tar.gz
Algorithm Hash digest
SHA256 f6137e1eb0abc11abf38c04628abe809850e340a4247f7821aa2b96bf7cff592
MD5 ded72c93d4ba378072836a5cfee75124
BLAKE2b-256 84765234311fd30cc3e4f60b3c290445b4607b867cf0a5227c4ca279c6336e4c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: servc-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 24.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c98d782e103ffd2bcea75545ceaec38060d944f34915713b232f74f29b2e736
MD5 b8a36265f8a35248239c069dfc7c7347
BLAKE2b-256 583000effff405898c375e8da68b958dccfb9c9d7a53a9b609a33f3f842cf54d

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