Connect google/collab or binder to a django database












0















I made a django application where people can create projets, upload csv files and see some stats in a dashboard using d3. I would like to let my users manipulate the files with a jupyter notebook like interface.



I am wondering what would be the easiest way to do so.



As the data needs to be secure, could I make a 'link' between a google colab and my postgress database where is the data so user could read and write content in the database.



My django is organised like this today :
User upload a csv to a postgress db, backend converts it to a pd.df and then sends it as json to my front end.



I would like users to be able to get the csv file from collab to manipulate it and them.to send the new df to backend or front end. All with a secured access with password for example.



Would be great if it would work on my aws server.



The solution I imagine is making a sort of api.rest that would ask for data and be able to write again. Are there any good exemple of such applications ?



Obviously the best would be to have the python computation on my server.



Any example would usefull.
Thank for your time.










share|improve this question





























    0















    I made a django application where people can create projets, upload csv files and see some stats in a dashboard using d3. I would like to let my users manipulate the files with a jupyter notebook like interface.



    I am wondering what would be the easiest way to do so.



    As the data needs to be secure, could I make a 'link' between a google colab and my postgress database where is the data so user could read and write content in the database.



    My django is organised like this today :
    User upload a csv to a postgress db, backend converts it to a pd.df and then sends it as json to my front end.



    I would like users to be able to get the csv file from collab to manipulate it and them.to send the new df to backend or front end. All with a secured access with password for example.



    Would be great if it would work on my aws server.



    The solution I imagine is making a sort of api.rest that would ask for data and be able to write again. Are there any good exemple of such applications ?



    Obviously the best would be to have the python computation on my server.



    Any example would usefull.
    Thank for your time.










    share|improve this question



























      0












      0








      0








      I made a django application where people can create projets, upload csv files and see some stats in a dashboard using d3. I would like to let my users manipulate the files with a jupyter notebook like interface.



      I am wondering what would be the easiest way to do so.



      As the data needs to be secure, could I make a 'link' between a google colab and my postgress database where is the data so user could read and write content in the database.



      My django is organised like this today :
      User upload a csv to a postgress db, backend converts it to a pd.df and then sends it as json to my front end.



      I would like users to be able to get the csv file from collab to manipulate it and them.to send the new df to backend or front end. All with a secured access with password for example.



      Would be great if it would work on my aws server.



      The solution I imagine is making a sort of api.rest that would ask for data and be able to write again. Are there any good exemple of such applications ?



      Obviously the best would be to have the python computation on my server.



      Any example would usefull.
      Thank for your time.










      share|improve this question
















      I made a django application where people can create projets, upload csv files and see some stats in a dashboard using d3. I would like to let my users manipulate the files with a jupyter notebook like interface.



      I am wondering what would be the easiest way to do so.



      As the data needs to be secure, could I make a 'link' between a google colab and my postgress database where is the data so user could read and write content in the database.



      My django is organised like this today :
      User upload a csv to a postgress db, backend converts it to a pd.df and then sends it as json to my front end.



      I would like users to be able to get the csv file from collab to manipulate it and them.to send the new df to backend or front end. All with a secured access with password for example.



      Would be great if it would work on my aws server.



      The solution I imagine is making a sort of api.rest that would ask for data and be able to write again. Are there any good exemple of such applications ?



      Obviously the best would be to have the python computation on my server.



      Any example would usefull.
      Thank for your time.







      python django postgresql jupyter-notebook collaboration






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 19 '18 at 19:24







      tommy123

















      asked Nov 19 '18 at 17:22









      tommy123tommy123

      335




      335
























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53379747%2fconnect-google-collab-or-binder-to-a-django-database%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53379747%2fconnect-google-collab-or-binder-to-a-django-database%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to change which sound is reproduced for terminal bell?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Can I use Tabulator js library in my java Spring + Thymeleaf project?