{"id":19557072,"url":"https://github.com/rpivo/python-lambda-bundler","last_synced_at":"2026-04-09T08:17:32.376Z","repository":{"id":93079874,"uuid":"343118392","full_name":"rpivo/python-lambda-bundler","owner":"rpivo","description":"Bundle any Python function and its dependencies for Lambda with Docker and Amazon Linux","archived":false,"fork":false,"pushed_at":"2021-04-25T13:51:47.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-08T21:40:14.556Z","etag":null,"topics":["amazonlinux","aws","bundler","docker","lambda","linux","python"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rpivo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2021-02-28T13:58:40.000Z","updated_at":"2023-05-06T12:54:32.000Z","dependencies_parsed_at":"2023-03-06T12:15:20.456Z","dependency_job_id":null,"html_url":"https://github.com/rpivo/python-lambda-bundler","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/rpivo%2Fpython-lambda-bundler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpivo%2Fpython-lambda-bundler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpivo%2Fpython-lambda-bundler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpivo%2Fpython-lambda-bundler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rpivo","download_url":"https://codeload.github.com/rpivo/python-lambda-bundler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240814864,"owners_count":19861957,"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":["amazonlinux","aws","bundler","docker","lambda","linux","python"],"created_at":"2024-11-11T04:40:09.417Z","updated_at":"2026-04-09T08:17:32.346Z","avatar_url":"https://github.com/rpivo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-lambda-bundler\n\nA simple template for bundling any Python function for Lambda and Amazon Linux.\n\n\u003e Note: This template currently bundles Python 3.8, but this can be changed inside build.sh.\n\n### Why use Docker?\n\nIf you're using a non-Linux operating system as your development machine, you'll need to bundle Python dependencies for Linux somehow. This setup uses the `amazonlinux` Docker image to bundle Python dependencies for Lambda.\n\n### Setup\n\nTo build the Lambda zip:\n\n- Create an environment file inside the sh folder called **env.sh** that exports a `LOCAL_PATH` variable representing the current directory where the build will occur. Ex:\n\n```sh\nexport LOCAL_PATH=~/Documents/projects/my-folder;\n```\n\n- Add Python package dependencies to build.sh (see `# install python dependencies` section).\n- Start Docker.\n- Run `sh start.sh`.\n\nIf you plan on running this Docker setup on multiple projects, **you should rename the container as specified inside the start.sh file** (which is named as `bundler` currently) so that a different container that specifies a bind mount with the specific path is used for the project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpivo%2Fpython-lambda-bundler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frpivo%2Fpython-lambda-bundler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpivo%2Fpython-lambda-bundler/lists"}