Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

mapbox/aws-lambda-python-packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

aws-lambda-python

How to create powerful AWS lambda python function that fits in a 250Mb package

More info: https://blog.mapbox.com/aws-lambda-python-magic-e0f6a407ffc6

Requirement

Lambda package

Rasterio

Lightweight python package with rasterio

  • Modules:
    • numpy
    • rasterio (v1.0a12)
  • Command: make rasterio
  • Package size: 26.8Mb (95.9Mb)

Image

Adding simple image processing modules

  • Modules:
    • numpy
    • rasterio (v1.0a12)
    • Wand (ImageMagick)
    • Pillow (PIL)
  • Command: make image
  • Package size: 32.7Mb (113.8Mb)

OpenCV

Image processing using OpenCV

  • Modules:
    • numpy
    • rasterio (v1.0a12)
    • python-OpenCV (cv2)
  • Command: make opencv
  • Package size: 51.5Mb (166.8Mb)

Geospatial

A complete suite of geospatial modules, using GDAL minimal driver support.

  • Modules:
    • numpy
    • rasterio (v1.0a12)
    • shapely
    • mercantile
    • supermercado
    • fiona
    • psycopg2
  • Command: make geospatial
  • Package size: 27.7Mb (87.9Mb)

Image Analysis / Machine learning ready

  • Modules:
    • numpy
    • scipy
    • scikit-learn
    • rasterio
  • Command: make scipy
  • Package size: 44.8Mb (148Mb)

Links

About

How to create powerful AWS lambda python function that fits in a 250Mb package

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published