{ "info": { "author": "Mischa Spiegelmock", "author_email": "mischa@mvstg.biz", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Flask", "Intended Audience :: Developers", "License :: OSI Approved", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Quickstart\nTo create a new serverless Flask application really quickly:\n\n1. Install pipenv and AWS SAM local and generate app boilerplate:\n ```sh\n pip install aws-sam-cli pipenv\n sam init --location https://github.com/aws-samples/cookiecutter-aws-sam-python\n ```\n2. Add `flask_serverless` dependency\n ```sh\n cd MyApp\n make install\n pipenv install flask_serverless\n ```\n3. Replace `first_function/app.py` contents with:\n ```python\n from flask_serverless import Serverless, Flask, APIGWProxy\n\n app = Flask(__name__)\n Serverless(app)\n lambda_handler = APIGWProxy(app)\n\n @app.route('/')\n def index():\n return \"Hello, friend!\"\n ```\n4. You're ready to go! Run `make run`. Read the README it spits out.\n\n\n### More Coming...\nMore documentation will be written soon.\n\n### Further Reading\n[Serverless Flask applications on AWS lambda.](https://spiegelmock.com/2018/09/06/serverless-python-web-applications-with-aws-lambda-and-flask/)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/revmischa/flask-serverless", "keywords": "", "license": "WTFPL", "maintainer": "", "maintainer_email": "", "name": "flask-serverless", "package_url": "https://pypi.org/project/flask-serverless/", "platform": "any", "project_url": "https://pypi.org/project/flask-serverless/", "project_urls": { "Homepage": "https://github.com/revmischa/flask-serverless" }, "release_url": "https://pypi.org/project/flask-serverless/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "AWS Lambda easy integration with Flask web framework.", "version": "0.1.4" }, "last_serial": 4460601, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "07ef453a2f51e8b311ae51b2b0ad833c", "sha256": "7c5e7336f89984f4d1240f1c74e0447c7d60b838d57aea548cd0969b60bb91c3" }, "downloads": -1, "filename": "flask_serverless-0.1.3.tar.gz", "has_sig": false, "md5_digest": "07ef453a2f51e8b311ae51b2b0ad833c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3184, "upload_time": "2018-11-06T13:51:26", "url": "https://files.pythonhosted.org/packages/c6/64/4fa808f58484e7a6905ed95050fe5c599e0f8e93159b4e21e90efd4499cb/flask_serverless-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "1aac975494db7eb6165436ae6ddaca2a", "sha256": "53c2da5b340486604c5b6f784a2d4aa3c51a858a8c20bf7446ec5440b51f0490" }, "downloads": -1, "filename": "flask_serverless-0.1.4.tar.gz", "has_sig": false, "md5_digest": "1aac975494db7eb6165436ae6ddaca2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3267, "upload_time": "2018-11-07T09:01:20", "url": "https://files.pythonhosted.org/packages/0e/ba/886462db61068e6c8c35af1991213ce592baa26644bd0e673ccdb676d674/flask_serverless-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1aac975494db7eb6165436ae6ddaca2a", "sha256": "53c2da5b340486604c5b6f784a2d4aa3c51a858a8c20bf7446ec5440b51f0490" }, "downloads": -1, "filename": "flask_serverless-0.1.4.tar.gz", "has_sig": false, "md5_digest": "1aac975494db7eb6165436ae6ddaca2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3267, "upload_time": "2018-11-07T09:01:20", "url": "https://files.pythonhosted.org/packages/0e/ba/886462db61068e6c8c35af1991213ce592baa26644bd0e673ccdb676d674/flask_serverless-0.1.4.tar.gz" } ] }