DEPRECATION WARNING !!!
This library no longer supports lambda layers and eventually will be moved to another repository. It is a simple python library of common methods to develop in AWS environment. Create your own lambda layer using and specify this library as a dependency. Example given below.from b_cfn_lambda_layer.lambda_layer import LambdaLayer layer = LambdaLayer( ..., dependencies={ 'b-lambda_layer_common': PackageVersion.from_string_version('4.0.0'), } )
This is a simple python library, that contains various useful methods that will make infrastructure development much easier.
Biomapas aims to modernise life-science industry by sharing its IT knowledge with other companies and the community. This is an open source library intended to be used by anyone. Improvements and pull requests are welcome.
- Python3
- Docker
- AWS CDK
- AWS Lambda
This project assumes you have good knowledge in AWS.
- Good Python skills and basis of OOP.
- None.
Before installing this library, ensure you have these tools setup:
- Python / Pip
To install this project from source run:
pip install .
Or you can install it from a PyPi repository:
pip install b-lambda_layer_common
Main modules:
- api_gateway
Contains various functionalities related to API Gateway service and integrations. - cache
Contains caching mechanisms for lambda functions. - events
Contains functionality that supports event-driven architectures. - exceptions
Contains advanced exception handling and propagation between lambda function chains. - ssm
Contains SSM parameter store handling logic. - util
Contains random fun stuff ;) - validation
Various value validations for python. - ws_api_gateway
Contains various functionalities related to API Gateway websocket service and integrations.
This package has unit tests based on pytest. To run tests simply run:
pytest --cov=b_lambda_layer_common b_lambda_layer_common_test/unit --cov-fail-under=80
Found a bug? Want to add or suggest a new feature? Contributions of any kind are gladly welcome. You may contact us directly, create a pull-request or an issue in github platform. Lets modernize the world together.