awslambdaric
AWS Lambda Runtime Interface Client for Python
Decision gist · record as of 2026-08-14
Yes. This is the official, actively maintained AWS package required to run Python Lambda functions in custom container images. It has no known vulnerabilities, supports current Python versions, carries a permissive Apache-2.0 license, and is production-stable. Install it if you are building containerized Lambda functions; it is not needed for Lambda functions deployed as .zip archives using AWS-managed runtimes.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Docker to build and run Lambda container images; the package itself runs only on Linux (manylinux2014 or musllinux distributions).
- Medium install friction due to binary wheel distribution across multiple Python versions and architectures; however, the package is actively maintained (last commit 2026-08-13) with no known vulnerabilities and supports current Python versions (3.9 through 3.13).
License · maintenance · safety
permissive license (permissive) — Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution in both open-source and proprietary projects with minimal restrictions.
last release 2026-07-30 (15 days) · last repo commit 2026-08-13 · 293 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,182,421 downloads/mo, #2,709 on PyPI
Alternatives
Verify before relying
pip install awslambdaric
# In your Dockerfile:
ENTRYPOINT [ "/usr/local/bin/python", "-m", "awslambdaric" ]
CMD [ "app.handler" ]
# In app.py:
def handler(event, context):
return "Hello World!"- Whether simplejson and snapshot-restore-py are required at runtime or only for specific use cases.
- Performance characteristics when handling high-concurrency Lambda invocations.
- Compatibility with custom Lambda extensions or layers built on this runtime.
What it is and what it does
awslambdaric is the official AWS Lambda Runtime Interface Client for Python. It implements the Lambda Runtime API, enabling you to package Python Lambda functions in custom Docker container images rather than relying on AWS-managed runtimes. You install it in your Dockerfile, set it as the entrypoint, and point it to your handler function; the package then manages the communication protocol between your code and the Lambda service.
The package supports Python 3.9 through 3.13 and is distributed as pre-built wheels for common Linux architectures (x86_64 and aarch64, both glibc and musl variants). It has two runtime dependencies: simplejson and snapshot-restore-py. The package is actively maintained by AWS, with no known security vulnerabilities, and is suitable for production use.
Use it for
- Package Python Lambda functions in custom base images (Amazon Linux 2, Alpine, Debian, Ubuntu) to control dependencies and layer sizes.
- Extend existing Docker images to be Lambda-compatible without rewriting your application code.
- Use the Lambda Runtime Interface Emulator locally to test container-based Lambda functions before deployment.
- Build Lambda functions that require system libraries or compiled dependencies not available in AWS-managed runtimes.
- Implement custom Python runtimes or middleware that wrap the Lambda Runtime API for specialized workloads.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is the official, actively maintained AWS package required to run Python Lambda functions in custom container images. It has no known vulnerabilities, supports current Python versions, carries a permissive Apache-2.0 license, and is production-stable. Install it if you are building containerized Lambda functions; it is not needed for Lambda functions deployed as .zip archives using AWS-managed runtimes.
Install
awslambdaric on PyPI
Before you install
Medium install friction due to binary wheel distribution across multiple Python versions and architectures; however, the package is actively maintained (last commit 2026-08-13) with no known vulnerabilities and supports current Python versions (3.9 through 3.13).
Requires Docker to build and run Lambda container images; the package itself runs only on Linux (manylinux2014 or musllinux distributions).
License in practice
Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution in both open-source and proprietary projects with minimal restrictions.
Quickstart
pip install awslambdaric
# In your Dockerfile:
ENTRYPOINT [ "/usr/local/bin/python", "-m", "awslambdaric" ]
CMD [ "app.handler" ]
# In app.py:
def handler(event, context):
return "Hello World!"
Verify before relying
- Whether simplejson and snapshot-restore-py are required at runtime or only for specific use cases.
- Performance characteristics when handling high-concurrency Lambda invocations.
- Compatibility with custom Lambda extensions or layers built on this runtime.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 2 packagessimplejsonsnapshot-restore-py |
| Maintenance | Actively maintained 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,182,421 / month, #2,709 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9 |
Evidence: awslambdaric-4.0.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; awslambdaric-4.0.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; awslambdaric-4.0.2-cp310-cp310-musllinux_1_2_aarch64.whl; awslambdaric-4.0.2-cp310-cp310-musllinux_1_2_x86_64.whl; awslambdaric-4.0.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; awslambdaric-4.0.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; awslambdaric-4.0.2-cp311-cp311-musllinux_1_2_aarch64.whl; awslambdaric-4.0.2-cp311-cp311-musllinux_1_2_x86_64.whl; awslambdaric-4.0.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; awslambdaric-4.0.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; awslambdaric-4.0.2-cp312-cp312-musllinux_1_2_aarch64.whl; awslambdaric-4.0.2-cp312-cp312-musllinux_1_2_x86_64.whl; awslambdaric-4.0.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; awslambdaric-4.0.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; awslambdaric-4.0.2-cp313-cp313-musllinux_1_2_aarch64.whl; awslambdaric-4.0.2-cp313-cp313-musllinux_1_2_x86_64.whl; awslambdaric-4.0.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; awslambdaric-4.0.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; awslambdaric-4.0.2-cp314-cp314-musllinux_1_2_aarch64.whl; awslambdaric-4.0.2-cp314-cp314-musllinux_1_2_x86_64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “lambda python runtime interface”
- awslambdaricImplements the AWS Lambda Runtime API to make custom Python container…
- aws-lambda-buildersCompiles, builds, and packages AWS Lambda functions across multiple…
- snapshot-restore-pyRegisters runtime hooks in AWS Lambda SnapStart-enabled Python…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also apig-wsgi · python-on-whales · mangum · awscli · aws-cdk.aws-apprunner-alpha · awsgi2 · aws-cdk.asset-kubectl-v20 · boto3 · aws-cdk.aws-lambda-python-alpha · botocore