How to Handle your Python packaging in Lambda with Serverless plugins

npm install serverless-python-requirements
plugins:
- serverless-python-requirements
source venv/bin/activate
or
workon <env name>
(venv) $ pip install <NAME>
(venv) $ pip freeze > requirements.txt
serverless deploy

--

--

--

Software developer

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Amit Joshi

Amit Joshi

Software developer

More from Medium

Automate Your APIs With api-flow

Serverless data migration from TiDB Cloud to REDSHIFT

Serverless data migration

How to Write to Data Store Entity in Appian ?

Product or Service Availability Tracker