{ "info": { "author": "Dongwei", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "## aws-lambda-sls\n\nPython Simple Serverless for AWS Lambda Project.\n\n## Quick Start\nYou can create lambda Lambda sls service:\n\n```\nfrom aws_lambda_sls import LambdaSls\n\napp = LambdaSls(\"sls_app\")\napp.run()\n```\n\n## Register Lambda Function\n```\nfrom aws_lambda_sls import register_function\n\n\n@register_function\ndef lambda_handler(event, context):\n return {\n \"event\": event,\n \"aws_request_id\": context.aws_request_id\n }\n```\n\n## Commands\nCreate App\n```\nUsage: sls create-app [OPTIONS] PROJECT_NAME\n\nOptions:\n --help Show this message and exit.\n```\n\nPackage App\n```\nUsage: sls package [OPTIONS]\n\nOptions:\n --generate-sam Create a single packaged file. By default, the 'out'\n argument specifies a directory in which the package assets\n will be placed. If this argument is specified, a single\n zip file will be created instead.\n --stage TEXT lambda function stage, default dev.\n --out TEXT lambda package out directory, default dist.\n --force-download If force download dependency lib, default false.\n --help Show this message and exit.\n```\n\nDeploy App\n```\nUsage: sls deploy [OPTIONS]\n\nOptions:\n --stage TEXT Name of the sls stage to deploy to. Specifying a new sls\n stage will create an entirely new set of AWS resources.\n --profile TEXT Override profile at deploy time.\n --deploy-file TEXT deployment file.\n --s3-key TEXT s3 file.\n --help Show this message and exit.\n```\n\nCreate Local Lambda Server.\n```\nUsage: sls local [OPTIONS]\n\nOptions:\n --host TEXT\n --port INTEGER\n --stage TEXT Name of the sls stage for the local server to use.\n --deploy-file TEXT deployment file.\n --log-file TEXT output log file path.\n --help Show this message and exit.\n```\n\n\n", "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/dwpy/aws-lambda-sls", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "aws-lambda-sls", "package_url": "https://pypi.org/project/aws-lambda-sls/", "platform": "any", "project_url": "https://pypi.org/project/aws-lambda-sls/", "project_urls": { "Code": "https://github.com/dwpy/aws-lambda-sls", "Homepage": "https://github.com/dwpy/aws-lambda-sls" }, "release_url": "https://pypi.org/project/aws-lambda-sls/0.1.0/", "requires_dist": [ "click", "boto3", "botocore", "six", "pip (<=18,>=9)", "attrs", "importreqs", "kombu", "blinker" ], "requires_python": ">=3.4", "summary": "Python Simple Serverless for AWS Lambda Project.", "version": "0.1.0" }, "last_serial": 4957141, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "1795eabec5305ed5bfb0d07bdadb4e52", "sha256": "3e6a7530790c78ccc214b81774b3c72a7433fc9b49b84d6f57eb6b77d2119dc5" }, "downloads": -1, "filename": "aws_lambda_sls-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "1795eabec5305ed5bfb0d07bdadb4e52", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 36500, "upload_time": "2019-03-19T05:59:10", "url": "https://files.pythonhosted.org/packages/14/46/941d307a1ea2fb5e1f78bd99ee6526e6a466b957848d0ba5380856dff263/aws_lambda_sls-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5f92d4311c9f825e950304e7fc339302", "sha256": "16d7ebed6561edd3d73b1e0ae28701efe1b333fc861897511aa1b9d6636b6247" }, "downloads": -1, "filename": "aws-lambda-sls-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5f92d4311c9f825e950304e7fc339302", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 31539, "upload_time": "2019-03-19T05:59:13", "url": "https://files.pythonhosted.org/packages/bb/b3/1056ebf0c1a4cb1db75525ebadf926ca42251670aea89e48513155d1bf53/aws-lambda-sls-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1795eabec5305ed5bfb0d07bdadb4e52", "sha256": "3e6a7530790c78ccc214b81774b3c72a7433fc9b49b84d6f57eb6b77d2119dc5" }, "downloads": -1, "filename": "aws_lambda_sls-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "1795eabec5305ed5bfb0d07bdadb4e52", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 36500, "upload_time": "2019-03-19T05:59:10", "url": "https://files.pythonhosted.org/packages/14/46/941d307a1ea2fb5e1f78bd99ee6526e6a466b957848d0ba5380856dff263/aws_lambda_sls-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5f92d4311c9f825e950304e7fc339302", "sha256": "16d7ebed6561edd3d73b1e0ae28701efe1b333fc861897511aa1b9d6636b6247" }, "downloads": -1, "filename": "aws-lambda-sls-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5f92d4311c9f825e950304e7fc339302", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 31539, "upload_time": "2019-03-19T05:59:13", "url": "https://files.pythonhosted.org/packages/bb/b3/1056ebf0c1a4cb1db75525ebadf926ca42251670aea89e48513155d1bf53/aws-lambda-sls-0.1.0.tar.gz" } ] }