DRY, configurable, opinionated, minimalist framework for use with AWS Serverless Lambdas
Project description
Acai AWS
DRY, configurable, declarative node library for working with Amazon Web Service Lambdas.
Features
- Highly configurable apigateway internal router
- Openapi schema adherence for all event types
- Extensible and customizable middleware for validation and other tasks
- DRY coding interfaces without the need of boilerplate
- Ease-of-use with the serverless framework
- Local Development support
- Happy Path Programming (See Philosophy below)
Philosophy
The Acai philosophy is to provide a dry, configurable, declarative library for use with the amazon lambdas, which encourages Happy Path Programming (HPP).
Happy Path Programming is an idea in which inputs are all validated before operated on. This ensures code follows the happy path without the need for mid-level, nested exceptions and all the nasty exception handling that comes with that. The library uses layers of customizable middleware options to allow a developer to easily dictate what constitutes a valid input, without nested conditionals, try/catch blocks or other coding blocks which distract from the happy path that covers the majority of that codes intended operation.
Installation
This is a python module available through the pypi registry.
Before installing, download and install python. python 3 or higher is required.
Installation is done using the
pip install
command:
$ pip install acai_aws
# pipenv install acai_aws
# poetry add acai_aws
Documentation & Examples
Contributing
If you would like to contribute please make sure to follow the established patterns and unit test your code:
Unit Testing
To run unit test, enter command:
pipenv run test
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
Built Distribution
File details
Details for the file acai_aws-2.0.0b3.tar.gz
.
File metadata
- Download URL: acai_aws-2.0.0b3.tar.gz
- Upload date:
- Size: 47.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8497ee5ba0c82fc2c1c9169659399633cd747de88d710b14b23b3fdcea0b9dbe |
|
MD5 | bf998de242391f989343f55b3f86f66e |
|
BLAKE2b-256 | 02539bf60af15438d779e7e6c2d8a6e5c11c3e0931d5282d7ebcb579848847d5 |
File details
Details for the file acai_aws-2.0.0b3-py3-none-any.whl
.
File metadata
- Download URL: acai_aws-2.0.0b3-py3-none-any.whl
- Upload date:
- Size: 92.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10413beb3f0be6eaaaffd38b1dbba977f364cfe6c59d1e2e2d05d85b552de168 |
|
MD5 | 52f5e7c5f38601abf15bf6c5f1304b82 |
|
BLAKE2b-256 | 0a50601327b2872e50cd37594063e20a433cb5ae103c2ff17222e3dc384e7422 |