Skip to main content

Wrapper to enable usage of Python WSGI frameworks within AWS Lambda environments.

Project description

aws-lambda-cask

Wrapper to enable usage of Python WSGI frameworks (bottle, django, flask, etc.) within AWS Lambda environments.

Supports v1.0 (API Gateway) and v2.0 (Lambda URL) payload formats.

Installation

$ pip install aws-lambda-cask

Flask example

import flask
import lambda_cask


app = flask.Flask(__name__)


@app.route("/")
def index():
    return "eyy"


def handler(event, context):
    return lambda_cask.handle(app, event, context)

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

aws_lambda_cask-0.1.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_lambda_cask-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file aws_lambda_cask-0.1.1.tar.gz.

File metadata

  • Download URL: aws_lambda_cask-0.1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for aws_lambda_cask-0.1.1.tar.gz
Algorithm Hash digest
SHA256 eb8927030288c6124cede9d16200a89e2bfe04b70282862afd3c8c8096df3842
MD5 236da066a07a5df5fd1b153de6f62f7a
BLAKE2b-256 2174f3f9c97dae09fc4f464802414950ed44cecf49fcc4199f355deb784d84fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for aws_lambda_cask-0.1.1.tar.gz:

Publisher: publish-to-pypi.yml on pilate/aws-lambda-cask

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aws_lambda_cask-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_lambda_cask-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ce0ce132edecc5095fd99c21634f90cc98e7b7c6728b8b202c4deb4aa88156e
MD5 a826097c582a785c9774a6d3e6c1eb63
BLAKE2b-256 c90f3efc5b069a4a22a1593fe16a8e2db9cc675ceb35b816798199f585cf9228

See more details on using hashes here.

Provenance

The following attestation bundles were made for aws_lambda_cask-0.1.1-py3-none-any.whl:

Publisher: publish-to-pypi.yml on pilate/aws-lambda-cask

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page