{ "info": { "author": "Henoc D\u00edaz", "author_email": "self@henocdz.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "# Zerv :fire:\n\nYet another AWS Lambda [+ API Gateway] CLI deployment tool.\n\n## IMPORTANT\n\nThis is a draft-project which means a lot, if not all, could change in next couple of weeks.\n\n## Documentation\n\nNo docs for the time being.\n\nThis will create/update a lambda function and if you want you can attach a API Gateway trigger to it.\n\n## Usage\n\nFor the time being the only way you can test is:\n\n`python zerv/handler.py`\n\n`python zerv/handler.py --dir=/path/to/your/project`\n\n`python zerv/handler.py --function=prt_mx_rfc_validation`\n\nThis uses Boto3 so you need to check credentials config for it\n\n\n### Settings\n\nIt will look like:\n\n#### Project settings\n\n```\nproject:\n name: 'default'\n root_dir: 'lambdas'\n settings_file: 'settings'\n source_code_folder: 'code'\n requirements_file: 'requirements.txt'\n precompiled_packages: \n - requests: \"/path/to\"\n\npermissions:\n iam_role: \"arn:aws:iam::9848734876:role/AROLE\"\n\nexecution:\n timeout: 300\n memory_size: 128\n\n```\n\n#### Function settings\n\n```\napi_gateway:\n enabled: true\n endpoint: null\n stage: default\n\nenvironment:\n required_variables:\n - ENV\n\nfunction:\n description: \"My fancy description\"\n arn: \"some ARN so it doesnt create a new one\"\n name: \"some name so it doesn't create a new one\"\n runtime: python3.6\n handler: handler\n```\n\n#### Default settings\n\n```\nproject:\n name: 'Zerv Project'\n root_dir: 'lambdas'\n settings_file: 'settings'\n source_code_folder: 'code'\n requirements_file: 'requirements.txt'\n precompiled_packages: ~\n\nfunction:\n arn: ~\n description: ~\n handler: handler\n name: ~\n requirements_file: 'requirements.txt'\n runtime: python3.6\n append_project_name: true\n\n api_gateway:\n enabled: false\n endpoint: ~\n stage: default\n\npermissions:\n iam_role: ~\n\nexecution:\n timeout: 300\n memory_size: 128\n\nenvironment:\n required_variables: ~\n source_path: ~\n```\n\n## Contributors:\n\n- [@pablotrinidad](https://github.com/pablotrinidad/)\n- [@henocdz](https://github.com/henocdz/)\n\n## TODOs\n\n- [ ] Read/install requirements.txt\n- [ ] Only install packages compatible with manylinux\n- [ ] Include environment variables\n- [ ] Documentation\n- [ ] Replace argparse with click\n- [ ] Handle errors properly\n- [ ] ...\n\n## CONTRIBUTING\n\nPlease don't do it... *yet*, this a draft-project with a lot of spaghetti-code, bad practices and not even ready for being a PyPi package, and of course, I'll squash several commits. If you're interested please drop me an email: henocdz [AT] gmail \n\nIf curious...\n\n- Create a virtualenv\n- Clone the project\n- cd zerv\n- pip install -e .\n\n**Thx**\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/henocdz/zerv", "keywords": "zerv", "license": "GNU General Public License v3 (GPLv3)", "maintainer": "", "maintainer_email": "", "name": "zerv", "package_url": "https://pypi.org/project/zerv/", "platform": "", "project_url": "https://pypi.org/project/zerv/", "project_urls": { "Homepage": "https://github.com/henocdz/zerv" }, "release_url": "https://pypi.org/project/zerv/0.1.0/", "requires_dist": [ "boto3 (<2.0.0,>=1.9.8)", "botocore (<2.0.0,>=1.12.5)", "chalice (<2.0.0,>=1.6.0)", "click (<7.0,>=6.6)", "pip (<11,>=9)", "PyYAML (<4.0,>=3.13)" ], "requires_python": "", "summary": "CLI Tool", "version": "0.1.0" }, "last_serial": 4294653, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "1e443ff7b0175e45d216b9cf4bde00e5", "sha256": "3a09884c60dd6cccdbf59877e361ea4dc629ff7c6201927d55d37f65836128b8" }, "downloads": -1, "filename": "zerv-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1e443ff7b0175e45d216b9cf4bde00e5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14773, "upload_time": "2018-09-21T01:10:10", "url": "https://files.pythonhosted.org/packages/4b/d6/a5c882797f4d29a2e6233fb30e0d493b763a7f7640504eb3f3506fa2f21b/zerv-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0a50c37c23c389d235c0f5e1da7b07b4", "sha256": "aff400517f2b5018bbe14465072ef048bc05bef1db09e5615e1fd6f50c5a9ffd" }, "downloads": -1, "filename": "zerv-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0a50c37c23c389d235c0f5e1da7b07b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12896, "upload_time": "2018-09-21T01:10:12", "url": "https://files.pythonhosted.org/packages/1b/5e/264d42c616697961d86e2daedea2a8b5b29496e0974ba759543d3e65f20b/zerv-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1e443ff7b0175e45d216b9cf4bde00e5", "sha256": "3a09884c60dd6cccdbf59877e361ea4dc629ff7c6201927d55d37f65836128b8" }, "downloads": -1, "filename": "zerv-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1e443ff7b0175e45d216b9cf4bde00e5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14773, "upload_time": "2018-09-21T01:10:10", "url": "https://files.pythonhosted.org/packages/4b/d6/a5c882797f4d29a2e6233fb30e0d493b763a7f7640504eb3f3506fa2f21b/zerv-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0a50c37c23c389d235c0f5e1da7b07b4", "sha256": "aff400517f2b5018bbe14465072ef048bc05bef1db09e5615e1fd6f50c5a9ffd" }, "downloads": -1, "filename": "zerv-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0a50c37c23c389d235c0f5e1da7b07b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12896, "upload_time": "2018-09-21T01:10:12", "url": "https://files.pythonhosted.org/packages/1b/5e/264d42c616697961d86e2daedea2a8b5b29496e0974ba759543d3e65f20b/zerv-0.1.0.tar.gz" } ] }