title: Python - creating aws lambda deployment package
body: <p>I want to script updating code for my AWS Lambda using a Fabric task. Boto3 api expects a byte array of base-64 encoded zip file. </p>
  
  <p>What would be the simplest way to create it assuming I have the source code files as the input?</p>