Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cloud-Function is suppose to be serverless execution environment, you can read a overview. It is suppose to be able to only execute javaScript.

To run python code on cloud-function, we have an unofficial build called cloud-function-python

How this actually works

The python code needs to be bundled up into an executable with all the lib required for the code to run(using pyinstaller and docker) In short the python objects new converted to javascript objects.

In my case I had to process an image stored on the cloud using OpenCV, the actual code for my purpose was only 29KB

I needed to sent the processed data to be stored.

Worked out just fine for me.

Cloud-Function is suppose to be serverless execution environment, you can read a the overview. for more info. It is suppose to be able to only execute javaScript.

To run python code on cloud-function, we have an unofficial build called cloud-function-python

How this actually works

The python code needs to be bundled up into an executable with all the lib required for the code to run(using pyinstaller and docker) In short the python objects new converted to javascript objects.

In my case I had to process an image stored on the cloud using OpenCV, the actual code for my purpose was only 29KB

I needed to sent the processed data to be stored.

Worked out just fine for me.

Cloud-Function is suppose to be serverless execution environment, you can read the overview for more info. It is suppose to be able to only execute javaScript.

To run python code on cloud-function, we have an unofficial build called cloud-function-python

How this actually works

The python code needs to be bundled up into an executable with all the lib required for the code to run(using pyinstaller and docker) In short the python objects new are converted to javascript objects.

In my case I had to process an image stored on the cloud using OpenCV, the actual code for my purpose was only 29KB

I needed to sent the processed data to be stored.

Worked out just fine for me.

Cloud-Function is suppose to be serverless execution environment, you can read the overview for more info. It is suppose to be able to only execute javaScript.

To run python code on cloud-function, we have an unofficial build called cloud-function-python

How this actually works

The python code needs to be bundled up into an executable with all the lib required for the code to run(using pyinstaller and docker) In short the python objects are converted to javascript objects.

In my case I had to process an image stored on the cloud using OpenCV, the actual code for my purpose was only 29KB

I needed was able to sent perform required operation and extract the processed data to be stored.from the image.

Worked out just fine for me.