Skip to main content

a package that use for esay way for deploy ml model with fastapi

Project description

FastMlOps

esay to deploy your ml model

example

from FastMlOps import FastMlOps

app = FastMlOps()

config = {
    "method" : "POST" ,
    "path" : "/getclass" ,
    "inputModel" : {
        "x" : int,
        "y" : int
    } , 
    "responseModel" : {
        "catagory" : str ,
        "confidence" : float
    },
    "model" : "model1.h5"
}

app.createAPI(config)
  • method : use for http method ex. GET , POST
  • path : url path for test server
  • inputModel : input of your ml model
  • responseModel : output of your ml model
  • model : path to your ml model ex. "/path/ml.h5"

connect to

http://localhost:8000/docs#/

Test Image 1

enjoy for ez API

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FastMlOps-0.0.2.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

FastMlOps-0.0.2-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page