kappa
A CLI tool for AWS Lambda developers
What it is and what it does
Kappa simplifies AWS Lambda function development by automating repetitive deployment tasks. Instead of manually creating IAM roles, writing policies, zipping code, uploading to Lambda, and retrieving logs, you define your function and its resource requirements in a YAML configuration file, and kappa handles the rest—generating appropriate IAM policies, creating execution roles, packaging and uploading your code, running tests against mock data, and displaying CloudWatch logs.
The tool was designed to reduce friction in the Lambda development workflow, particularly for developers working with Python Lambda functions. It reads a kappa.yml file that specifies your function's handler, memory, timeout, and the AWS resources it needs to access, then automatically generates least-privilege IAM policies based on those resource ARNs. You can then deploy, test, and update your function through simple CLI commands.
Use it for:
- Automating deployment of Python Lambda functions without manually writing IAM policies or managing CloudFormation templates
- Testing Lambda functions locally with mock event data and viewing the corresponding CloudWatch logs in one command
- Managing multiple deployment environments (dev, prod) with different AWS profiles and regions from a single configuration file
- Quickly iterating on Lambda function code and configuration by re-running deploy to apply changes without manual AWS console steps
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Kappa is a command-line tool that automates the deployment, configuration, and testing of AWS Lambda functions, handling IAM policy creation, code packaging, and CloudWatch log retrieval.
No. Kappa is abandoned (last release 2017, last commit 2021) and targets obsolete Python versions (2.7, 3.3–3.5). Modern AWS Lambda development is better served by maintained tools like AWS SAM, Serverless Framework, or Terraform. Use kappa only if you are maintaining a legacy project that already depends on it and cannot migrate.
Install
kappa on PyPI
pip
pip install kappauv
uv add kappapoetry
poetry add kappaInstalling kappa
Before you install
Installation is straightforward with no runtime dependencies, but the project is abandoned—last release was in 2017 and last commit in 2021. It targets Python 2.7 and early Python 3 versions, which are now unsupported. Use only if you need to maintain legacy Lambda deployments.
License in practice
Licensed under Apache License 2.0 (permissive), so you can use, modify, and distribute it freely with minimal restrictions. No licensing barrier to adoption.
Quickstart
pip install kappa
kappa deploy
kappa invoke _tests/test_one.json
Requires AWS credentials configured (via AWS CLI profile) and a kappa.yml configuration file in your project directory. Targets Python 2.7 and early Python 3 versions no longer in active support.
Verify before relying
- Whether kappa works with modern AWS Lambda features and current Python runtimes (3.9+) despite targeting only 2.7 and 3.3–3.5
- Current state of compatibility with modern AWS IAM policy formats and Lambda API changes since 2017
- Whether the tool's CloudWatch log retrieval still functions with current AWS service implementations
Package facts
| License | Apache License 2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 3,469 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 115,059/month — #12,271 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: kappa-0.7.0-py2-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
ecs-deployecs-deploy is a CLI tool that simplifies Amazon…
permissive · top 15,000 on PyPI
aws-cdk.aws-kmsProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
policy-sentryPolicy Sentry generates least-privilege AWS IAM…
permissive · top 5,000 on PyPI
awslogsawslogs is a command-line tool for querying and…
permissive · top 15,000 on PyPI
aws-cdk.aws-lambdaDefines AWS Lambda functions and layers as…
permissive · top 15,000 on PyPI
aws-cdk.aws-logsProvides AWS CDK constructs for creating and…
permissive · top 15,000 on PyPI
lambda-warmer-pyA decorator that minimizes AWS Lambda cold…
permissive · top 15,000 on PyPI
cargo-lambdacargo-lambda is a Cargo subcommand that…
permissive · top 15,000 on PyPI
chaliceChalice is a Python framework for building and…
permissive · top 15,000 on PyPI
crhelperSimplifies writing CloudFormation custom…
permissive · top 15,000 on PyPI