├── .dockerignore ├── .github ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── test-on-push-and-pr.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── MANIFEST.in ├── Makefile ├── NOTICE ├── README.md ├── RELEASE.CHANGELOG.md ├── THIRD-PARTY-LICENSES ├── awslambdaric ├── __init__.py ├── __main__.py ├── bootstrap.py ├── lambda_context.py ├── lambda_literals.py ├── lambda_runtime_client.py ├── lambda_runtime_exception.py ├── lambda_runtime_hooks_runner.py ├── lambda_runtime_log_utils.py ├── lambda_runtime_marshaller.py └── runtime_client.cpp ├── deps ├── aws-lambda-cpp-0.2.6.tar.gz ├── curl-7.83.1.tar.gz ├── patches │ ├── aws-lambda-cpp-add-content-type.patch │ ├── aws-lambda-cpp-add-tenant-id.patch │ ├── aws-lambda-cpp-add-xray-response.patch │ ├── aws-lambda-cpp-make-lto-optional.patch │ ├── aws-lambda-cpp-make-the-runtime-client-user-agent-overrideable.patch │ ├── aws-lambda-cpp-posting-init-errors.patch │ └── libcurl-configure-template.patch └── versions ├── requirements ├── base.txt └── dev.txt ├── scripts ├── preinstall.sh └── update_deps.sh ├── setup.py └── tests ├── __init__.py ├── integration ├── codebuild-local │ ├── Dockerfile.agent │ ├── codebuild_build.sh │ ├── test_all.sh │ └── test_one.sh ├── codebuild │ ├── buildspec.os.alpine.yml │ ├── buildspec.os.amazonlinux.2.yml │ ├── buildspec.os.amazonlinux.2023.yml │ ├── buildspec.os.debian.yml │ └── buildspec.os.ubuntu.yml ├── docker-compose.template.yml ├── docker │ ├── Dockerfile.echo.alpine │ ├── Dockerfile.echo.amazonlinux2 │ ├── Dockerfile.echo.amazonlinux2023 │ ├── Dockerfile.echo.debian │ └── Dockerfile.echo.ubuntu ├── resources │ ├── aws-lambda-rie-arm64.tar.gz │ └── aws-lambda-rie.tar.gz └── test-handlers │ └── echo │ └── app.py ├── test_bootstrap.py ├── test_built_in_module_name └── sys.py ├── test_handler_with_slash └── test_handler.py ├── test_lambda_context.py ├── test_lambda_runtime_client.py ├── test_lambda_runtime_marshaller.py ├── test_main.py └── test_runtime_hooks.py /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/test-on-push-and-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/.github/workflows/test-on-push-and-pr.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/Makefile -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE.CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/RELEASE.CHANGELOG.md -------------------------------------------------------------------------------- /THIRD-PARTY-LICENSES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/THIRD-PARTY-LICENSES -------------------------------------------------------------------------------- /awslambdaric/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/awslambdaric/__init__.py -------------------------------------------------------------------------------- /awslambdaric/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/awslambdaric/__main__.py -------------------------------------------------------------------------------- /awslambdaric/bootstrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/awslambdaric/bootstrap.py -------------------------------------------------------------------------------- /awslambdaric/lambda_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/awslambdaric/lambda_context.py -------------------------------------------------------------------------------- /awslambdaric/lambda_literals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/awslambdaric/lambda_literals.py -------------------------------------------------------------------------------- /awslambdaric/lambda_runtime_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/awslambdaric/lambda_runtime_client.py -------------------------------------------------------------------------------- /awslambdaric/lambda_runtime_exception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/awslambdaric/lambda_runtime_exception.py -------------------------------------------------------------------------------- /awslambdaric/lambda_runtime_hooks_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/awslambdaric/lambda_runtime_hooks_runner.py -------------------------------------------------------------------------------- /awslambdaric/lambda_runtime_log_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/awslambdaric/lambda_runtime_log_utils.py -------------------------------------------------------------------------------- /awslambdaric/lambda_runtime_marshaller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/awslambdaric/lambda_runtime_marshaller.py -------------------------------------------------------------------------------- /awslambdaric/runtime_client.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/awslambdaric/runtime_client.cpp -------------------------------------------------------------------------------- /deps/aws-lambda-cpp-0.2.6.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/deps/aws-lambda-cpp-0.2.6.tar.gz -------------------------------------------------------------------------------- /deps/curl-7.83.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/deps/curl-7.83.1.tar.gz -------------------------------------------------------------------------------- /deps/patches/aws-lambda-cpp-add-content-type.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/deps/patches/aws-lambda-cpp-add-content-type.patch -------------------------------------------------------------------------------- /deps/patches/aws-lambda-cpp-add-tenant-id.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/deps/patches/aws-lambda-cpp-add-tenant-id.patch -------------------------------------------------------------------------------- /deps/patches/aws-lambda-cpp-add-xray-response.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/deps/patches/aws-lambda-cpp-add-xray-response.patch -------------------------------------------------------------------------------- /deps/patches/aws-lambda-cpp-make-lto-optional.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/deps/patches/aws-lambda-cpp-make-lto-optional.patch -------------------------------------------------------------------------------- /deps/patches/aws-lambda-cpp-make-the-runtime-client-user-agent-overrideable.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/deps/patches/aws-lambda-cpp-make-the-runtime-client-user-agent-overrideable.patch -------------------------------------------------------------------------------- /deps/patches/aws-lambda-cpp-posting-init-errors.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/deps/patches/aws-lambda-cpp-posting-init-errors.patch -------------------------------------------------------------------------------- /deps/patches/libcurl-configure-template.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/deps/patches/libcurl-configure-template.patch -------------------------------------------------------------------------------- /deps/versions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/deps/versions -------------------------------------------------------------------------------- /requirements/base.txt: -------------------------------------------------------------------------------- 1 | simplejson>=3.20.1 2 | snapshot-restore-py>=1.0.0 3 | -------------------------------------------------------------------------------- /requirements/dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/requirements/dev.txt -------------------------------------------------------------------------------- /scripts/preinstall.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/scripts/preinstall.sh -------------------------------------------------------------------------------- /scripts/update_deps.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/scripts/update_deps.sh -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/codebuild-local/Dockerfile.agent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/codebuild-local/Dockerfile.agent -------------------------------------------------------------------------------- /tests/integration/codebuild-local/codebuild_build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/codebuild-local/codebuild_build.sh -------------------------------------------------------------------------------- /tests/integration/codebuild-local/test_all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/codebuild-local/test_all.sh -------------------------------------------------------------------------------- /tests/integration/codebuild-local/test_one.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/codebuild-local/test_one.sh -------------------------------------------------------------------------------- /tests/integration/codebuild/buildspec.os.alpine.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/codebuild/buildspec.os.alpine.yml -------------------------------------------------------------------------------- /tests/integration/codebuild/buildspec.os.amazonlinux.2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/codebuild/buildspec.os.amazonlinux.2.yml -------------------------------------------------------------------------------- /tests/integration/codebuild/buildspec.os.amazonlinux.2023.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/codebuild/buildspec.os.amazonlinux.2023.yml -------------------------------------------------------------------------------- /tests/integration/codebuild/buildspec.os.debian.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/codebuild/buildspec.os.debian.yml -------------------------------------------------------------------------------- /tests/integration/codebuild/buildspec.os.ubuntu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/codebuild/buildspec.os.ubuntu.yml -------------------------------------------------------------------------------- /tests/integration/docker-compose.template.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/docker-compose.template.yml -------------------------------------------------------------------------------- /tests/integration/docker/Dockerfile.echo.alpine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/docker/Dockerfile.echo.alpine -------------------------------------------------------------------------------- /tests/integration/docker/Dockerfile.echo.amazonlinux2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/docker/Dockerfile.echo.amazonlinux2 -------------------------------------------------------------------------------- /tests/integration/docker/Dockerfile.echo.amazonlinux2023: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/docker/Dockerfile.echo.amazonlinux2023 -------------------------------------------------------------------------------- /tests/integration/docker/Dockerfile.echo.debian: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/docker/Dockerfile.echo.debian -------------------------------------------------------------------------------- /tests/integration/docker/Dockerfile.echo.ubuntu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/docker/Dockerfile.echo.ubuntu -------------------------------------------------------------------------------- /tests/integration/resources/aws-lambda-rie-arm64.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/resources/aws-lambda-rie-arm64.tar.gz -------------------------------------------------------------------------------- /tests/integration/resources/aws-lambda-rie.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/integration/resources/aws-lambda-rie.tar.gz -------------------------------------------------------------------------------- /tests/integration/test-handlers/echo/app.py: -------------------------------------------------------------------------------- 1 | def handler(event, context): 2 | return "success" 3 | -------------------------------------------------------------------------------- /tests/test_bootstrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/test_bootstrap.py -------------------------------------------------------------------------------- /tests/test_built_in_module_name/sys.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/test_built_in_module_name/sys.py -------------------------------------------------------------------------------- /tests/test_handler_with_slash/test_handler.py: -------------------------------------------------------------------------------- 1 | def my_handler(): 2 | return "Good with slash" 3 | -------------------------------------------------------------------------------- /tests/test_lambda_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/test_lambda_context.py -------------------------------------------------------------------------------- /tests/test_lambda_runtime_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/test_lambda_runtime_client.py -------------------------------------------------------------------------------- /tests/test_lambda_runtime_marshaller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/test_lambda_runtime_marshaller.py -------------------------------------------------------------------------------- /tests/test_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/test_main.py -------------------------------------------------------------------------------- /tests/test_runtime_hooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/aws-lambda-python-runtime-interface-client/HEAD/tests/test_runtime_hooks.py --------------------------------------------------------------------------------