Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abhimanyuhk/lambda_local


https://github.com/abhimanyuhk/lambda_local

aws-lambda local pycharm python

Last synced: 5 days ago
JSON representation

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 LambdaLocal

events = {"x": 7}

context = {"timeout": 100}

LambdaLocal(handler, events, context).run()

```