0

I use Google Colab in which I have defined a (Python 3) function.

When function is called with several selected parameters, it takes source files (CSV) from the Google Drive and executes a code. An outcome of the function is a couple of figures that I visualize using Dash on my local computer.

I want other users, too, to be able to remotely run the source code (ideally placed on Google drive still), define the parameters in a text box, click OK button, and see the dashboard with figures on their computers.

All that without any installation and sharing the sourse code. Just click on some link, define parameters, confirm them, run my Google Colab notebook, see a dashboard. Is this even technically possible and if so, how?

I am aware of solutions that involve sharing a source code, creating web pages or apps etc. I would not prefer any of that. Thanks a lot for your inputs.

Mr.Slow
  • 490
  • 1
  • 1
  • 16
  • Where is the code supposed to be executed? Google Collab? Some host machine? – matszwecja Nov 10 '22 at 08:43
  • I want to keep the code as Google Collab Notebook on Google Drive (my account). I need to find a way how to access it from users computers. I want them to have just some URL that will begins the whole story. – Mr.Slow Nov 10 '22 at 09:07
  • Soooo, you don't want a web app but you want an URL? – matszwecja Nov 10 '22 at 09:09
  • I am total beginner in this and cannot answer you better. That is just how I imagine it and ask if it is possible. What would you suggest? – Mr.Slow Nov 10 '22 at 09:11
  • It would be easier to answer if you explained why you need the source code private and why web page and local apps are not viable options. Deployment is an aspect very dependant on specific needs of the solution you are creating. – matszwecja Nov 10 '22 at 09:28
  • I cannot share the code because of my employer policy who wishes to keep the code as local Collab Google notebook. I am looking for the simplest solution both for users and programmers. – Mr.Slow Nov 10 '22 at 09:33
  • Let us [continue this discussion in chat](https://chat.stackoverflow.com/rooms/249474/discussion-between-matszwecja-and-mr-slow). – matszwecja Nov 10 '22 at 09:35
  • So the answer I was looking for is: deploy the App. to a server (Pythonanywhere, Google Cloud Run etc.) as a dockerfile. – Mr.Slow Nov 26 '22 at 17:50

0 Answers0