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.3.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.3-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: servc-1.5.3.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.3.tar.gz
Algorithm Hash digest
SHA256 4909ef2ff25d8aaa31413b187db65400f0f5d4a7a345bfc51c2a3a378740c991
MD5 a3890b6132e9bd0e66c69080e29e6867
BLAKE2b-256 0f767c1053a3c0259a8f1332881cc3461b9ad704e93d7d72887aada1dab999b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: servc-1.5.3-py3-none-any.whl
  • Upload date:
  • Size: 24.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a937b0781ae4b542f58755436198a8d220a2eabb90096d34616f3dd4d2e0f1f2
MD5 b7b20678c682bdb6af4a7ceed47201e4
BLAKE2b-256 52fe1cfebbf553aae8d6bee0f986a1a8a5ee8b24ed08076d9ad94d04ddf2246d

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