FastAPI-style routing and dependency injection for AWS Lambda
Project description
rapid_lambda
Lightweight FastAPI-style dependency injection and routing for AWS Lambda.
Supports:
- Routing
- Dependency Injection
- Query parameter injection
- Structured exceptions
- Optional request logging with route-level control
Example:
from rapid_lambda import LambdaApp, Depends, Query
app = LambdaApp()
def get_user():
return {"id": "123"}
@app.route("/profile", "GET")
def profile(user = Depends(get_user)):
return {"user": user}
@app.route("/login", "POST", log=False)
def login():
return {"token": "abc"}
@app.route("/items", "GET")
def list_items(page: int = Query(default=1)):
return {"page": page}
def lambda_handler(event, context):
return app.handler(event, context)
Contributing & License
- Source:
https://github.com/chalapathy-reddy/rapid-lambda - License: MIT
Contributions are welcome via PRs. Please follow the repository's contribution guidelines for tests and code style.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rapid_lambda-1.1.2.tar.gz.
File metadata
- Download URL: rapid_lambda-1.1.2.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55b0f2f3d6ede11e762fd1643a10c93c3bf109477c3452f8f5e4004272289325
|
|
| MD5 |
14702aa4d237e097ee4424d0067f45e2
|
|
| BLAKE2b-256 |
01d6cf9acc816abd13b2a6a7881e20ca8874d63169251234076a502dca075fe5
|
Provenance
The following attestation bundles were made for rapid_lambda-1.1.2.tar.gz:
Publisher:
workflow.yml on chalapathy-reddy/rapid-lambda
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rapid_lambda-1.1.2.tar.gz -
Subject digest:
55b0f2f3d6ede11e762fd1643a10c93c3bf109477c3452f8f5e4004272289325 - Sigstore transparency entry: 1460422865
- Sigstore integration time:
-
Permalink:
chalapathy-reddy/rapid-lambda@1800ba82816538308636dccb76fec48aa2015c63 -
Branch / Tag:
refs/tags/1.1.2 - Owner: https://github.com/chalapathy-reddy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@1800ba82816538308636dccb76fec48aa2015c63 -
Trigger Event:
release
-
Statement type:
File details
Details for the file rapid_lambda-1.1.2-py3-none-any.whl.
File metadata
- Download URL: rapid_lambda-1.1.2-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58aed8934960838fc59f9002ba4e416fee093056dbe0369962b80a1afbb113a1
|
|
| MD5 |
eab4f89b63803f7b88fcd038d9ad943e
|
|
| BLAKE2b-256 |
d1df566f9382129a512006504a6bdf3f8cbd0e1c3bfb732fa4ce19470ce298e4
|
Provenance
The following attestation bundles were made for rapid_lambda-1.1.2-py3-none-any.whl:
Publisher:
workflow.yml on chalapathy-reddy/rapid-lambda
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rapid_lambda-1.1.2-py3-none-any.whl -
Subject digest:
58aed8934960838fc59f9002ba4e416fee093056dbe0369962b80a1afbb113a1 - Sigstore transparency entry: 1460422956
- Sigstore integration time:
-
Permalink:
chalapathy-reddy/rapid-lambda@1800ba82816538308636dccb76fec48aa2015c63 -
Branch / Tag:
refs/tags/1.1.2 - Owner: https://github.com/chalapathy-reddy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@1800ba82816538308636dccb76fec48aa2015c63 -
Trigger Event:
release
-
Statement type: