Skip to main content

UNKNOWN

Project description

λambdify

lambdify allows you to create AWS Lambda function directly from the python code.
Just like that:

install lambdify

$pip install lambdify

…create AWS Lambda with 4 lines of code:

from lambdify import Lambda


@Lambda.f(name='echo')
def echo(*args, **kwargs):
    return args, kwargs

echo.create()

if __name__ == '__main__':
    import getpass
    echo(msg='Hello, {user}!'.format(user=getpass.getuser()))

Now you can head over to your AWS Lambda console and behold your echo function

The goal

Lambdify aims to unite convenient task queues API (i.e. Celery, Hue, RQ’s @job decorator) with AWS Lambda service coolest features.

At present, there are some solutions, that allow you to create and deploy lambdas, like Zappa, lambda-uploader, lambder etc., but they still have limitations of not being able to interact directly with a python program.
lambdify overcomes such limitations by using the following algorithm:

Documentation

>>>from lambdify import Lambda
>>>help(Lambda)

Project details


Download files

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

Files for lambdify, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size lambdify-0.0.3.tar.gz (19.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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