Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 706 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 706 Bytes

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>