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

Serv-C

Example

Here is the most simple example of use, starting a server to handle requests at the route my-route;

from servc.com.server.server import start_server

def inputProcessor(messageId, bus, cache, components, message, emit):
  pass

# the method 'methodA' will be resolved by inputProcessor
start_server(
  {
    "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-0.6.0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

servc-0.6.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for servc-0.6.0.tar.gz
Algorithm Hash digest
SHA256 52800eeb80c4d7fd0d6b00cc048a09e4a89c5929c9974063d0d5b6d4c8106621
MD5 ec9534d3daef03153db5b173538e961a
BLAKE2b-256 4084a4988e13c3fa4d74e072f103da9681108230abe294ae460cf985c27b45f6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for servc-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dab082661e67973d5668e0a2028f04ae4319c937a8aedb7ce9d973794aac19b1
MD5 5204030ae0b0bf4e14e0969b398314e9
BLAKE2b-256 95ac927db7f6784ca79ba4e8e87ecbf11d31b5d16c2842b0a1f1f4cb94bb3451

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