# 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:
```bash
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.
```bash
python -m aerostat install
```
To login to Aerostat, you need to run the following command:
```bash
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:
```bash
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:
```bash
python -m aerostat deploy --model-path /path/to/model --input-columns "['col1','col2','col3']" --python-dependencies scikit-learn
```
## Roadmap
- [x] 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
Raw data
{
"_id": null,
"home_page": "https://github.com/vinceyyyyyy/Aerostat",
"name": "aerostat-launcher",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10,<4.0",
"maintainer_email": "",
"keywords": "machine learning deployment,cloud,api",
"author": "Vincent Yan",
"author_email": "vincent.yan@blend360.com",
"download_url": "https://files.pythonhosted.org/packages/2e/14/8d355e22591a2cef58977514fb6ab2f606b499d4a94962b1a2cc098924f4/aerostat_launcher-0.0.3.tar.gz",
"platform": null,
"description": "# Aerostat\n\nAerostat is a simple CLI tool to deploy your Machine Learning models to cloud, with a public API to use.\n\n## Get started\n### Installation\nThe name `Aerostat` has been used by another PyPI project, please install this package with:\n```bash\npip install aerostat-launcher\n```\nOnce 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`.\n\nTo deploy your model, there are only three commands needed: `install`, `login`, and `deploy`.\n\n### Setup\nRun the following command, and it will install all the dependencies needed to run Aerostat.\n```bash\npython -m aerostat install\n```\n\nTo login to Aerostat, you need to run the following command:\n```bash\npython -m aerostat login\n```\nYou will be prompted to choose an existing AWS credentials, or enter a new one. The AWS account used needs to have **AdministratorAccess**. \n\n### Deploy\nTo deploy your model, you need to dump your model to a file with pickle, and run the following command:\n```bash\npython -m aerostat deploy\n```\nYou will be prompted to enter:\n- the path to your model file\n- the input columns of your model\n- the ML library used for your model\n\nOr you can provide these information as command line options like:\n```bash\npython -m aerostat deploy --model-path /path/to/model --input-columns \"['col1','col2','col3']\" --python-dependencies scikit-learn\n```\n\n\n## Roadmap\n- [x] Deploy a model to AWS Lambda\n- [ ] Improve error handling, including login checks\n- [ ] Improve user interface, including rewrite prompts with Rich, use more colors and emojis\n- [ ] Return deployment info and simple test demo with HTTP GET request\n- [ ] Make it a pip installable package\n- [ ] Handle AWS authentication from the CLI\n- [ ] Support deploying to GCP",
"bugtrack_url": null,
"license": "GPL-3.0",
"summary": "A simple CLI tool to deploy your Machine Learning models to cloud, with a public API to use.",
"version": "0.0.3",
"split_keywords": [
"machine learning deployment",
"cloud",
"api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f7599c813cce1d122e1f52454f029e90490759ce177466ff3e620aa7a24995e6",
"md5": "25b4af4a41bd4aac62048ce36d0c423a",
"sha256": "743c897d464f19282d8159171c4b85ce290f9d5ebb49f3637cd23402d0960de8"
},
"downloads": -1,
"filename": "aerostat_launcher-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "25b4af4a41bd4aac62048ce36d0c423a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 26757,
"upload_time": "2023-01-30T20:09:17",
"upload_time_iso_8601": "2023-01-30T20:09:17.320935Z",
"url": "https://files.pythonhosted.org/packages/f7/59/9c813cce1d122e1f52454f029e90490759ce177466ff3e620aa7a24995e6/aerostat_launcher-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2e148d355e22591a2cef58977514fb6ab2f606b499d4a94962b1a2cc098924f4",
"md5": "3a54b120e786a937a45973f0f00a06a4",
"sha256": "ed3894b9cf64f1e02ac57bc78a2d3a8508d4047540c8665af444ab2c6d83d5db"
},
"downloads": -1,
"filename": "aerostat_launcher-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "3a54b120e786a937a45973f0f00a06a4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<4.0",
"size": 23355,
"upload_time": "2023-01-30T20:09:18",
"upload_time_iso_8601": "2023-01-30T20:09:18.424207Z",
"url": "https://files.pythonhosted.org/packages/2e/14/8d355e22591a2cef58977514fb6ab2f606b499d4a94962b1a2cc098924f4/aerostat_launcher-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-30 20:09:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "vinceyyyyyy",
"github_project": "Aerostat",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "aerostat-launcher"
}