Skip to main content

A collection of useful decorators for making AWS Lambda handlers

Project description

lambda-handlers

Version Build Status Maintainability Test Coverage Requirements Status semantic-release

An opinionated Python package that facilitates specifying AWS Lambda handlers including input validation, error handling and response formatting.

Dependencies

This project uses pipenv to manage its dependencies and Python environment. You can install it by:

pip install --user pipenv

We recommend using a Python virtual environment for each separate project you do. For that, we suggest using pyenv.

Installation

For production, after you clone this repository, you can install this project plus dependencies with:

cd <clone_dest>
make install

Development

For development you should also install the development dependencies, so run instead:

cd <clone_dest>
make install-dev

This will install all dependencies and this project in development mode.

Testing

We use tox to run the code checkers. Run it with:

tox

You can also run the tasks separately with make:

make test

will run the unit tests,

make lint

will run a linter,

make mypy

will run the static type checker, and

make isort-check

will run the import order checker.

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

lambda-handlers-1.0.4.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

lambda_handlers-1.0.4-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file lambda-handlers-1.0.4.tar.gz.

File metadata

  • Download URL: lambda-handlers-1.0.4.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

File hashes

Hashes for lambda-handlers-1.0.4.tar.gz
Algorithm Hash digest
SHA256 bededad87535ce560a44170563d2ef27461ff3d736deec4578df2089652ed2fd
MD5 71b87711d884d04988136de7ba6ef9a2
BLAKE2b-256 262fca1901a797b9b9f78a2a582f8de8fc383ee8079b6737771252eb1f272c15

See more details on using hashes here.

File details

Details for the file lambda_handlers-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: lambda_handlers-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

File hashes

Hashes for lambda_handlers-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 77e4dbc427892e4d3faf3af81e5fc15fb42c690a5e08e2fc4954b6e06ce69b47
MD5 08de83196047619667031ff7f0461980
BLAKE2b-256 08171f20a568b4d745332381bd2780267c64827b8d0523122855afa9a4059af4

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