{ "info": { "author": "Zachary Miller", "author_email": "me@zackmiller.info", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "###Requirements\n\n* Python 3.6\n* Pip \n\n### Install Dependencies\n\n* **pipenv**\n```commandline\npip install pipenv\n```\n* **awscli**\n```commandline\npip install awscli\n```\n\n### Install aws-lambda-api-builder\n\nInstall from pip:\n\n```commandline\npip install aws-lambda-api-builder\n```\n\nInstall from Github\n\n```commandline\ngit clone https://github.com/zmiler91/aws-lambda-api-builder\ncd aws-lambda-api-builder\npipenv install\npython setup.py sdist bdist_wheel\npipenv install -e .\n```\n\nIf you've installed aws-lambda-api-builder from Github then you will need to use `pipenv shell` in order for your `zlab` \nto be recognized. \n\n```commandline\npipenv shell\nzlab --help\n\n> usage: api_builder [sub-command] [options]\n> \n> This is a CLI to build, package, and release AWS APIs using API Gateway and\n> Lambda.\n> \n> positional arguments:\n> {lambda}\n> \n> optional arguments:\n> -h, --help\n```\n\n### Setup\n\nSince aws-lambda-api builder uses boto3 to interact with AWS, you will need to install and configure the AWS CLI. If you\nhave not already installed the AWS CLI, please refer to the \"Install Dependencies\" section of this README.\n\n#### Creating an S3 bucket\n\n`aws-lambda-api-builder` will upload a zipped archive of your application to S3 so it can be used in your Lambda \nfunctions. You can use the AWS console to create an S3 bucket; for the purposes of this README I've created a bucket \ncalled `my-example-api`.\n\n#### Creating an IAM Policy\n\nWe will be creating an IAM User for `aws-lambda-api-builder` in the next section, but before we do so we will need\nto create an IAM Policy so we can limit the user's permissions and only allow them to read out of the bucket created\nin the previous section.\n\nYou can create this policy using the Visual Editor or you can copy the JSON document below replacing `my-example-api`\nwith the name of your S3 bucket: \n\n```json\n{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"VisualEditor0\",\n \"Effect\": \"Allow\",\n \"Action\": \"s3:PutObject\",\n \"Resource\": [\n \"arn:aws:s3:::my-example-api/*\"\n ]\n }\n ]\n}\n```\n\nOnce you've defined your policy you will need to give your policy a name, for the purposes of this README I've name my\npolicy `aws-lambda-api-builder-s3`. You can also give your policy an optional description. If you want to grant\naccess to multiple buckets, then you just need to add the bucket to the `Resource` array in the policy document.\n\n#### Creating an IAM User\n\naws-lambda-api-builder needs access to some resources in your AWS account so it can upload S3 files that contain your \nzipped archive. To do this, you'll want to create an IAM user in the AWS console. \n\n```\nUser name: aws-api-lambda-builder\nAccess type: Programmatic access\n```\n\nAfter you've defined the name and access type, you will be asked to set a permission. You can use the \"Attach existing\npolicies directly\" option and find and select the policy created in the previous section. \n\nOnce the user has been created you will be provided an \"Access key ID\" and a \"Secret access key\", you will want to \nremember both of these. Your credentials will only be provided to you once, so you will not be able to recover them\nif you do not write them down. \n\n#### Configure AWS\n\nOnce you've created your IAM user you will need to configure the AWS CLI.\n\n```commandline\naws configure\n> AWS Access Key ID [None]: {access key from the previous section}\n> AWS Secret Access Key [None]: {secret access key from the previous section}\n> Default region name [None]: {the aws region you're using, mine is us-east-1}\n> Default output format [None]:\n```\n\nYour configuration and access keys will be saved to the `.aws` directory in your home directory. If you've already\nconfigured your AWS CLI with another user, then you can attach the IAM Policy created in the previous section to\nthis user. \n\n### Development Environment\n\nIntegrate the pipenv environment by following the instructions here: https://www.jetbrains.com/help/pycharm/pipenv.html\n\n### Usage Examples\n\n```commandline\n$ zlab lambda --help\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/zmiller91/python-lambda-packager", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "aws-lambda-api-builder", "package_url": "https://pypi.org/project/aws-lambda-api-builder/", "platform": "", "project_url": "https://pypi.org/project/aws-lambda-api-builder/", "project_urls": { "Homepage": "https://github.com/zmiller91/python-lambda-packager" }, "release_url": "https://pypi.org/project/aws-lambda-api-builder/0.0.8/", "requires_dist": [ "pipenv", "boto3", "pystache", "botocore" ], "requires_python": "", "summary": "Build and deploy AWS API Gateways using AWS Lambda", "version": "0.0.8" }, "last_serial": 4114934, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "7c35868df788f55fde9fbef6a06285e1", "sha256": "d32a7544cd4f612d6d28f2ef8b71986bd1af659b39c559092a4e822840524a20" }, "downloads": -1, "filename": "aws_lambda_api_builder-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "7c35868df788f55fde9fbef6a06285e1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7527, "upload_time": "2018-07-29T01:43:04", "url": "https://files.pythonhosted.org/packages/ac/88/1e0f115752972f64cf1f8f76c96639e27abca25ff4b3594d55d78adc251c/aws_lambda_api_builder-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c385817417d03807be97b6d22a16a61a", "sha256": "d49e8cbd2a15b6f2918feca34c5c551e5fa0d6e136559ff97b84000087545757" }, "downloads": -1, "filename": "aws-lambda-api-builder-0.0.3.tar.gz", "has_sig": false, "md5_digest": "c385817417d03807be97b6d22a16a61a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2940, "upload_time": "2018-07-29T01:43:05", "url": "https://files.pythonhosted.org/packages/75/0a/954de9cf6ccc38ea1c3ebb058400476a375497aeb86fc577d4308577a9e4/aws-lambda-api-builder-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "a7873e9e6235b3423d322c04dd768c45", "sha256": "56154f4495b53d3aea46b87407f1fd1af712afc871022123cfd50a6384e775d8" }, "downloads": -1, "filename": "aws_lambda_api_builder-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "a7873e9e6235b3423d322c04dd768c45", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4670, "upload_time": "2018-07-29T02:39:12", "url": "https://files.pythonhosted.org/packages/ba/b2/7363ac6ce73c2877eda890bdad50cd05c5328c283301a60c0f2b520ca7ab/aws_lambda_api_builder-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "066a86b0446771eddfc2ddc2380fb4d1", "sha256": "dd8b92118e7438216e9666f7537ae2c0d581acf4a284ff692a3de0128d07cda4" }, "downloads": -1, "filename": "aws-lambda-api-builder-0.0.4.tar.gz", "has_sig": false, "md5_digest": "066a86b0446771eddfc2ddc2380fb4d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2964, "upload_time": "2018-07-29T02:39:14", "url": "https://files.pythonhosted.org/packages/51/27/38fbc8baa3b9c9644e7e1a1abb4f2f0139fefad846adb5f0006d768f5e19/aws-lambda-api-builder-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "cd3107203b0647a5603c2f9a9e323925", "sha256": "d980d4836c379e2c92ecabe125f66cae98e9b3c40c15017a646f137c75d99c8f" }, "downloads": -1, "filename": "aws_lambda_api_builder-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "cd3107203b0647a5603c2f9a9e323925", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4691, "upload_time": "2018-07-29T03:08:55", "url": "https://files.pythonhosted.org/packages/e8/15/afacb99809768ed51d408a5909fc67b2c41a6f98d598b861e1dbb2d97439/aws_lambda_api_builder-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dc5fcf1c2baa7451940ef6c24e99ab4f", "sha256": "ad2a57f7543a7039b4272b6139e82025cf5643808bff50378a799b9aac1eab72" }, "downloads": -1, "filename": "aws-lambda-api-builder-0.0.5.tar.gz", "has_sig": false, "md5_digest": "dc5fcf1c2baa7451940ef6c24e99ab4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2993, "upload_time": "2018-07-29T03:08:56", "url": "https://files.pythonhosted.org/packages/c2/29/6498314a2ba36378cb2e965261d2e1f93cd3323307d590a7c027be7e8297/aws-lambda-api-builder-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "4c4ef502061fb74d0c242aae7d5a11b9", "sha256": "ff17ed34f90d02fac223b122dec7bd9b0880e6d8a83ce65461290b87116565c7" }, "downloads": -1, "filename": "aws_lambda_api_builder-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "4c4ef502061fb74d0c242aae7d5a11b9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6143, "upload_time": "2018-07-29T16:13:52", "url": "https://files.pythonhosted.org/packages/a0/f3/237c881875e098128623a8deb6bd38e9b5cb7f02a0bae17a9ad511561eb6/aws_lambda_api_builder-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "57405097c414d19bee69cf04c7e15528", "sha256": "a7fde54800aa2cedcd19b366ce1e9c6d75da99ebdc8c3b7df91ab9640e0c7567" }, "downloads": -1, "filename": "aws-lambda-api-builder-0.0.6.tar.gz", "has_sig": false, "md5_digest": "57405097c414d19bee69cf04c7e15528", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5142, "upload_time": "2018-07-29T16:13:53", "url": "https://files.pythonhosted.org/packages/81/cd/6ebb98ed77d21bc56cc073334e3ab14e8185ea9c2497e6cedae3592fd6b3/aws-lambda-api-builder-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "ef037354c0e159bb4e082452b5ff8c49", "sha256": "611fa448f5df5ec6ab230ddb9f73f0aef9d218320a6fc331999434423525e314" }, "downloads": -1, "filename": "aws_lambda_api_builder-0.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "ef037354c0e159bb4e082452b5ff8c49", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11628, "upload_time": "2018-07-30T01:51:59", "url": "https://files.pythonhosted.org/packages/aa/ac/07d63ee68896283517d892cacd8e0665d215804ae9d6aa06391671dfc94d/aws_lambda_api_builder-0.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cad9c15aa78885c188e7ecf4fd185edd", "sha256": "08377f02c13a3079b5307c3583bfd62fc5566ec29f3548b3348b8af8905ab07e" }, "downloads": -1, "filename": "aws-lambda-api-builder-0.0.7.tar.gz", "has_sig": false, "md5_digest": "cad9c15aa78885c188e7ecf4fd185edd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8369, "upload_time": "2018-07-30T01:52:00", "url": "https://files.pythonhosted.org/packages/04/1b/97a621b26c1ca47415e060376661b8461d89d101d65b41a562eb57bc042f/aws-lambda-api-builder-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "b17b1d14a8d151284918998a36fb0d12", "sha256": "797eafb210677e3cafbba5772a44df2d0b087642b9e67d3b618f117055ebee86" }, "downloads": -1, "filename": "aws_lambda_api_builder-0.0.8-py3-none-any.whl", "has_sig": false, "md5_digest": "b17b1d14a8d151284918998a36fb0d12", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11736, "upload_time": "2018-07-30T03:12:38", "url": "https://files.pythonhosted.org/packages/bc/5f/7f0bd6773923e07483dd94b5907842fa56d577b59c2fa3eed6cc2af24ac4/aws_lambda_api_builder-0.0.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fdb26ad55cd3b5ef87e5d144fba2d403", "sha256": "c5f274daf1dd91bdeb99c5ed831c3ed6502fb958345334ca043655ee8276c153" }, "downloads": -1, "filename": "aws-lambda-api-builder-0.0.8.tar.gz", "has_sig": false, "md5_digest": "fdb26ad55cd3b5ef87e5d144fba2d403", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8406, "upload_time": "2018-07-30T03:12:39", "url": "https://files.pythonhosted.org/packages/9e/14/a0f9393b59dee2e2bf1914403ea7afc63747284b94d50b61a443dfbe8ff1/aws-lambda-api-builder-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b17b1d14a8d151284918998a36fb0d12", "sha256": "797eafb210677e3cafbba5772a44df2d0b087642b9e67d3b618f117055ebee86" }, "downloads": -1, "filename": "aws_lambda_api_builder-0.0.8-py3-none-any.whl", "has_sig": false, "md5_digest": "b17b1d14a8d151284918998a36fb0d12", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11736, "upload_time": "2018-07-30T03:12:38", "url": "https://files.pythonhosted.org/packages/bc/5f/7f0bd6773923e07483dd94b5907842fa56d577b59c2fa3eed6cc2af24ac4/aws_lambda_api_builder-0.0.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fdb26ad55cd3b5ef87e5d144fba2d403", "sha256": "c5f274daf1dd91bdeb99c5ed831c3ed6502fb958345334ca043655ee8276c153" }, "downloads": -1, "filename": "aws-lambda-api-builder-0.0.8.tar.gz", "has_sig": false, "md5_digest": "fdb26ad55cd3b5ef87e5d144fba2d403", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8406, "upload_time": "2018-07-30T03:12:39", "url": "https://files.pythonhosted.org/packages/9e/14/a0f9393b59dee2e2bf1914403ea7afc63747284b94d50b61a443dfbe8ff1/aws-lambda-api-builder-0.0.8.tar.gz" } ] }