Metadata-Version: 2.1
Name: local-lambda
Version: 0.0.2
Summary: Simple mechanism for running lambdas locally for testing
Home-page: https://github.com/dreynolds/local-lambda
Author: David Reynolds
Author-email: david@reynoldsfamily.org.uk
License: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=3.6, <4
Description-Content-Type: text/markdown
Requires-Dist: jsonschema (==3.2.0)

# local_lambda

Simple mechanism to run lambdas as if they were behind an API gateway

## Installation
```
$ pip install local_lambda
```

## Running
Create a configuration file named `.local-lambda.json` with a format simlar to this replacing with your funcitons and URLs

```
{
    "endpoints": {
        "/test": {
            "GET": {
                "function": "tests.functions.main.debug_me"
            },
            "POST": {
                "function": "tests.functions.main.debug_me"
            }
        }
    }
}
```

Run the following command:
```
$ local_lambda
```

