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.Handler,
kimbo.mixins.api_gateway.ProxyResponseMixin,
):
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.0.tar.gz
(2.9 kB
view details)
Built Distribution
kimbo-0.1.0-py3-none-any.whl
(3.4 kB
view details)
File details
Details for the file kimbo-0.1.0.tar.gz
.
File metadata
- Download URL: kimbo-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15c23e625e34ad3390465c9d8b28c5fd3031750cd61e0769ca9d18e30c52ea2b |
|
MD5 | 1a3f62ada3ad6f8b2f3d669b4a7b57d0 |
|
BLAKE2b-256 | bfbe1ac600603bd0dcaa20690e29f0752177141e5a9e1cc06cb99c9cee495052 |
File details
Details for the file kimbo-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: kimbo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 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 | a705aac8a1fd85a204ea4f79d5c961633c2761597977e60be9fbafc1e82ecc73 |
|
MD5 | 48f7014cb61727f8cbbd8dfbb8ddb987 |
|
BLAKE2b-256 | 49011b95420a5339426095b07b1c11905b6decfc247ee653b97f27192306f5cb |