Simple mechanism for running lambdas locally for testing
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
local_lambda-0.0.2.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for local_lambda-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef10fbae211f0e1ccdaf097d9fff0b5725e4462a010f728434e502f22d99fab2 |
|
MD5 | cff2c6cc35a35bfaddf816451e974f77 |
|
BLAKE2b-256 | bb83425035edb0377b36f9599bc504b2c75ab28bc5fd1167f45a5d328228feb0 |