Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

AWS Lambda packager

Project Description

(Current version doesn’t have all features to deploy at AWS)

AWS Lambda packaging library and tools


  • Python 2.7
  • pip (to run commands)
  • boto3 (to run commands)


0. Install

$ pip install git+
$ pip install -e .

1. Decorate to lambda function

from ananta import lamnda_function

@lamnda_function(FunctionName='my_lambda_func', Role='arn:aws:::your:lambda:exec:role')
def my_lambda_function(event, context):

2. Build zip package to use for AWS

$ ananta build
$ ls -l
... ...

3. Deploy to AWS Lambda

$ ananta upload -p

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(17.3 kB) Copy SHA256 Hash SHA256
Source Feb 1, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting