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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file lambda-local-1.0.0.tar.gz.

File metadata

  • Download URL: lambda-local-1.0.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.7.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for lambda-local-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fffe245e4da1d658d2d83833ac5a5e50e0ac8ddbb9545dbacf4405f637333fff
MD5 a190cf0ce57792a06f2d1ca2e2755e15
BLAKE2b-256 37fba7c68274d241c3836b312d42c17542719530059022e18ed8f50595efe4f9

See more details on using hashes here.

File details

Details for the file lambda_local-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: lambda_local-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.7.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for lambda_local-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 198850279dea740767e2e045eff53dae139ed104955bd7e7079b2a5328a53fbd
MD5 d5a93215511990a9f785ad6d4bc1095e
BLAKE2b-256 6835ee67fd236d60aa33cf0bd795caf5ac90a89d66ce01bbf4459f5dd26955b3

See more details on using hashes here.

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