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 = FastML()
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#/
enjoy for ez API
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
FastMlOps-0.0.1.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for FastMlOps-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eee76c32281dde52b69581c9dc5738a3e52fd80a8aeb79528ac6c9b44b76a83a |
|
MD5 | 529efedb5dd9eb82d4af63e1767ac15b |
|
BLAKE2b-256 | 58f6c7e332ea229fac6243b4c92eb6724cf090a1cb0785b504ae8599010ce5a8 |