Skip to content

Repository files navigation

Assaf Python Connector

Turn any python function to a microservice with a config file and minimal boilerplate

This is part of the assaf project - Generic Model Serving Server


Example usage:

create a basic config file:

response:
json:
return_key: "data"# key to use in payloadzmq_ipc: "con"rabbitmq_host: localhostrabbitmq_username: guestrabbitmq_password: guestrabbitmq_port: 5672incoming:
queue_name: "test"# This is also the application nameexchange_name: "ds-exchange"
importconnectasconcon.start({}, lambdaprofile: profile)

Development:

local build:

python3 setup.py sdist bdist_wheel

About

deploy any function

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages