lef

Framework for creating AWS Lambda Extensions


Keywords
AWS, Lambda, Extensions, Framework, Extension, aws-lambda, lambda-extension-framework, lambda-extensions
License
MIT
Install
pip install lef==0.1.6

Documentation

Python Extension Framework

This is a framework for building AWS Lambda Extensions.

Quickstart

$ pip install lef

To get started you can use the default Extension class, or extend it.

Example:

import lef

def handler(event):
    print(event)

extension = lef.Extension()
extension.register([lef.EventType.INVOKE], handler)

Development

Install Dependencies

$ poetry install --dev

Bump Version

You can use the bin/bump script to bump the version. This is a wrapper for bumpversion.

$ bin/bump <VERSION LEVEL>