flagflag  
  
Cur: 2023-11-21 (Tue) 19:58:03 iseki source
Line 1: Line 1:
 +* JupyterLab-Blockly [#bc1f1dfa]
 +*** Links [#q47b9417]
 +- https://jupyterlab-blockly.readthedocs.i​o/en/latest/
 +- https://blockly.games/about?lang=ja
 +** Devel [#o0648b1c]
 +- ブロックの作成
 +-- https://developers.google.com/blockly/gu​ides/create-custom-blocks/overview?hl=ja​
 +- Blockly Developer Tools
 +-- https://blockly-demo.appspot.com/static/​demos/blockfactory/index.html?hl=ja
 +*** 開発 Install [#t3a1bfb6]
 + git clone https://github.com/QuantStack/jupyterlab​-blockly.git
 + cd jupyterlab-blockly
 + pre-commit install  # 多分いらない
 + pip install -e ".[dev]"
 + jupyter labextension develop . --overwrite
 + jlpm build
 + chmod -R a+rx .  # 必要に応じて
 + 
 + jupyter labextension list
 + pip uninstall jupyterlab-blockly  # pip でインストールした分を消す
 + jupyter labextension list          # 確認
 +*** Uninstall [#kcd5b08c]
 + pip uninstall jupyterlab_blockly
 +*** Packaging [#rbf9909f]
 + pip install build twine
 + python -m build
 +- pip install build twine は一回だけ
 +- python -m build で dist/ に tar Ball ができる.
 +- tar Ball は  jupyter labextension install tar_ball でインストール
 +
 +
 +*** クラス階層 [#kb102fe1]
 + JupyterFrontEndPlugin
 +   |
 + BlocklyEditorFactory  --> BlocklyRegistry
 +   |(複数)
 +   +---------------+-----------------------​--+
 +   |              |                        |
 + BlocklyManager  BlocklyPanel(SplitPanel)  BlocklyEditor(DocumentWidget)
 +                   |
 +                 BlocklyLayout(SplitLayout)
 +- Factory, registry は1個のみ
 +*** イベント [#j2d7d6bc]
 +- [[操作イベントのハンドル>./HandleEvent]]
 +- [[Blockly イベント>./Blockly Event]]
 +
 +*** 部品 [#qce73ca5]
 +- CodeCell
 +-- outputArea (OutputArea)
 +--- node ([[HTMLElement>./HTMLElement]]) -- [[style>./HTMLElement/style]]
  

  • Backup diff of JupyterLab-Blockly(No. All)
    • Cur: 2023-11-21 (Tue) 19:58:03 iseki

Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthSep 2025Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Today

Access Counter

Today : 2130021300213002130021300
Yesterday : 9208292082920829208292082
Total : 2843288128432881284328812843288128432881284328812843288128432881
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com