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.

Source Distribution

lambdify-0.0.3.tar.gz (19.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page