# AWS Lambda CLI
A simple CLI (Command Line Interface) tool to interact with [AWS Lambda functions](https://aws.amazon.com/lambda/) and Lambda layers.
### Installation
To get started, install the package:
```shell
pip install aws-lambda-cli
```
and run the help command:
```shell
lambda --help
```
See [examples](#examples) below for more details.
### License note:
This project is licensed under [GPL-3](https://www.gnu.org/licenses/gpl-3.0.en.html), whose license restrictions apply
to the distribution (propagation) and modification of this project.
Usage for personal/development purposes does not carry the same requirements (disclosure, same license, etc.),
however, warranty and liability limitations are still in effect.
See section 9 of the license for details.
### TODO
- Add layer support
- Add mypy and flake/ruff
- Unittests?
- Build actions
### Examples
<a id="examples"></a>
- Build, upload, and publish `main.py` to the function `Test`:
```shell
lambda Test build.py --publish
```
- Use an S3 bucket called `resources`:
```shell
lambda Test build.py --aws_s3_bucket resources
```
- Upload a project folder:
```shell
lambda Test src
```
- Use a cli profile called `work`, and upload to the `eu-central-1` region:
```shell
lambda Test main.py --profile work --region eu-central-1
```
- Build locally, and keep the output file without uploading:
```shell
lambda Test main.py --out out.zip --no-upload
```
Raw data
{
"_id": null,
"home_page": "https://github.com/HassanAbouelela/aws-lambda-cli",
"name": "aws-lambda-cli",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": "aws, lambda, serverless, botocore, boto3",
"author": "Hassan Abouelela",
"author_email": "hassan@hassanamr.com",
"download_url": "https://files.pythonhosted.org/packages/61/46/6bd4b9842335fbf920777aef344a287ecb87dcdd7a081bcf1422b74c78d8/aws_lambda_cli-0.1.0.tar.gz",
"platform": null,
"description": "# AWS Lambda CLI\nA simple CLI (Command Line Interface) tool to interact with [AWS Lambda functions](https://aws.amazon.com/lambda/) and Lambda layers.\n\n### Installation\nTo get started, install the package:\n```shell\npip install aws-lambda-cli\n```\n\nand run the help command:\n```shell\nlambda --help\n```\n\nSee [examples](#examples) below for more details.\n\n### License note:\nThis project is licensed under [GPL-3](https://www.gnu.org/licenses/gpl-3.0.en.html), whose license restrictions apply\nto the distribution (propagation) and modification of this project.\nUsage for personal/development purposes does not carry the same requirements (disclosure, same license, etc.),\nhowever, warranty and liability limitations are still in effect.\nSee section 9 of the license for details.\n\n### TODO\n- Add layer support\n- Add mypy and flake/ruff\n- Unittests?\n- Build actions\n\n### Examples\n<a id=\"examples\"></a>\n- Build, upload, and publish `main.py` to the function `Test`:\n```shell\nlambda Test build.py --publish\n```\n\n- Use an S3 bucket called `resources`:\n```shell\nlambda Test build.py --aws_s3_bucket resources\n```\n\n- Upload a project folder:\n```shell\nlambda Test src\n```\n\n- Use a cli profile called `work`, and upload to the `eu-central-1` region:\n```shell\nlambda Test main.py --profile work --region eu-central-1\n```\n\n- Build locally, and keep the output file without uploading:\n```shell\nlambda Test main.py --out out.zip --no-upload\n```\n",
"bugtrack_url": null,
"license": "GPL-3.0-or-later",
"summary": "A simple CLI for building and uploading AWS Lambda functions.",
"version": "0.1.0",
"project_urls": {
"Bug Tracker": "https://github.com/HassanAbouelela/aws-lambda-cli/issues",
"Homepage": "https://github.com/HassanAbouelela/aws-lambda-cli",
"Repository": "https://github.com/HassanAbouelela/aws-lambda-cli"
},
"split_keywords": [
"aws",
" lambda",
" serverless",
" botocore",
" boto3"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c055db8c73f78646f98558d5d99df071aa19e3166603b169a83a20c787c3e3eb",
"md5": "a505ec30192e564b54b631bd23ad0caf",
"sha256": "5c8537ea96924f31a1bcd2fa0a53108c31122987cee89d42a6d0a64913195c8c"
},
"downloads": -1,
"filename": "aws_lambda_cli-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a505ec30192e564b54b631bd23ad0caf",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 18351,
"upload_time": "2024-08-13T22:51:47",
"upload_time_iso_8601": "2024-08-13T22:51:47.481013Z",
"url": "https://files.pythonhosted.org/packages/c0/55/db8c73f78646f98558d5d99df071aa19e3166603b169a83a20c787c3e3eb/aws_lambda_cli-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "61466bd4b9842335fbf920777aef344a287ecb87dcdd7a081bcf1422b74c78d8",
"md5": "a3d3ba9aecd7e920fd47d62916326d45",
"sha256": "3abf96d4387726f9224ff8a2cc5e5b19f89998c1556db63efffb7e31a05fefe9"
},
"downloads": -1,
"filename": "aws_lambda_cli-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "a3d3ba9aecd7e920fd47d62916326d45",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 16938,
"upload_time": "2024-08-13T22:51:49",
"upload_time_iso_8601": "2024-08-13T22:51:49.139885Z",
"url": "https://files.pythonhosted.org/packages/61/46/6bd4b9842335fbf920777aef344a287ecb87dcdd7a081bcf1422b74c78d8/aws_lambda_cli-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-13 22:51:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "HassanAbouelela",
"github_project": "aws-lambda-cli",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "aws-lambda-cli"
}