Aerostat
A simple CLI tool to deploy your Machine Learning models to cloud, with public API and template connections ready to go.
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. If it doesn't work, add python -m prefix to all commands,
i.e. python -m aerostat deploy.
Only three commands needed for deploying your model: install, login, and deploy.
Setup
- Run the following command to install all the dependencies needed to run Aerostat. Please allow installation in the pop-up window to continue.
aerostat install
- To login to Aerostat, you need to run the following command:
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:
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
- the name of your project
Or you can provide these information as command line options like:
aerostat deploy --model-path /path/to/model --input-columns "['col1','col2','col3']" --python-dependencies scikit-learn --project-name my-project
Connections
Aerostat provides connection templates to use your model in various applications once it is deployed. Currently, it includes templates for:
- Microsoft Excel
- Google Sheets
- Python / Jupyter Notebook
Visit the URL produced by the aerostat deploy command to test your model on cloud, and get the connection templates.
Other Commands
List
To list all the projects you have deployed, run:
aerostat ls
Info
To find deployment information of a specific project, such as API endpoint, run:
aerostat info
then choose the project from the list. You can also provide the project name as a command line option like:
aerostat info my-project
Future Roadmap
- Improve user interface, including rewrite prompts with Rich, use more colors and emojis
- Add unit tests
- Adopt Semantic Versioning once reach v0.1.0 and add CI/CD
- Support SSO login
- Support deploying to GCP
Release files for aerostat-launcher 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aerostat_launcher-0.0.9.tar.gz | 50.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aerostat_launcher-0.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 105.7 kB
Release files / aerostat_launcher-0.0.9.tar.gz
| Download URL | aerostat_launcher-0.0.9.tar.gz |
|---|---|
| Size | 50.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad199fc67295ef9b232fdad2fc1ab0aa4f431673f848e73dcca16663fd28553e
|
|
BLAKE2b-256 checksum How to use checksums |
06ce865db97d7f1ec38d71b837071a8d2d962ffc58a88eb4533d418b787a5ecd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.0 Darwin/22.3.0
|
Release files / aerostat_launcher-0.0.9-py3-none-any.whl
| Download URL | aerostat_launcher-0.0.9-py3-none-any.whl |
|---|---|
| Size | 54.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da14b9d898e190f3bf913fb44cd9d99f694c24f80c9d33c37fe2da492cb085c9
|
|
BLAKE2b-256 checksum How to use checksums |
7ed02d3a0ca7bb1885cea0578fbdee443b9638ba6d9f588afb92d5696d7a6a0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.0 Darwin/22.3.0
|