|
1 | 1 | {
|
2 | 2 | "cells": [
|
3 | 3 | {
|
4 |
| - "attachments": {}, |
5 | 4 | "cell_type": "markdown",
|
6 | 5 | "metadata": {},
|
7 | 6 | "source": [
|
|
14 | 13 | "\n",
|
15 | 14 | "# Getting Started\n",
|
16 | 15 | "\n",
|
17 |
| - "The first thing we need must do in order to run IDOM in a Jupyter Notebook is install `idom_jupyter` Jupyter with PIP:\n", |
18 |
| - "\n", |
19 |
| - "```bash\n", |
20 |
| - "pip install idom-jupyter\n", |
21 |
| - "```\n", |
22 |
| - "\n", |
23 |
| - "Once this is done you'll be able to use IDOM components like any other [Jupyter Widget](https://ipywidgets.readthedocs.io/en/latest/#).\n", |
24 |
| - "\n", |
| 16 | + "The first thing we need must do in order to run IDOM in a Jupyter Notebook is `import idom_jupyter`. After that, you'll be able to use IDOM components like any other [Jupyter Widget](https://ipywidgets.readthedocs.io/en/latest/#)." |
| 17 | + ] |
| 18 | + }, |
| 19 | + { |
| 20 | + "cell_type": "code", |
| 21 | + "execution_count": null, |
| 22 | + "metadata": {}, |
| 23 | + "outputs": [], |
| 24 | + "source": [ |
| 25 | + "import idom_jupyter" |
| 26 | + ] |
| 27 | + }, |
| 28 | + { |
| 29 | + "cell_type": "markdown", |
| 30 | + "metadata": {}, |
| 31 | + "source": [ |
25 | 32 | "# At a Glance\n",
|
26 | 33 | "\n",
|
27 | 34 | "To get a rough idea of how to write apps in IDOM, take a look at the tiny [“hello world”](https://en.wikipedia.org/wiki/%22Hello,_World!%22_program) application below:"
|
|
157 | 164 | "\n",
|
158 | 165 | "While IDOM is a great tool for displaying HTML and responding to browser events with pure Python, there are other projects which already allow you to do this inside Jupyter Notebooks or in standard web apps. The real power of IDOM comes from its ability to seamlessly leverage the existing Javascript ecosystem:\n",
|
159 | 166 | "\n",
|
160 |
| - "<a href=\"https://idom-docs.herokuapp.com/docs/guides/escape-hatches/javascript-components.html\" target=\"_blank\"><button>Read More!</button></a>" |
| 167 | + "<a href=\"https://idom-docs.herokuapp.com/docs/escape-hatches/javascript-components.html\" target=\"_blank\"><button>Read More!</button></a>" |
161 | 168 | ]
|
162 | 169 | },
|
163 | 170 | {
|
|
192 | 199 | ],
|
193 | 200 | "metadata": {
|
194 | 201 | "kernelspec": {
|
195 |
| - "display_name": "Python 3 (ipykernel)", |
| 202 | + "display_name": "Python 3", |
196 | 203 | "language": "python",
|
197 | 204 | "name": "python3"
|
198 | 205 | },
|
|
206 | 213 | "name": "python",
|
207 | 214 | "nbconvert_exporter": "python",
|
208 | 215 | "pygments_lexer": "ipython3",
|
209 |
| - "version": "3.10.6 (main, Aug 13 2022, 00:11:04) [GCC 9.4.0]" |
210 |
| - }, |
211 |
| - "vscode": { |
212 |
| - "interpreter": { |
213 |
| - "hash": "52bee9646c8f5526f0e9a8eb5a97552aae62c8d54f85864da3e91d79a91aa9b6" |
214 |
| - } |
| 216 | + "version": "3.9.0" |
215 | 217 | }
|
216 | 218 | },
|
217 | 219 | "nbformat": 4,
|
|
0 commit comments