{ "info": { "author": "Nicholas Ames", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [], "description": "Python AWS Local Lambda\n=======================\nEasily test and deploy your AWS Lambda function.\n\n**Requirements**\n\n* Python 2.7.x\n* pip\n* AWS CLI\n* AWS Account (For deploying)\n\nSince AWS currently only supports Python 2.7, you must ensure your function is tested and working in Python 2.7 before deploying.\n\n**Installation**\n\nInstallation should be done using pip: ``pip install pylambda``\n\nOnce installed, make sure you setup the AWS CLI by following: http://docs.aws.amazon.com/cli/latest/userguide/installing.html\n\n\n**Getting Started**\n\nOnce installed you can run pylambda from the console.\n\nRun ``pylambda -h`` to see help options.\n\n**Running Your Lambda**\n\nTo run your lambda function, use the following command:\n\n``pylambda run my_lambda_function.py -e event.json -n handler``\n\n* my_lambda_function.py = The python file containing your lambda function.\n* event.json = The json event sent to your python function. See http://docs.aws.amazon.com/lambda/latest/dg/python-programming-model-handler-types.html\n* handler = The name of the function that lambda should call. The event.json is passed to this function if provided.\n\nArguments:\n\n* file : the name of the python file that contains the lambda function. REQUIRED\n* -e, --event : the json file that contains the event data. Must be a parsable json file. OPTIONAL\n* -n, --name : the name of the function that should be called by lambda. Default 'handler'. OPTIONAL\n\n**Deploying to S3**\n\nTo deploy your code as a zip to S3 navigate to the folder where your lambda function is contained and run:\n\n``pylambda deploy my_lambda_directory_path s3://mybucket -n my_lambda_function``\n\n* my_lambda_directory_path = The path to the directory that contains your lambda function and requirements.txt file.\n* s3://mybucket = The location of your S3 bucket. This should follow the AWS CLI for S3 locations.\n* my_lambda_function = The name of the zip file.\n\n*NOTE: you must have a proper requirements.txt within the same folder as your lambda function if you are using external libraries installed with pip. The deploy functionality will automatically bundle in these dependencies before uploading.*\n\nArguments:\n\n* directory : the directory path that contains your lambda.\n* s3_bucket : the location of your S3 bucket. Must follow the AWS CLI format. REQUIRED\n* -n, --name : the name of the zip file that will be uploaded to S3.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/PitchBook/pylambda", "keywords": "aws lambda s3", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pylambda", "package_url": "https://pypi.org/project/pylambda/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pylambda/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/PitchBook/pylambda" }, "release_url": "https://pypi.org/project/pylambda/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Run your local python AWS Lambda locally and deploy to S3.", "version": "0.2.1" }, "last_serial": 2010860, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "45aa5fb0ecbb5f184089c7a769e64863", "sha256": "65844cc249316cac38c0a236825f48a46dae89f6007c6e57d65f14fdeb363a59" }, "downloads": -1, "filename": "pylambda-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "45aa5fb0ecbb5f184089c7a769e64863", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7899, "upload_time": "2015-11-11T20:24:53", "url": "https://files.pythonhosted.org/packages/07/1a/7f44781db9427d15bc390cc65b08a42c177a60c1c6d863c9915eac3ffc56/pylambda-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ef21148eca46c00d69401b219eadd5dd", "sha256": "54ca55238a5928c81d74ea43afcc658e931a73ef0f714768d69af1728714c20a" }, "downloads": -1, "filename": "pylambda-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ef21148eca46c00d69401b219eadd5dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4954, "upload_time": "2015-11-11T20:24:58", "url": "https://files.pythonhosted.org/packages/55/fd/781dff4880250b441364757f60444480948ea7b2a2c3c8fdfa231ed0972d/pylambda-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "23bc2a7c54d4dd864bfa3d8cc34cca2a", "sha256": "2de8a7016ac521dc84572067653c072c7b3cee8f48b00959684d4fdca186bcda" }, "downloads": -1, "filename": "pylambda-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "23bc2a7c54d4dd864bfa3d8cc34cca2a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7906, "upload_time": "2015-11-11T20:51:14", "url": "https://files.pythonhosted.org/packages/0c/70/0644ede7435c66deb13ff0d254137bcc2bb9bb9b87efe803d80568bacf93/pylambda-0.1.1-py2.py3-none-any.whl" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "e0213dbfcb60dd3c4a7e945a27b59e49", "sha256": "9d5b605f4fb73e4bdfcbec7994db57d5e4c68327144f36214976cc9f941ca86c" }, "downloads": -1, "filename": "pylambda-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "e0213dbfcb60dd3c4a7e945a27b59e49", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 18954, "upload_time": "2016-03-16T18:50:17", "url": "https://files.pythonhosted.org/packages/4e/5b/8902ce54b4a2e8c7270f0b9d97e02e80c124d745ffb34f56ade88cb021e8/pylambda-0.2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ece8b1abcda1a9da58426508b8ca00ea", "sha256": "a9abd1113cb83a8267b115127c57bd3904843a71f4a121ad5be660af8d6157c5" }, "downloads": -1, "filename": "pylambda-0.2.1.tar.gz", "has_sig": false, "md5_digest": "ece8b1abcda1a9da58426508b8ca00ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6292, "upload_time": "2016-03-16T18:50:06", "url": "https://files.pythonhosted.org/packages/ce/2d/e5d377c7f65d529bc2b9bc3f0584c484104668ba9610e7ee76e985eb7142/pylambda-0.2.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "1da670c6803cf0189d3e057c8a0f23b7", "sha256": "e9aeb03c653c536f35b64e934375d69caf60153d52523c821ab9eb37e1266483" }, "downloads": -1, "filename": "pylambda-0.2.1.win32.exe", "has_sig": false, "md5_digest": "1da670c6803cf0189d3e057c8a0f23b7", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 244282, "upload_time": "2016-03-16T18:45:46", "url": "https://files.pythonhosted.org/packages/7e/ad/48d2d06e7571e7345400f841a5bcef506410df32f3f80838d7d878d114fb/pylambda-0.2.1.win32.exe" }, { "comment_text": "", "digests": { "md5": "194889b03fc2d9f17b712e24aa7c196d", "sha256": "6d83a67adc8944c5d005efc1d3f0f9fc6cb4f1e67c6c9ffb2de5a0a26bdc271b" }, "downloads": -1, "filename": "pylambda-0.2.1.zip", "has_sig": false, "md5_digest": "194889b03fc2d9f17b712e24aa7c196d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11532, "upload_time": "2016-03-16T18:45:33", "url": "https://files.pythonhosted.org/packages/6c/dd/478563e6bb8ac942eeea12b0582657ab51ff74dcbac7bf2a6872f9e349a1/pylambda-0.2.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e0213dbfcb60dd3c4a7e945a27b59e49", "sha256": "9d5b605f4fb73e4bdfcbec7994db57d5e4c68327144f36214976cc9f941ca86c" }, "downloads": -1, "filename": "pylambda-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "e0213dbfcb60dd3c4a7e945a27b59e49", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 18954, "upload_time": "2016-03-16T18:50:17", "url": "https://files.pythonhosted.org/packages/4e/5b/8902ce54b4a2e8c7270f0b9d97e02e80c124d745ffb34f56ade88cb021e8/pylambda-0.2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ece8b1abcda1a9da58426508b8ca00ea", "sha256": "a9abd1113cb83a8267b115127c57bd3904843a71f4a121ad5be660af8d6157c5" }, "downloads": -1, "filename": "pylambda-0.2.1.tar.gz", "has_sig": false, "md5_digest": "ece8b1abcda1a9da58426508b8ca00ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6292, "upload_time": "2016-03-16T18:50:06", "url": "https://files.pythonhosted.org/packages/ce/2d/e5d377c7f65d529bc2b9bc3f0584c484104668ba9610e7ee76e985eb7142/pylambda-0.2.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "1da670c6803cf0189d3e057c8a0f23b7", "sha256": "e9aeb03c653c536f35b64e934375d69caf60153d52523c821ab9eb37e1266483" }, "downloads": -1, "filename": "pylambda-0.2.1.win32.exe", "has_sig": false, "md5_digest": "1da670c6803cf0189d3e057c8a0f23b7", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 244282, "upload_time": "2016-03-16T18:45:46", "url": "https://files.pythonhosted.org/packages/7e/ad/48d2d06e7571e7345400f841a5bcef506410df32f3f80838d7d878d114fb/pylambda-0.2.1.win32.exe" }, { "comment_text": "", "digests": { "md5": "194889b03fc2d9f17b712e24aa7c196d", "sha256": "6d83a67adc8944c5d005efc1d3f0f9fc6cb4f1e67c6c9ffb2de5a0a26bdc271b" }, "downloads": -1, "filename": "pylambda-0.2.1.zip", "has_sig": false, "md5_digest": "194889b03fc2d9f17b712e24aa7c196d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11532, "upload_time": "2016-03-16T18:45:33", "url": "https://files.pythonhosted.org/packages/6c/dd/478563e6bb8ac942eeea12b0582657ab51ff74dcbac7bf2a6872f9e349a1/pylambda-0.2.1.zip" } ] }