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

Uploaded Python 3

File details

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

File metadata

  • Download URL: servc-1.4.7.tar.gz
  • Upload date:
  • Size: 17.1 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.7.tar.gz
Algorithm Hash digest
SHA256 67101e90248e126b9bc8ffc69112ae7c42165e769406bda7bf7af77a0b5745ed
MD5 2831849ebe63585826f15e9610fef09a
BLAKE2b-256 5191304646446bd1f663e6c3ca9ff994757adc88acf371c1bf6fff8fbfb6d4c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: servc-1.4.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c9022c932e47f9fb5e47b6627e8de36e8bc51d4c944a599e59612e1fbaf3d595
MD5 fff984c4c439e456c26d49099a09bf75
BLAKE2b-256 db469e0dc6f8c2af77a85450e3889c9b48549c4b7b354f1853d60cf3a6f264df

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