Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 139
    • Merge requests 139
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !29

Merged
Created Nov 26, 2015 by Ayush Tiwari@tiwariayushContributor

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

  • Overview 23
  • Commits 50
  • 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: erp5-data-notebook
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7