File tree 2 files changed +27
-3
lines changed
2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
An interactive terminal to easily try ` pandas ` in the browser, powered by JupyterLite.
4
4
5
+ ![ image] ( https://user-images.githubusercontent.com/591645/175000291-e8c69f6f-5f2c-48d7-817c-cff05ab2cde9.png )
6
+
5
7
## Build
6
8
7
9
The interactive terminal is built with the ` jupyterlite ` CLI.
8
10
9
- In ` web/interactive_terminal ` , run:
11
+ First make sure ` jupyterlite ` is installed:
12
+
13
+ ``` bash
14
+ python -m pip install jupyterlite
15
+ ```
16
+
17
+ Then in ` web/interactive_terminal ` , run the following command:
10
18
11
19
``` bash
12
- jupyter lite build --lite-dir web/interactive_terminal --output-dir web/build/lite
20
+ jupyter lite build
13
21
```
22
+
23
+ ## Configuration
24
+
25
+ This folder contains configuration files for the interactive terminal powered by JupyterLite:
26
+
27
+ - ` jupyter_lite_config.json ` : build time configuration, used when building the assets with the ` jupyter lite build ` command
28
+ - ` jupyter-lite.json ` run time configuration applied when launching the application in the browser
29
+
30
+ The interactive ` pandas ` terminal application enables a couple of optimizations to only include the ` repl ` app in the generated static assets.
31
+ To learn more about it, check out the JupyterLite documentation:
32
+
33
+ - Optimizations: https://jupyterlite.readthedocs.io/en/latest/howto/configure/advanced/optimizations.html
34
+ - JupyterLite schema: https://jupyterlite.readthedocs.io/en/latest/reference/schema-v0.html
35
+ - CLI reference: https://jupyterlite.readthedocs.io/en/latest/reference/cli.html
Original file line number Diff line number Diff line change 1
1
{
2
2
"LiteBuildConfig" : {
3
3
"apps" : [" repl" ],
4
- "no_unused_shared_packages" : true
4
+ "contents" : [" content" ],
5
+ "no_unused_shared_packages" : true ,
6
+ "output_dir" : " ../build/lite"
5
7
}
6
8
}
7
9
You can’t perform that action at this time.
0 commit comments