{"id":15009250,"url":"https://github.com/jfox/aws-lambda-lxml","last_synced_at":"2025-04-09T17:23:53.680Z","repository":{"id":40275181,"uuid":"89400783","full_name":"JFox/aws-lambda-lxml","owner":"JFox","description":"AWS Lambda precomiled binaries for lxml 3.6.4 built for python 2.7 and python 3.6 runtimes","archived":false,"fork":false,"pushed_at":"2019-04-17T21:24:07.000Z","size":18204,"stargazers_count":65,"open_issues_count":1,"forks_count":40,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T19:23:02.551Z","etag":null,"topics":["aws-lambda","python","python-3-6","python-library","python27"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JFox.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}},"created_at":"2017-04-25T19:53:57.000Z","updated_at":"2024-08-12T16:53:51.000Z","dependencies_parsed_at":"2022-09-16T00:12:11.902Z","dependency_job_id":null,"html_url":"https://github.com/JFox/aws-lambda-lxml","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/JFox%2Faws-lambda-lxml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFox%2Faws-lambda-lxml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFox%2Faws-lambda-lxml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFox%2Faws-lambda-lxml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JFox","download_url":"https://codeload.github.com/JFox/aws-lambda-lxml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248075489,"owners_count":21043596,"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":["aws-lambda","python","python-3-6","python-library","python27"],"created_at":"2024-09-24T19:24:00.728Z","updated_at":"2025-04-09T17:23:53.650Z","avatar_url":"https://github.com/JFox.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-lambda-lxml\n\nAWS Lambda precomiled binaries for lxml built for python 2.7 and python 3.6 runtimes.\n\n`libxml2-dev` and `libxslt-dev` are not needed as they are included by default in the machines that run lambdas.\n\n## Example usage\n\n1. Put the lxml directory in the root of your lambda package\n1. Import lxml and use as usual\n\n```python\nfrom lxml import etree\n\n\ndef handle(event, context):\n    return etree.fromstring(event)\n\n```\n\n## Build it yourself\n\nThis repo contains a `build.sh` script that's intended to be run in an Amazon\nLinux docker container, and build lxml for py27 and py36 for use in AWS Lambda.\n\nTo build the latest lxml (or any other platform-specific compiled libraries like numpy),\nrun the following:\n\n```sh\n$ docker run -v $(pwd):/outputs -it lambci/lambda:build-python{2.7|3.6} \\\n      pip install lxml -t /outputs/\n```\n\nOnce you run this, you'll have a folder called `lxml` (you can ignore the other one\nwith the dist-info), which is the one you are going to place in the root of the\nlambda package as specified in the [example](#example-usage)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfox%2Faws-lambda-lxml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjfox%2Faws-lambda-lxml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfox%2Faws-lambda-lxml/lists"}