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, 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.3.1.tar.gz (16.9 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.3.1-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: servc-1.3.1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for servc-1.3.1.tar.gz
Algorithm Hash digest
SHA256 3f8acb46739a81ff14b0d98ce36098d869f0884eb321be96cb1116a8b393fd2e
MD5 a8882528b0ba23e6ec3e8ccad42ce4d1
BLAKE2b-256 6dccf4710febc7dbcc4c9d822e7074d6c2e61d5d5d1abeafe7563f2931b9d1fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: servc-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 23.8 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56efce405ac292cefd3e8fa42c032cbbb2e219fa328f68248de83d4ea41b327a
MD5 a0deab855f79ada149080c3c81ec0859
BLAKE2b-256 55d3955064ac8e1a6bb07fc970385e9cb24c28564120ce310a540d730011bd0d

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