Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abhimanyuhk/lambda_local
https://github.com/abhimanyuhk/lambda_local
aws-lambda local pycharm python
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/abhimanyuhk/lambda_local
- Owner: AbhimanyuHK
- Created: 2019-02-14T07:06:51.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-14T07:23:53.000Z (almost 6 years ago)
- Last Synced: 2024-04-24T19:49:36.556Z (8 months ago)
- Topics: aws-lambda, local, pycharm, python
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LAMBDA LOCAL
Running a AWS lambda function in local host or pycharm.
Here we can run and debug the AWS lambda function from pycharm.### Lambda handler function
```
def handler(events, context):
print("events :", events)
print("context :", context)
return events
```### Local lambda run
```
from lambda_local.lambda_local import LambdaLocalevents = {"x": 7}
context = {"timeout": 100}
LambdaLocal(handler, events, context).run()
```