Package aws_lambda_powertools

Top-level package for Lambda Python Powertools.

Expand source code
# -*- coding: utf-8 -*-

"""Top-level package for Lambda Python Powertools."""


from .logging import Logger  # noqa: F401
from .metrics import Metrics, single_metric  # noqa: F401
from .package_logger import set_package_logger_handler
from .tracing import Tracer  # noqa: F401

__author__ = """Amazon Web Services"""

set_package_logger_handler()

Sub-modules

aws_lambda_powertools.event_handler

Event handler decorators for common Lambda events

aws_lambda_powertools.logging

Logging utility

aws_lambda_powertools.metrics

CloudWatch Embedded Metric Format utility

aws_lambda_powertools.middleware_factory

Utilities to enhance middlewares

aws_lambda_powertools.package_logger
aws_lambda_powertools.shared
aws_lambda_powertools.tracing

Tracing utility

aws_lambda_powertools.utilities

General utilities for Powertools