Home

Awesome

SQLite Python Lambda Layer

Like many Python programmers, you've probably been disappointed when you tried to import sqlite3 in a Python3.6 AWS Lambda only to find out it doesn't work. This project remedies that by providing a Lambda Layer that contains the necessary compiled library (_sqlite3.so).

How to use

First you must clone the repo, build the file, and publish it to AWS:

git clone git@github.com:dschep/sqlite-lambda-layer
cd sqlite-lambda-layer
./build
sls deploy

Then see the docs and configure your lambda to use the layer you just published.