Skip to content

assaf-platform/assaf-python-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 payload
zmq_ipc: "con" 
rabbitmq_host: localhost
rabbitmq_username: guest
rabbitmq_password: guest
rabbitmq_port: 5672
incoming:
   queue_name:  "test" # This is also the application name
   exchange_name: "ds-exchange"
import connect as con
con.start({}, lambda profile: profile)

Development:

local build:

python3 setup.py sdist bdist_wheel

Releases

No releases published

Packages

No packages published