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.3.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: lambda-handlers-1.0.3.tar.gz
  • Upload date:
  • Size: 16.9 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.3.tar.gz
Algorithm Hash digest
SHA256 df2ab79c1f3c4366c5cbbf02290d11007978c3f6b6c3d4a7784524235bcebde2
MD5 d5c0b3ef516e2c7c403cf6bbe871c6ff
BLAKE2b-256 44b05d74357a55b5d910bbdb53e6f09d296685211f0e4f8f0942dcf73ce032fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lambda_handlers-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 df9d7aaca3f71b7140669b4c6d251707d8aa034698673fd06e43c6ba046ee03f
MD5 f7e7900f7f162edf8c9ae1b32dfd4897
BLAKE2b-256 019fdf0ebb9a766c9a7840b1888235a5927df7504b715730948349d49a69f13a

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