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

Uploaded Python 3

File details

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

File metadata

  • Download URL: servc-1.4.6.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.6.tar.gz
Algorithm Hash digest
SHA256 ae9b76a4e767604d874fd587b3661f3f2e8b72c5f95b09a05b88812020d97e4e
MD5 5e69ac483fcf367cf1545b71d9b188f6
BLAKE2b-256 788d091ea22469ab9f7b287676fa67a7f666654e0a7550d0b91d59f9a5d191cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: servc-1.4.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 36903343cb7adb57dd52b0bae0c5439dd4b3b2af3023b33eb86a743bb99ff88f
MD5 08c788e18076412f82f4421bafee2e7a
BLAKE2b-256 e26de725c710fb7759bb044733617bf8122a9d4cc9a1921f7a162bc771ff6b5d

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