A AWS Lambda Running In Local package.
Project description
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lambda-local-1.0.0.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for lambda_local-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 198850279dea740767e2e045eff53dae139ed104955bd7e7079b2a5328a53fbd |
|
MD5 | d5a93215511990a9f785ad6d4bc1095e |
|
BLAKE2b-256 | 6835ee67fd236d60aa33cf0bd795caf5ac90a89d66ce01bbf4459f5dd26955b3 |