【文件属性】:
文件名称:jupyterlab-python-bytecode:JupyterLab扩展以探索CPython字节码
文件大小:1.22MB
文件格式:ZIP
更新时间:2021-05-14 16:55:19
jupyter jupyterlab jupyterlab-extension TypeScript
jupyterlab-python-字节码
JupyterLab扩展程序可检查Python字节码。
在线尝试
使用Binder在浏览器中尝试扩展:
先决条件
JupyterLab 1.0+
ipykernel或xeus-python
要安装JupyterLab,请执行以下操作:
conda install -c conda-forge jupyterlab
安装
jupyter labextension install jupyterlab-python-bytecode
特征
实时字节码预览
选择文件的内核(如果尚未启动)。 这允许比较不同版本的Python的字节码输出。
检查Avanced Settings Editor以调整一些设置
贡献
请参阅以了解如何贡献和设置开发环境。
这个怎么运作
通过连接到内核,然后从实验室扩展发送以下代码进行评估,来分解Python代码:
im
【文件预览】:
jupyterlab-python-bytecode-master
----style()
--------index.css(751B)
----.github()
--------workflows()
----yarn.lock(331KB)
----binder()
--------postBuild(62B)
--------environment.yml(97B)
----.prettierignore(20B)
----src()
--------utils.ts(824B)
--------index.ts(3KB)
--------view.tsx(2KB)
--------model.ts(2KB)
--------panel.ts(9KB)
----doc()
--------for_while.gif(165KB)
--------py36_py37_comparison.gif(1.03MB)
--------live_update.gif(74KB)
--------example.py(60B)
----CONTRIBUTING.md(1KB)
----tsconfig.json(501B)
----LICENSE(1KB)
----.prettierrc(51B)
----README.md(3KB)
----tests()
--------run-test.py(157B)
--------webpack.config.js(1KB)
--------src()
--------babel.config.js(67B)
--------tsconfig.json(179B)
--------jest.config.js(676B)
--------transform.js(111B)
----.gitignore(2KB)
----schema()
--------plugin.json(1KB)
----package.json(3KB)