Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

chalice-packs

A collection of scripts to build packages for Chalice (AWS lambda) to use libraries that are normally too big to be installed using the requirement.txt file.

Note that the scripts need to be run from a machine similar to the one implemented from the labda system (generally Linux 64 bit).

Example

To create a package with the sklean library, copy the sklearn.sh script in the root directory of your chalice project:

chalice new-project helloworld
cd helloworld
./sklearn.sh

Now in your app.py file you can use the sklearn library:

from chalice import Chalice

app = Chalice(app_name='helloworld')
from sklearn.linear_model import LinearRegression

...

Notice that all the libraries on which sklearn depends (numpy, scipy, joblib, ..) will be also in the package.

About

🍷 Scripts to build packages for AWS lambda

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages