Giter Site home page Giter Site logo

Comments (3)

JDFagan avatar JDFagan commented on June 22, 2024

Note, I did play with this and tried to create sample that makes use of common code but either Gordon doesn't yet support this or I'm attacking it wrong. My experience with common code across lambda functions within an app (microservice) is from Serverless. See https://serverlesscode.com/post/python-on-serverless-intro/ and look for section titled "Writing Common Code". I'm trying to achieve common lib code for an app (in my case model code for Pynamodb that would be re-usable across multiple lambda functions).

from gordon.

innonagle avatar innonagle commented on June 22, 2024

👍

This would be useful as well as the ability to provide the pip dependencies in a zip file that can be merged into the deployment package. E.g. anything using PyOpenSSL needs to be compiled against openssl on an Amazon Linux AMI. Python modules with native C extensions compiled on OSX, err macOS, don't work when packaged up and deployed to lambda. By don't work I mean when executing the lambda function Python is unable to load the module containing the handler.

from gordon.

dotkas avatar dotkas commented on June 22, 2024

@JDFagan Have you considered overriding the build option in settings.yaml? http://gordon.readthedocs.io/en/latest/lambdas.html#build

from gordon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.