Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acai_aws-2.0.0b7.tar.gz (47.1 kB view details)

Uploaded Source

Built Distribution

acai_aws-2.0.0b7-py3-none-any.whl (91.6 kB view details)

Uploaded Python 3

File details

Details for the file acai_aws-2.0.0b7.tar.gz.

File metadata

  • Download URL: acai_aws-2.0.0b7.tar.gz
  • Upload date:
  • Size: 47.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for acai_aws-2.0.0b7.tar.gz
Algorithm Hash digest
SHA256 d48a669a5ef41464f4cfbfc57721b20062b3e4a3fd62058be7b08e0eb0efd30b
MD5 03f4b98086799cbb77cbbe63b0a2e27f
BLAKE2b-256 a4b8c2b2f62820bab9501c6107c17193e29c643534484a660d27538e0d2ef972

See more details on using hashes here.

File details

Details for the file acai_aws-2.0.0b7-py3-none-any.whl.

File metadata

  • Download URL: acai_aws-2.0.0b7-py3-none-any.whl
  • Upload date:
  • Size: 91.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for acai_aws-2.0.0b7-py3-none-any.whl
Algorithm Hash digest
SHA256 175a6a8f86258425a6965947064b8b67b7ab887487d8341e9e86c2fb14cf2ce5
MD5 974c0097a6987a26c414e8b09c6a8a15
BLAKE2b-256 4e1d08de340453d1da03bb7da4abbbe7e7539382c0c18b1da3afd57537ecf93e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page