JupyterLab-CodeAnalysisDemo

所属分类:自动编程
开发工具:TypeScript
文件大小:178KB
下载次数:0
上传日期:2020-10-16 19:42:45
上 传 者sh-1993
说明:  Jupyter笔记本4代码分析乐趣中用户代码的*编程*读写演示
(A demo for the *programatic* reading and writing of user code in Jupyter notebooks 4 code analysis fun)

文件列表:
LICENSE (1065, 2020-10-17)
codegen (0, 2020-10-17)
codegen\LICENSE (1505, 2020-10-17)
codegen\package.json (1672, 2020-10-17)
codegen\src (0, 2020-10-17)
codegen\src\.DS_Store (6148, 2020-10-17)
codegen\src\index.ts (2043, 2020-10-17)
codegen\src\jupyter-hooks (0, 2020-10-17)
codegen\src\jupyter-hooks\cell.ts (675, 2020-10-17)
codegen\src\jupyter-hooks\kernel.ts (3186, 2020-10-17)
codegen\src\jupyter-hooks\notebook.ts (3581, 2020-10-17)
codegen\src\panel-UI (0, 2020-10-17)
codegen\src\panel-UI\index.tsx (2566, 2020-10-17)
codegen\style (0, 2020-10-17)
codegen\style\index.css (835, 2020-10-17)
codegen\style\myIcon.svg (1946, 2020-10-17)
codegen\tsconfig.json (469, 2020-10-17)
codegen\yarn.lock (92534, 2020-10-17)
screenshot.png (174286, 2020-10-17)

# JupyterLab Code Analysis Extension Demo Lots of developer tools require access to _programatic_ reading and writing of user code, as well as variable state. This is an example JupyterLab Extension that provides simple code demonstrating __how to__ programatically reading and writing notebook user code, as well as accessing variable state and type information in the user's programming environment. ### Install Instructions The `jlpm` command is JupyterLab's pinned version of [yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use `yarn` or `npm` in lieu of `jlpm` below. ```bash # Clone the repo to your local environment # Move to codegen directory # Install dependencies jlpm # Build Typescript source jlpm build # Link your development version of the extension with JupyterLab jupyter labextension install . # Rebuild Typescript source after making changes jlpm build # Rebuild JupyterLab after making any changes jupyter lab build ``` ### The running extension looks like this: ![Image of codegen extension](https://github.com/mkery/JupyterLab-CodeGen/blob/main/screenshot.png#1) #### Missing functionality that would be useful to demo? Let us know in issues or contribute! :D

近期下载者

相关文件


收藏者