Skip to main content

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


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)

Uploaded Source

Built Distribution

lambda_local-1.0.0-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page