A simple CLI tool to deploy your Machine Learning models to cloud, with a public API to use.
Project description
Aerostat
Aerostat is a simple CLI tool to deploy your Machine Learning models to cloud, with a public API to use.
Get started
Installation
The name Aerostat
has been used by another PyPI project, please install this package with:
pip install aerostat-launcher
Once installed, it can be used directly via aerostat
. Most likely you will need to run this module with python -m
prefix since it is not included in $PATH
.
To deploy your model, there are only three commands needed: install
, login
, and deploy
.
Setup
Run the following command, and it will install all the dependencies needed to run Aerostat.
python -m aerostat install
To login to Aerostat, you need to run the following command:
python -m aerostat login
You will be prompted to choose an existing AWS credentials, or enter a new one. The AWS account used needs to have AdministratorAccess.
Deploy
To deploy your model, you need to dump your model to a file with pickle, and run the following command:
python -m aerostat deploy
You will be prompted to enter:
- the path to your model file
- the input columns of your model
- the ML library used for your model
Or you can provide these information as command line options like:
python -m aerostat deploy --model-path /path/to/model --input-columns "['col1','col2','col3']" --python-dependencies scikit-learn
Roadmap
- Deploy a model to AWS Lambda
- Improve error handling, including login checks
- Improve user interface, including rewrite prompts with Rich, use more colors and emojis
- Return deployment info and simple test demo with HTTP GET request
- Make it a pip installable package
- Handle AWS authentication from the CLI
- Support deploying to GCP
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
Built Distribution
Hashes for aerostat_launcher-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb681ff9bc5d5082b355ce1ed7d8d0ea5392fd1098a28c648f3a670a0ff0be49 |
|
MD5 | dd8f7e212e161cc5b185bc0a6e61fa5b |
|
BLAKE2b-256 | 004bee17414dc24c1c044867dac585f378d15ec4f54bc9dee2f0754a8dde6207 |