$ pip install -r requirements.txt -t source
$ find . | grep -E "(pycache|.pyc|.pyo$)" | xargs rm -rf
$ cd source
$ zip -r ../lambda-package.zip *
$ aws lambda update-function-code --function-name {{your function name}} --zip-file fileb://../lambda-package.zip