Giter Club home page Giter Club logo

Comments (9)

rabbah avatar rabbah commented on September 23, 2024

The rest api accepts a zip file. The zip file may contain a requirements file. But the β€œclient” has to create the zip file first.

from openwhisk-runtime-python.

ezio-auditore avatar ezio-auditore commented on September 23, 2024

Hi, @rabbah I am a beginner in whisk dev and I would like to send a PR for this issue if no one else is working on it.

from openwhisk-runtime-python.

sciabarra avatar sciabarra commented on September 23, 2024

Hi, actually the newer runtimes for python does have support for compilation. Adding support for requirements.txt is a matter of adding a pip install -r requirements.txt here:

# in general, compile your program into an executable format

and I planned to add this feature in the next PR where I clean a few bugs and use the latest runtime.

from openwhisk-runtime-python.

rabbah avatar rabbah commented on September 23, 2024

@ezio-auditore am I understanding correctly that you'd like to enhance the python runtime to perform the pip installation?

if so, I'll transfer this issue to the python runtime repo and @sciabarra can provide you with pointers for how to implement this - the project welcomes contributions. Thank you for your interest.

from openwhisk-runtime-python.

ezio-auditore avatar ezio-auditore commented on September 23, 2024

@rabbah it would be great, thanks.

from openwhisk-runtime-python.

sciabarra avatar sciabarra commented on September 23, 2024

I can do it and I will do it also soon but I have some other stuff in my workload. A few days.

from openwhisk-runtime-python.

berayb avatar berayb commented on September 23, 2024

@sciabarra So as I understand, this update will support requirements.txt as a parameter instead of making zip file ?

from openwhisk-runtime-python.

rabbah avatar rabbah commented on September 23, 2024

@sciabarra is this now supported with the new version of the runtime?

from openwhisk-runtime-python.

sciabarra avatar sciabarra commented on September 23, 2024

from openwhisk-runtime-python.

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.