{"id":14065600,"url":"https://github.com/browniebroke/cookiecutter-lambda-function","last_synced_at":"2025-07-29T20:33:26.478Z","repository":{"id":72198074,"uuid":"118360114","full_name":"browniebroke/cookiecutter-lambda-function","owner":"browniebroke","description":"A cookiecutter template to create AWS Lambda function","archived":true,"fork":false,"pushed_at":"2019-04-15T18:40:24.000Z","size":48,"stargazers_count":23,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-14T07:09:19.499Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/browniebroke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-01-21T18:06:37.000Z","updated_at":"2023-01-27T23:55:51.000Z","dependencies_parsed_at":"2023-05-27T17:45:24.203Z","dependency_job_id":null,"html_url":"https://github.com/browniebroke/cookiecutter-lambda-function","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browniebroke%2Fcookiecutter-lambda-function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browniebroke%2Fcookiecutter-lambda-function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browniebroke%2Fcookiecutter-lambda-function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browniebroke%2Fcookiecutter-lambda-function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browniebroke","download_url":"https://codeload.github.com/browniebroke/cookiecutter-lambda-function/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228046175,"owners_count":17861101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-13T07:04:35.288Z","updated_at":"2024-12-04T04:31:21.027Z","avatar_url":"https://github.com/browniebroke.png","language":"Python","readme":"Cookiecutter Lambda Function\n============================\n\n[![CircleCI](https://img.shields.io/circleci/project/github/browniebroke/cookiecutter-lambda-function.svg)](https://circleci.com/gh/browniebroke/cookiecutter-lambda-function)\n\nA cookiecutter template to create AWS Lambda function\n\nRequirements\n------------\n\nInstall `cookiecutter` command line: `pip install cookiecutter` or `brew install cookiecutter` using Homebrew\n\nUsage\n-----\n\nGenerate a new Lambda function: `cookiecutter gh:browniebroke/cookiecutter-lambda-function` \n\nThe generated projects uses [Chalice](http://chalice.readthedocs.io/en/latest/) to deploy to AWS\nlambda. It uses a Flask-like API to declare the entry points of your serverless infrastructure.\n\nYour serverless application should declare its dependencies in the generated `requirements.txt`.\n\nOptions\n-------\n\n- `endpoint`: Create a HTTP endpoint entry point - `@app.route` style\n- `schedule`: Create a [schedule event](http://chalice.readthedocs.io/en/latest/topics/events.html#scheduled-events)\n- `timeout`: Lambda function timeout (default to 60)\n\nVendoring a dependency\n----------------------\n\nIf your application depends on a 3rd party which Chalice cannot install on Lambda,\nthey recommend [vendoring the 3rd party](http://chalice.readthedocs.io/en/latest/topics/packaging.html#rd-party-packages)\ndependency in your repository.\n\nThe generated project provides a simple command line utility to assist in doing so: `bin/vendor_package.py`.\nTo use it, make sure the 3rd party is installed in your current python interpreter\n(e.g. [PyYAML](https://pypi.org/project/PyYAML/))\n \n```bash\npip install PyYAML\n```\n \nAnd then pass the python module name as argument to the script, that is the name you use to \nimport your 3rd party dependency from your code. PyYAML being imported with `import yaml`,\nyou vendor it with:\n\n```bash\n./bin/vendor_package.py yaml \n```\n\nYou can pass as much arguments as you want to the script, they will be copied from your current \nPython interpreter to the vendor directory.\n\nLicense\n-------\n\nThis project is licensed under the terms of the [MIT License](/LICENSE)\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowniebroke%2Fcookiecutter-lambda-function","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowniebroke%2Fcookiecutter-lambda-function","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowniebroke%2Fcookiecutter-lambda-function/lists"}