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#/
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.2.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for FastMlOps-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2203218df5b4f4662bb55a8f04fee366cefcbf43ed4f580294aee62cfdb9bd0c |
|
MD5 | 977065a52a28e4d71431137357c1dad3 |
|
BLAKE2b-256 | c65997e3d65130db9ae3cddfa2d6b619329ca5f63bd18115ee5ba060c1be102c |