Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 142
    • Merge requests 142
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Merge requests
  • !29

Business Template : erp5_data_notebook (To execute remote python code from inside of erp5)

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Ayush Tiwari requested to merge tiwariayush/erp5:erp5-data-notebook into master Nov 26, 2015
  • Overview 23
  • Commits 50
  • Pipelines 0
  • Changes 1000+

Addition of erp5_data_notebook bt5


Jupyter == IPython Notebook


Features:

  1. Module - Data Notebook (To save notebook according to reference from jupyter frontend)
  2. Execute python code which might/might not be remote.
  3. Save local_variables for specific notebook, i.e, you can use the python objects which were created during code execution. After making a successful connection(from frontend) to specific notebook, the variables which were saved earlier are available while for execution.

Architecture:

  • Code from Jupyter cell is being received as string by Base_executeJupyter.
  • Code is executed in Base_runJupyter external method.
  • Local variables saved via CMFActivity.
  • Result as JSON is returned to frontend (contains mime_type of result string also).

Example Notebook: http://nbviewer.ipython.org/urls/lab.nexedi.com/nexedi/erp5/uploads/6778782d5753873583bd4843772cf502/Proof_of_concept_Notebook.ipynb

Proof_of_concept_Notebook.ipynb

@Tyagov : Please review.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: erp5-data-notebook
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7