Skip to main content
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

Requirements

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

Usage

0. Install

$ pip install git+https://github.com/attakei/ananta.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):
    do_it()

2. Build zip package to use for AWS

$ ananta build
$ ls -l
... package.zip ...

3. Deploy to AWS Lambda

$ ananta upload -p package.zip

Release history Release notifications

This version
History Node

0.1.0

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ananta-0.1.0.tar.gz (17.3 kB) Copy SHA256 hash SHA256 Source None Feb 1, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page