A collection of useful decorators for making AWS Lambda handlers
Project description
lambda-handlers
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
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 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | df2ab79c1f3c4366c5cbbf02290d11007978c3f6b6c3d4a7784524235bcebde2 |
|
MD5 | d5c0b3ef516e2c7c403cf6bbe871c6ff |
|
BLAKE2b-256 | 44b05d74357a55b5d910bbdb53e6f09d296685211f0e4f8f0942dcf73ce032fb |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | df9d7aaca3f71b7140669b4c6d251707d8aa034698673fd06e43c6ba046ee03f |
|
MD5 | f7e7900f7f162edf8c9ae1b32dfd4897 |
|
BLAKE2b-256 | 019fdf0ebb9a766c9a7840b1888235a5927df7504b715730948349d49a69f13a |