semvec/pypi-packages huggingface dataset:
lef 0.1.6
Framework for creating AWS Lambda Extensions
License: MIT
Requires Python: >=3.8,<4.0
Keywords: AWS,AWS Lambda,Lambda Extensions,Framework,Lambda Extension Framework

# Python Extension Framework

This is a framework for building [AWS Lambda Extensions](https://aws.amazon.com/blogs/compute/introducing-aws-lambda-extensions-in-preview/).

## Quickstart

```bash
$ pip install lef
```

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

Example:

```python
import lef

def handler(event):
    print(event)

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

## Development

Install Dependencies

```bash
$ poetry install --dev
```

Bump Version

You can use the `bin/bump` script to bump the version. This is a wrapper for [bumpversion](https://pypi.org/project/bumpversion/).

```bash
$ bin/bump <VERSION LEVEL>
```