1. 08 Aug, 2017 1 commit
    • Łukasz Nowak's avatar
      jupyter: Simplify ERP5kernel maintenance · 554dc32d
      Łukasz Nowak authored
      Instead of templating python code, make it static and parameterize it
      with parameters.
      
      kernel.json can pass default ERP5 url, which is (dirty) read by
      ERP5kernel. Additionally ERP5kernel.py is just linked into kernel
      directory, which simplifies debugging.
      
      Note: This commit is still dirty, but it prepares ERP5kernel.py to be
            packaged, thus there is no reason to make more changes and
            cleanup.
      
      /reviewed-on !206
      554dc32d
  2. 25 Jul, 2017 1 commit
  3. 18 Dec, 2015 1 commit
    • Ayush Tiwari's avatar
      Jupyter: Hook ERP5 Kernel · 33954c66
      Ayush Tiwari authored
      ERP5 kernel basic info/workflow:
      
      1. User enters code on notebook cell and executes
      2. Code is sent to kernel via websockets
      3. Kernel sends request to ERP5
      4. Code is executed by ERP5 and the result is returned back via request.
      5. Result is received and rendered on the notebook frontend.
      6. Other message formats such as error and status are also conveyed by the Kernel.
      
      [ kirr: in IPython notebook speak kernel is something that allows IPython
        notebook server side to talk to execution backend. ERP5 kernel is a thing that
        allows ipython notbook to talk to ERP5 (with help on-ERP5-server special bt5
        installed which accepts and executes commands).
      
        The bt5 to handle notebook calls on ERP5 side - erp5-data-notebook - is
        proposed to be merged into erp5.git on erp5!29 ]
      
      /initially-reviewed-by @kirr, @Tyagov  (in a lot of places, last time on !33)
      33954c66