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

Uploaded Python 3

File details

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

File metadata

  • Download URL: servc-1.1.1.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for servc-1.1.1.tar.gz
Algorithm Hash digest
SHA256 d03d573579f2e8fda0fc1fffa68406a9bb23dd1cf28df88aa2d04fc8fab70724
MD5 68d5938c733d78e14a502d6953c4d06e
BLAKE2b-256 43f6aa0e36edb16278b6bc5900a1c54a5d0e5c7e4943d36282c306dfe0f69d9a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: servc-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for servc-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 593c4356894018bea8d6f7213f41a1413d8f11975f332b650a84ccbb31acdf6d
MD5 2f3f3697121e8f79853417d1640efd5b
BLAKE2b-256 1bfbe2d6a443d7b5e7295286ae6947147f3e517df6a2842624fdacff41c0e94f

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