A Python micro framework for AWS lambda inspired by mixin design pattern.
Project description
kimbo
A Python micro framework for AWS lambda inspired by mixin design pattern.
Installation
Python 3.6 or higher is required.
python3 -m pip install -U kimbo
Example
import kimbo
import kimbo.mixins.api_gateway
class HelloWorld(
kimbo.mixins.api_gateway.ProxyResponseMixin,
kimbo.Handler,
):
def init(self):
self.message = "Hello, world!"
def perform(self):
return self.response(self.message)
lambda_handler = HelloWorld()
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
kimbo-0.1.1.tar.gz
(3.6 kB
view details)
Built Distribution
kimbo-0.1.1-py3-none-any.whl
(4.3 kB
view details)
File details
Details for the file kimbo-0.1.1.tar.gz
.
File metadata
- Download URL: kimbo-0.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4eca671d978209b0bfe9489be8e508879aad12ee353197af2a2dec879d9b3fe |
|
MD5 | 8c63b6489905e05375081f36431f7867 |
|
BLAKE2b-256 | 94a610d01be7a664c2b4546990b499c9a99bfd629d3a84d45193c1c355ab4259 |
File details
Details for the file kimbo-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: kimbo-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff2b7e245f5e5975c33f81f542e462048eb38f0fee10e0e5188c2b32261c1d47 |
|
MD5 | bd4e07bd42d21ca216f8ec25d05df3b5 |
|
BLAKE2b-256 | 9f912153e3f0970d04252e8735d5ebb779570a0c859857320b5ea9020f336deb |