nbcat 0.13.0__tar.gz → 0.13.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. {nbcat-0.13.0 → nbcat-0.13.1}/PKG-INFO +4 -1
  2. {nbcat-0.13.0 → nbcat-0.13.1}/README.md +2 -0
  3. nbcat-0.13.1/docs/screenshot.png +0 -0
  4. nbcat-0.13.1/docs/screenshot2.png +0 -0
  5. {nbcat-0.13.0 → nbcat-0.13.1}/pyproject.toml +3 -2
  6. nbcat-0.13.1/src/nbcat/__init__.py +1 -0
  7. {nbcat-0.13.0 → nbcat-0.13.1}/src/nbcat/main.py +2 -1
  8. {nbcat-0.13.0 → nbcat-0.13.1}/src/nbcat/markdown.py +11 -10
  9. nbcat-0.13.1/tests/assets/sqlite.ipynb +666 -0
  10. {nbcat-0.13.0 → nbcat-0.13.1}/uv.lock +47 -1
  11. nbcat-0.13.0/docs/screenshot.png +0 -0
  12. nbcat-0.13.0/src/nbcat/__init__.py +0 -1
  13. {nbcat-0.13.0 → nbcat-0.13.1}/.github/workflows/ci.yml +0 -0
  14. {nbcat-0.13.0 → nbcat-0.13.1}/.github/workflows/homebrew.yml +0 -0
  15. {nbcat-0.13.0 → nbcat-0.13.1}/.gitignore +0 -0
  16. {nbcat-0.13.0 → nbcat-0.13.1}/LICENSE +0 -0
  17. {nbcat-0.13.0 → nbcat-0.13.1}/Makefile +0 -0
  18. {nbcat-0.13.0 → nbcat-0.13.1}/src/nbcat/enums.py +0 -0
  19. {nbcat-0.13.0 → nbcat-0.13.1}/src/nbcat/exceptions.py +0 -0
  20. {nbcat-0.13.0 → nbcat-0.13.1}/src/nbcat/image.py +0 -0
  21. {nbcat-0.13.0 → nbcat-0.13.1}/src/nbcat/pager.py +0 -0
  22. {nbcat-0.13.0 → nbcat-0.13.1}/src/nbcat/py.typed +0 -0
  23. {nbcat-0.13.0 → nbcat-0.13.1}/src/nbcat/schemas.py +0 -0
  24. {nbcat-0.13.0 → nbcat-0.13.1}/tests/assets/invalid.ipynb +0 -0
  25. {nbcat-0.13.0 → nbcat-0.13.1}/tests/assets/many_tracebacks.ipynb +0 -0
  26. {nbcat-0.13.0 → nbcat-0.13.1}/tests/assets/no_min_version.ipynb +0 -0
  27. {nbcat-0.13.0 → nbcat-0.13.1}/tests/assets/test3.ipynb +0 -0
  28. {nbcat-0.13.0 → nbcat-0.13.1}/tests/assets/test3_no_metadata.ipynb +0 -0
  29. {nbcat-0.13.0 → nbcat-0.13.1}/tests/assets/test3_no_min_version.ipynb +0 -0
  30. {nbcat-0.13.0 → nbcat-0.13.1}/tests/assets/test3_no_worksheets.ipynb +0 -0
  31. {nbcat-0.13.0 → nbcat-0.13.1}/tests/assets/test3_worksheet_with_no_cells.ipynb +0 -0
  32. {nbcat-0.13.0 → nbcat-0.13.1}/tests/assets/test4.5.ipynb +0 -0
  33. {nbcat-0.13.0 → nbcat-0.13.1}/tests/assets/test4.ipynb +0 -0
  34. {nbcat-0.13.0 → nbcat-0.13.1}/tests/assets/test4custom.ipynb +0 -0
  35. {nbcat-0.13.0 → nbcat-0.13.1}/tests/assets/test4docinfo.ipynb +0 -0
  36. {nbcat-0.13.0 → nbcat-0.13.1}/tests/assets/test4jupyter_metadata.ipynb +0 -0
  37. {nbcat-0.13.0 → nbcat-0.13.1}/tests/assets/test4jupyter_metadata_timings.ipynb +0 -0
  38. {nbcat-0.13.0 → nbcat-0.13.1}/tests/conftest.py +0 -0
  39. {nbcat-0.13.0 → nbcat-0.13.1}/tests/test_read_notebook.py +0 -0
  40. {nbcat-0.13.0 → nbcat-0.13.1}/tests/test_render_cell.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nbcat
3
- Version: 0.13.0
3
+ Version: 0.13.1
4
4
  Summary: cat for jupyter notebooks
5
5
  Project-URL: Homepage, https://github.com/akopdev/nbcat
6
6
  Project-URL: Repository, https://github.com/akopdev/nbcat
@@ -30,6 +30,7 @@ License: MIT License
30
30
  License-File: LICENSE
31
31
  Requires-Python: >=3.9
32
32
  Requires-Dist: argcomplete
33
+ Requires-Dist: markdownify
33
34
  Requires-Dist: pydantic
34
35
  Requires-Dist: requests
35
36
  Requires-Dist: rich
@@ -49,6 +50,7 @@ Description-Content-Type: text/markdown
49
50
 
50
51
  <p align="center">
51
52
  <a href="docs/screenshot.png" target="blank"><img src="docs/screenshot.png" width="400" /></a>
53
+ <a href="docs/screenshot2.png" target="blank"><img src="docs/screenshot2.png" width="400" /></a>
52
54
  </p>
53
55
 
54
56
  ## Features
@@ -56,6 +58,7 @@ Description-Content-Type: text/markdown
56
58
  - Very fast and lightweight with minimal dependencies.
57
59
  - Preview remote notebooks without downloading them.
58
60
  - Enable paginated view mode with keyboard navigation (similar to `less`).
61
+ - Supports image rendering (some protocols in beta)
59
62
  - Supports for all Jupyter notebook versions, including old legacy formats.
60
63
 
61
64
  ## Motivation
@@ -4,6 +4,7 @@
4
4
 
5
5
  <p align="center">
6
6
  <a href="docs/screenshot.png" target="blank"><img src="docs/screenshot.png" width="400" /></a>
7
+ <a href="docs/screenshot2.png" target="blank"><img src="docs/screenshot2.png" width="400" /></a>
7
8
  </p>
8
9
 
9
10
  ## Features
@@ -11,6 +12,7 @@
11
12
  - Very fast and lightweight with minimal dependencies.
12
13
  - Preview remote notebooks without downloading them.
13
14
  - Enable paginated view mode with keyboard navigation (similar to `less`).
15
+ - Supports image rendering (some protocols in beta)
14
16
  - Supports for all Jupyter notebook versions, including old legacy formats.
15
17
 
16
18
  ## Motivation
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "nbcat"
3
- version = "0.13.0"
3
+ version = "0.13.1"
4
4
  description = "cat for jupyter notebooks"
5
5
  authors = [
6
6
  { name = "Akop Kesheshyan", email = "devnull@akop.dev" }
@@ -17,7 +17,8 @@ dependencies = [
17
17
  "pydantic",
18
18
  "rich",
19
19
  "timg",
20
- "textual"
20
+ "textual",
21
+ "markdownify"
21
22
  ]
22
23
 
23
24
  [project.optional-dependencies]
@@ -0,0 +1 @@
1
+ __version__ = "0.13.1"
@@ -5,6 +5,7 @@ from pathlib import Path
5
5
  import argcomplete
6
6
  import requests
7
7
  from argcomplete.completers import FilesCompleter
8
+ from markdownify import markdownify
8
9
  from pydantic import ValidationError
9
10
  from rich.console import Console, Group, RenderableType
10
11
  from rich.padding import Padding
@@ -85,7 +86,7 @@ def render_cell(cell: Cell) -> RenderableType:
85
86
  """
86
87
 
87
88
  def _render_markdown(input: str) -> Markdown:
88
- return Markdown(input, code_theme="ansi_dark")
89
+ return Markdown(markdownify(input), code_theme="ansi_dark")
89
90
 
90
91
  def _render_code(input: str, language: str = "python") -> Syntax:
91
92
  return Syntax(input, language, theme="ansi_dark", padding=(1, 2), dedent=True)
@@ -41,16 +41,17 @@ class ImageItem(md.ImageItem):
41
41
  def __rich_console__(self, console: Console, options: ConsoleOptions) -> RenderResult:
42
42
  image_content = None
43
43
  path = Path(self.destination)
44
- if path.exists():
45
- image_content = path.read_bytes()
46
- elif self.destination.startswith("http://") or self.destination.startswith("https://"):
47
- try:
48
- with requests.Session() as req:
49
- res = req.get(self.destination, timeout=5)
50
- res.raise_for_status()
51
- image_content = res.content
52
- except requests.RequestException:
53
- return super().__rich_console__(console, options)
44
+ if path.suffix in [".png", ".jpeg", ".jpg"]:
45
+ if path.exists():
46
+ image_content = path.read_bytes()
47
+ elif self.destination.startswith("http://") or self.destination.startswith("https://"):
48
+ try:
49
+ with requests.Session() as req:
50
+ res = req.get(self.destination, timeout=5)
51
+ res.raise_for_status()
52
+ image_content = res.content
53
+ except requests.RequestException:
54
+ return super().__rich_console__(console, options)
54
55
  if image_content:
55
56
  # TODO: This part can be improved by changing Image class to accept file objects
56
57
  image = base64.b64encode(image_content).decode("utf-8")
@@ -0,0 +1,666 @@
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "metadata": {},
6
+ "source": [
7
+ "# JupyterLite `xeus-sqlite` Kernel Demo\n",
8
+ "\n",
9
+ "The [`jupyterlite/xeus-sqlite-kernel`](https://github.com/jupyterlite/xeus-sqlite-kernel) wraps the original [`jupyter-xeus/xeus-sqlite`](https://github.com/jupyter-xeus/xeus-sqlite/) kernel for use in JupyterLite.\n",
10
+ "\n",
11
+ "Original kernel docs can be found [here](https://xeus-sqlite.readthedocs.io/en/latest/).\n",
12
+ "\n",
13
+ "The kernel provides cell magic for command line database operations, and native execution of SQL code against a connected database."
14
+ ]
15
+ },
16
+ {
17
+ "cell_type": "markdown",
18
+ "metadata": {},
19
+ "source": [
20
+ "## Creating a Database\n",
21
+ "\n",
22
+ "Line magic is used to create an in-memory database:"
23
+ ]
24
+ },
25
+ {
26
+ "cell_type": "code",
27
+ "execution_count": 1,
28
+ "metadata": {
29
+ "trusted": true
30
+ },
31
+ "outputs": [],
32
+ "source": [
33
+ "%CREATE example_db.db"
34
+ ]
35
+ },
36
+ {
37
+ "cell_type": "markdown",
38
+ "metadata": {},
39
+ "source": [
40
+ "Currently, there is no ability to:\n",
41
+ "\n",
42
+ "- save the database to browser storage;\n",
43
+ "- export the database;\n",
44
+ "- load a database from browser storage;\n",
45
+ "- load a database from a URL;\n",
46
+ "- load a database from the desktop;\n",
47
+ "- connect to a remote sqlite database file."
48
+ ]
49
+ },
50
+ {
51
+ "cell_type": "markdown",
52
+ "metadata": {},
53
+ "source": [
54
+ "## Create and Populate Tables\n",
55
+ "\n",
56
+ "Tables are created and populated using SQL:"
57
+ ]
58
+ },
59
+ {
60
+ "cell_type": "code",
61
+ "execution_count": 2,
62
+ "metadata": {
63
+ "trusted": true
64
+ },
65
+ "outputs": [],
66
+ "source": [
67
+ "CREATE TABLE players (Name STRING, Class STRING, Level INTEGER, Hitpoints INTEGER)"
68
+ ]
69
+ },
70
+ {
71
+ "cell_type": "code",
72
+ "execution_count": 3,
73
+ "metadata": {
74
+ "trusted": true
75
+ },
76
+ "outputs": [],
77
+ "source": [
78
+ "INSERT INTO players (Name, Class, Level, Hitpoints) VALUES (\"Martin Splitskull\", \"Warrior\", 3, 40)"
79
+ ]
80
+ },
81
+ {
82
+ "cell_type": "code",
83
+ "execution_count": 4,
84
+ "metadata": {
85
+ "trusted": true
86
+ },
87
+ "outputs": [
88
+ {
89
+ "data": {
90
+ "text/html": [
91
+ "<table>\n",
92
+ "<tr>\n",
93
+ "<th>rowcount</th>\n",
94
+ "</tr>\n",
95
+ "<tr>\n",
96
+ "<td>1</td>\n",
97
+ "</tr>\n",
98
+ "</table>"
99
+ ],
100
+ "text/plain": [
101
+ "+----------+\n",
102
+ "| rowcount |\n",
103
+ "+----------+\n",
104
+ "| 1 |\n",
105
+ "+----------+"
106
+ ]
107
+ },
108
+ "execution_count": 4,
109
+ "metadata": {},
110
+ "output_type": "execute_result"
111
+ }
112
+ ],
113
+ "source": [
114
+ "SELECT COUNT(*) as rowcount FROM players"
115
+ ]
116
+ },
117
+ {
118
+ "cell_type": "markdown",
119
+ "metadata": {},
120
+ "source": [
121
+ "Only one command can be executed from within a single code cell:"
122
+ ]
123
+ },
124
+ {
125
+ "cell_type": "code",
126
+ "execution_count": 5,
127
+ "metadata": {
128
+ "trusted": true
129
+ },
130
+ "outputs": [],
131
+ "source": [
132
+ "INSERT INTO players (Name, Class, Level, Hitpoints) VALUES (\"Sir Wolf\", \"Cleric\", 2, 20);\n",
133
+ "\n",
134
+ "-- The following will not be inserted\n",
135
+ "INSERT INTO players (Name, Class, Level, Hitpoints) VALUES (\"Sylvain, The Grey\", \"Wizard\", 1, 10);"
136
+ ]
137
+ },
138
+ {
139
+ "cell_type": "code",
140
+ "execution_count": 6,
141
+ "metadata": {
142
+ "trusted": true
143
+ },
144
+ "outputs": [
145
+ {
146
+ "data": {
147
+ "text/html": [
148
+ "<table>\n",
149
+ "<tr>\n",
150
+ "<th>Name</th>\n",
151
+ "<th>Level</th>\n",
152
+ "<th>Hitpoints</th>\n",
153
+ "</tr>\n",
154
+ "<tr>\n",
155
+ "<td>Martin Splitskull</td>\n",
156
+ "<td>3</td>\n",
157
+ "<td>40</td>\n",
158
+ "</tr>\n",
159
+ "<tr>\n",
160
+ "<td>Sir Wolf</td>\n",
161
+ "<td>2</td>\n",
162
+ "<td>20</td>\n",
163
+ "</tr>\n",
164
+ "</table>"
165
+ ],
166
+ "text/plain": [
167
+ "+-------------------+-------+-----------+\n",
168
+ "| Name | Level | Hitpoints |\n",
169
+ "+-------------------+-------+-----------+\n",
170
+ "| Martin Splitskull | 3 | 40 |\n",
171
+ "+-------------------+-------+-----------+\n",
172
+ "| Sir Wolf | 2 | 20 |\n",
173
+ "+-------------------+-------+-----------+"
174
+ ]
175
+ },
176
+ "execution_count": 6,
177
+ "metadata": {},
178
+ "output_type": "execute_result"
179
+ }
180
+ ],
181
+ "source": [
182
+ "SELECT Name, Level, Hitpoints FROM players;"
183
+ ]
184
+ },
185
+ {
186
+ "cell_type": "code",
187
+ "execution_count": 7,
188
+ "metadata": {
189
+ "trusted": true
190
+ },
191
+ "outputs": [],
192
+ "source": [
193
+ "INSERT INTO players (Name, Class, Level, Hitpoints) VALUES (\"Sylvain, The Grey\", \"Wizard\", 1, 10);"
194
+ ]
195
+ },
196
+ {
197
+ "cell_type": "code",
198
+ "execution_count": 8,
199
+ "metadata": {
200
+ "trusted": true
201
+ },
202
+ "outputs": [
203
+ {
204
+ "data": {
205
+ "text/html": [
206
+ "<table>\n",
207
+ "<tr>\n",
208
+ "<th>Name</th>\n",
209
+ "<th>Level</th>\n",
210
+ "<th>Hitpoints</th>\n",
211
+ "</tr>\n",
212
+ "<tr>\n",
213
+ "<td>Martin Splitskull</td>\n",
214
+ "<td>3</td>\n",
215
+ "<td>40</td>\n",
216
+ "</tr>\n",
217
+ "<tr>\n",
218
+ "<td>Sir Wolf</td>\n",
219
+ "<td>2</td>\n",
220
+ "<td>20</td>\n",
221
+ "</tr>\n",
222
+ "<tr>\n",
223
+ "<td>Sylvain, The Grey</td>\n",
224
+ "<td>1</td>\n",
225
+ "<td>10</td>\n",
226
+ "</tr>\n",
227
+ "</table>"
228
+ ],
229
+ "text/plain": [
230
+ "+-------------------+-------+-----------+\n",
231
+ "| Name | Level | Hitpoints |\n",
232
+ "+-------------------+-------+-----------+\n",
233
+ "| Martin Splitskull | 3 | 40 |\n",
234
+ "+-------------------+-------+-----------+\n",
235
+ "| Sir Wolf | 2 | 20 |\n",
236
+ "+-------------------+-------+-----------+\n",
237
+ "| Sylvain, The Grey | 1 | 10 |\n",
238
+ "+-------------------+-------+-----------+"
239
+ ]
240
+ },
241
+ "execution_count": 8,
242
+ "metadata": {},
243
+ "output_type": "execute_result"
244
+ }
245
+ ],
246
+ "source": [
247
+ "SELECT Name, Level, Hitpoints FROM players;"
248
+ ]
249
+ },
250
+ {
251
+ "cell_type": "markdown",
252
+ "metadata": {},
253
+ "source": [
254
+ "## Querying Tables\n",
255
+ "\n",
256
+ "A full range of SQL query commands are supported, including aggregation operations:"
257
+ ]
258
+ },
259
+ {
260
+ "cell_type": "code",
261
+ "execution_count": null,
262
+ "metadata": {
263
+ "trusted": true
264
+ },
265
+ "outputs": [],
266
+ "source": [
267
+ "SELECT SUM (Level) FROM players"
268
+ ]
269
+ },
270
+ {
271
+ "cell_type": "markdown",
272
+ "metadata": {},
273
+ "source": [
274
+ "Grouping also works:"
275
+ ]
276
+ },
277
+ {
278
+ "cell_type": "code",
279
+ "execution_count": 11,
280
+ "metadata": {
281
+ "trusted": true
282
+ },
283
+ "outputs": [
284
+ {
285
+ "data": {
286
+ "text/html": [
287
+ "<table>\n",
288
+ "<tr>\n",
289
+ "<th>Level</th>\n",
290
+ "<th>Total Hitpoints</th>\n",
291
+ "</tr>\n",
292
+ "<tr>\n",
293
+ "<td>3</td>\n",
294
+ "<td>40</td>\n",
295
+ "</tr>\n",
296
+ "<tr>\n",
297
+ "<td>2</td>\n",
298
+ "<td>20</td>\n",
299
+ "</tr>\n",
300
+ "<tr>\n",
301
+ "<td>1</td>\n",
302
+ "<td>10</td>\n",
303
+ "</tr>\n",
304
+ "</table>"
305
+ ],
306
+ "text/plain": [
307
+ "+-------+-----------------+\n",
308
+ "| Level | Total Hitpoints |\n",
309
+ "+-------+-----------------+\n",
310
+ "| 3 | 40 |\n",
311
+ "+-------+-----------------+\n",
312
+ "| 2 | 20 |\n",
313
+ "+-------+-----------------+\n",
314
+ "| 1 | 10 |\n",
315
+ "+-------+-----------------+"
316
+ ]
317
+ },
318
+ "execution_count": 11,
319
+ "metadata": {},
320
+ "output_type": "execute_result"
321
+ }
322
+ ],
323
+ "source": [
324
+ "SELECT Level, SUM(Hitpoints) AS `Total Hitpoints`\n",
325
+ "FROM players\n",
326
+ "GROUP BY Level\n",
327
+ "ORDER BY `Total Hitpoints` DESC;"
328
+ ]
329
+ },
330
+ {
331
+ "cell_type": "markdown",
332
+ "metadata": {},
333
+ "source": [
334
+ "## Charting Using Vega\n",
335
+ "\n",
336
+ "The `jupyter-xeus/xeus-sqlite` kernel also bundles Vega charting components.\n",
337
+ "\n",
338
+ "Vega charts can be generated by piping the result of a SQL query into a Vega line magic command."
339
+ ]
340
+ },
341
+ {
342
+ "cell_type": "code",
343
+ "execution_count": 12,
344
+ "metadata": {
345
+ "trusted": true
346
+ },
347
+ "outputs": [
348
+ {
349
+ "data": {
350
+ "text/html": [
351
+ "<table>\n",
352
+ "<tr>\n",
353
+ "<th>Level</th>\n",
354
+ "<th>Hitpoints</th>\n",
355
+ "</tr>\n",
356
+ "<tr>\n",
357
+ "<td>3</td>\n",
358
+ "<td>40</td>\n",
359
+ "</tr>\n",
360
+ "<tr>\n",
361
+ "<td>2</td>\n",
362
+ "<td>20</td>\n",
363
+ "</tr>\n",
364
+ "<tr>\n",
365
+ "<td>1</td>\n",
366
+ "<td>10</td>\n",
367
+ "</tr>\n",
368
+ "</table>"
369
+ ],
370
+ "text/plain": [
371
+ "+-------+-----------+\n",
372
+ "| Level | Hitpoints |\n",
373
+ "+-------+-----------+\n",
374
+ "| 3 | 40 |\n",
375
+ "+-------+-----------+\n",
376
+ "| 2 | 20 |\n",
377
+ "+-------+-----------+\n",
378
+ "| 1 | 10 |\n",
379
+ "+-------+-----------+"
380
+ ]
381
+ },
382
+ "execution_count": 12,
383
+ "metadata": {},
384
+ "output_type": "execute_result"
385
+ },
386
+ {
387
+ "data": {
388
+ "application/vnd.vegalite.v3+json": {
389
+ "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
390
+ "config": {
391
+ "axis": {
392
+ "grid": true
393
+ }
394
+ },
395
+ "data": {
396
+ "values": [
397
+ {
398
+ "Hitpoints": "name",
399
+ "Level": "name"
400
+ },
401
+ {
402
+ "Hitpoints": "40",
403
+ "Level": "3"
404
+ },
405
+ {
406
+ "Hitpoints": "20",
407
+ "Level": "2"
408
+ },
409
+ {
410
+ "Hitpoints": "10",
411
+ "Level": "1"
412
+ }
413
+ ]
414
+ },
415
+ "encoding": {
416
+ "x": {
417
+ "field": "Level",
418
+ "type": "quantitative"
419
+ },
420
+ "y": {
421
+ "field": "Hitpoints",
422
+ "type": "quantitative"
423
+ }
424
+ },
425
+ "height": 200,
426
+ "mark": {
427
+ "type": "circle"
428
+ },
429
+ "width": 100
430
+ },
431
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAJMAAAD3CAYAAAAZgGZZAAAAAXNSR0IArs4c6QAAFBRJREFUeF7tnQlsFlUXhk9Ly77+gAUryCIgUIWwVQJKEbAGBEWpLFJZQqrmVwFBi1qgSItIoCAgSqSyCT8KyJZIoICyBatYoSxhKwpYbEGBFixr6Z9zzVe6fT132pnp943vTYhgz9w5896n79yZuTPHJycnJ4fQoIAJCvgAJhNURBdKAcAEEExTADCZJiU6AkxgwDQFAJNpUqIjy2G6c+cOXb58merWrZur9t9//02VKlUiX19fjICDFLAcpnHjxtGhQ4do69at9Oeff9KQIUPIz8+Pzpw5Q2+//TYNHz7cQXI681D2HUmlX/+4rA6ucf1a1Ll1YJEHailMGzdupM8++4zYnRim6dOn09WrVyk2NpbS0tKofv36xC5VuXJlZ46CA46KQUrYfzrfkfTq0KR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Rx55hEJDQ2nKlCn01FNP2SZqWcKUk5Oj5oo8Z+GBtbNNmDBBzdcmT55MR48eVafY8+fPq4sRr4WJHw7zlQS3Pn360MqVK5VL2dUYJp6z8YTU7sZztWbNmuXb7bBhw2jJkiWWp8IARURE0MmTJ6l8+fI0bdo0NW8qrnm8M3HyPPnMyMhQVxdo9irwxx9/UEBAAPn6+oo79gqYxKNAgEcoAJg8YhickQRgcsY4esRRACaPGAZnJAGYnDGOHnEUgMkjhsEZSQAmg+PYr18/2rRpU+7DV4Oba4XzDcqbN2+KD1a1OrMxCDAZFNsF09WrV6lq1aoGt9YL51UKN27coCNHjuht4CFRgMngQBQH065du4jvmH///fcUEhKi/v7VV1/R0qVLaf78+eqRyIwZM2jNmjXqDy8x4UdFvEaL1yjxuq127dqpJS+AyeDAeGO4O5h4zVG1atWoS5cu9PTTT9PEiRPVs8SpU6cqiN577z2KjY1Vi83Y0XhtUPfu3dVzL35w/fnnn9PFixeJ7zg/8cQTgMkb4TCaszuYVq9eTa7X39lleIXo77//rlZHdujQgfz8/JQbtWrVSq0AeOGFF9Tq0ccee4x69eql3Gz37t20efNmev/99wGT0YHxxnh3MH344YfKfXi5SJMmTXIPLTIyUp3K+L+vv/66Ot2x+/DDY36Ni52MHcrVeJkJP8zFac4b6TCYswumqKgo9TSdG7sOz3P4tMYwvfLKKzRz5kz1/7/55hvil04bNmyoYvv27Uu8EuLSpUtUu3Ztat68OX3xxRe0atUqSkxMpA0bNtAzzzwDmAyOi1eGu2AqmDyvPeLF/rxU5cKFC2r+xAvMnnzySRXKa7ASEhLUqY5Pcdz4FkN0dLRaSclt1qxZ9NZbb6k5Fm4NeCUe5ibNb7WcPXuWGjRooJxJp3F8nTp1yvR1Kp08pRjcGpAUws+1FQBM2lIhUFIAMEkK4efaCgAmbakQKCkAmCSF8HNtBf4PeeHBOWN20+UAAAAASUVORK5CYII="
432
+ },
433
+ "execution_count": 12,
434
+ "metadata": {},
435
+ "output_type": "execute_result"
436
+ }
437
+ ],
438
+ "source": [
439
+ "%XVEGA_PLOT\n",
440
+ " X_FIELD Level\n",
441
+ " Y_FIELD Hitpoints\n",
442
+ " MARK circle\n",
443
+ " WIDTH 100\n",
444
+ " HEIGHT 200\n",
445
+ " <>\n",
446
+ " SELECT Level, Hitpoints FROM players"
447
+ ]
448
+ },
449
+ {
450
+ "cell_type": "markdown",
451
+ "metadata": {},
452
+ "source": [
453
+ "## Database Administration\n",
454
+ "\n",
455
+ "Several line magics are defined to support database administration"
456
+ ]
457
+ },
458
+ {
459
+ "cell_type": "code",
460
+ "execution_count": 15,
461
+ "metadata": {
462
+ "trusted": true
463
+ },
464
+ "outputs": [
465
+ {
466
+ "data": {
467
+ "text/plain": [
468
+ "The table players exists."
469
+ ]
470
+ },
471
+ "execution_count": 15,
472
+ "metadata": {},
473
+ "output_type": "execute_result"
474
+ }
475
+ ],
476
+ "source": [
477
+ "%TABLE_EXISTS players"
478
+ ]
479
+ },
480
+ {
481
+ "cell_type": "code",
482
+ "execution_count": 16,
483
+ "metadata": {
484
+ "trusted": true
485
+ },
486
+ "outputs": [
487
+ {
488
+ "data": {
489
+ "text/plain": [
490
+ "The table npcs doesn't exist."
491
+ ]
492
+ },
493
+ "execution_count": 16,
494
+ "metadata": {},
495
+ "output_type": "execute_result"
496
+ }
497
+ ],
498
+ "source": [
499
+ "%TABLE_EXISTS npcs"
500
+ ]
501
+ },
502
+ {
503
+ "cell_type": "code",
504
+ "execution_count": 17,
505
+ "metadata": {
506
+ "trusted": true
507
+ },
508
+ "outputs": [
509
+ {
510
+ "data": {
511
+ "text/plain": [
512
+ "Magic header string: SQLite format 3\n",
513
+ "Page size bytes: 4096\n",
514
+ "File format write version: 1\n",
515
+ "File format read version: 1\n",
516
+ "Reserved space bytes: 0\n",
517
+ "Max embedded payload fraction 64\n",
518
+ "Min embedded payload fraction: 32\n",
519
+ "Leaf payload fraction: 32\n",
520
+ "File change counter: 4\n",
521
+ "Database size pages: 2\n",
522
+ "First freelist trunk page: 0\n",
523
+ "Total freelist trunk pages: 0\n",
524
+ "Schema cookie: 1\n",
525
+ "Schema format number: 4\n",
526
+ "Default page cache size bytes: 0\n",
527
+ "Largest B tree page number: 0\n",
528
+ "Database text encoding: 1\n",
529
+ "User version: 0\n",
530
+ "Incremental vaccum mode: 0\n",
531
+ "Application ID: 0\n",
532
+ "Version valid for: 4\n",
533
+ "SQLite version: 3032003\n"
534
+ ]
535
+ },
536
+ "execution_count": 17,
537
+ "metadata": {},
538
+ "output_type": "execute_result"
539
+ }
540
+ ],
541
+ "source": [
542
+ "%GET_INFO"
543
+ ]
544
+ },
545
+ {
546
+ "cell_type": "markdown",
547
+ "metadata": {},
548
+ "source": [
549
+ "## Connecting to a Different Database\n",
550
+ "\n",
551
+ "Creating a new database will connect the kernel to the new database instance."
552
+ ]
553
+ },
554
+ {
555
+ "cell_type": "code",
556
+ "execution_count": 18,
557
+ "metadata": {
558
+ "trusted": true
559
+ },
560
+ "outputs": [],
561
+ "source": [
562
+ "%CREATE potato.db "
563
+ ]
564
+ },
565
+ {
566
+ "cell_type": "code",
567
+ "execution_count": 19,
568
+ "metadata": {
569
+ "trusted": true
570
+ },
571
+ "outputs": [],
572
+ "source": [
573
+ "CREATE TABLE potaters(production INTEGER)"
574
+ ]
575
+ },
576
+ {
577
+ "cell_type": "code",
578
+ "execution_count": 20,
579
+ "metadata": {
580
+ "trusted": true
581
+ },
582
+ "outputs": [],
583
+ "source": [
584
+ "INSERT INTO potaters (production) VALUES (7)"
585
+ ]
586
+ },
587
+ {
588
+ "cell_type": "code",
589
+ "execution_count": 21,
590
+ "metadata": {
591
+ "trusted": true
592
+ },
593
+ "outputs": [
594
+ {
595
+ "data": {
596
+ "text/html": [
597
+ "<table>\n",
598
+ "<tr>\n",
599
+ "<th>production</th>\n",
600
+ "</tr>\n",
601
+ "<tr>\n",
602
+ "<td>7</td>\n",
603
+ "</tr>\n",
604
+ "</table>"
605
+ ],
606
+ "text/plain": [
607
+ "+------------+\n",
608
+ "| production |\n",
609
+ "+------------+\n",
610
+ "| 7 |\n",
611
+ "+------------+"
612
+ ]
613
+ },
614
+ "execution_count": 21,
615
+ "metadata": {},
616
+ "output_type": "execute_result"
617
+ }
618
+ ],
619
+ "source": [
620
+ "SELECT * FROM potaters"
621
+ ]
622
+ },
623
+ {
624
+ "cell_type": "markdown",
625
+ "metadata": {},
626
+ "source": [
627
+ "The original database is lost:"
628
+ ]
629
+ },
630
+ {
631
+ "cell_type": "code",
632
+ "execution_count": 23,
633
+ "metadata": {
634
+ "trusted": true
635
+ },
636
+ "outputs": [
637
+ {
638
+ "ename": "Error",
639
+ "evalue": "no such table: players",
640
+ "output_type": "error",
641
+ "traceback": [
642
+ "Error: no such table: players"
643
+ ]
644
+ }
645
+ ],
646
+ "source": [
647
+ "SELECT Name, Level, Hitpoints FROM players;"
648
+ ]
649
+ }
650
+ ],
651
+ "metadata": {
652
+ "kernelspec": {
653
+ "display_name": "SQLite",
654
+ "language": "sql",
655
+ "name": "SQLite"
656
+ },
657
+ "language_info": {
658
+ "file_extension": ".sqlite3-console",
659
+ "mimetype": "text/x-sqlite3-console",
660
+ "name": "sqlite3",
661
+ "version": "0.4.0"
662
+ }
663
+ },
664
+ "nbformat": 4,
665
+ "nbformat_minor": 4
666
+ }
@@ -20,6 +20,19 @@ wheels = [
20
20
  { url = "https://files.pythonhosted.org/packages/31/da/e42d7a9d8dd33fa775f467e4028a47936da2f01e4b0e561f9ba0d74cb0ca/argcomplete-3.6.2-py3-none-any.whl", hash = "sha256:65b3133a29ad53fb42c48cf5114752c7ab66c1c38544fdf6460f450c09b42591", size = 43708 },
21
21
  ]
22
22
 
23
+ [[package]]
24
+ name = "beautifulsoup4"
25
+ version = "4.13.4"
26
+ source = { registry = "https://pypi.org/simple" }
27
+ dependencies = [
28
+ { name = "soupsieve" },
29
+ { name = "typing-extensions" },
30
+ ]
31
+ sdist = { url = "https://files.pythonhosted.org/packages/d8/e4/0c4c39e18fd76d6a628d4dd8da40543d136ce2d1752bd6eeeab0791f4d6b/beautifulsoup4-4.13.4.tar.gz", hash = "sha256:dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195", size = 621067 }
32
+ wheels = [
33
+ { url = "https://files.pythonhosted.org/packages/50/cd/30110dc0ffcf3b131156077b90e9f60ed75711223f306da4db08eff8403b/beautifulsoup4-4.13.4-py3-none-any.whl", hash = "sha256:9bbbb14bfde9d79f38b8cd5f8c7c85f4b8f2523190ebed90e950a8dea4cb1c4b", size = 187285 },
34
+ ]
35
+
23
36
  [[package]]
24
37
  name = "certifi"
25
38
  version = "2025.4.26"
@@ -246,6 +259,19 @@ plugins = [
246
259
  { name = "mdit-py-plugins" },
247
260
  ]
248
261
 
262
+ [[package]]
263
+ name = "markdownify"
264
+ version = "1.1.0"
265
+ source = { registry = "https://pypi.org/simple" }
266
+ dependencies = [
267
+ { name = "beautifulsoup4" },
268
+ { name = "six" },
269
+ ]
270
+ sdist = { url = "https://files.pythonhosted.org/packages/2f/78/c48fed23c7aebc2c16049062e72de1da3220c274de59d28c942acdc9ffb2/markdownify-1.1.0.tar.gz", hash = "sha256:449c0bbbf1401c5112379619524f33b63490a8fa479456d41de9dc9e37560ebd", size = 17127 }
271
+ wheels = [
272
+ { url = "https://files.pythonhosted.org/packages/64/11/b751af7ad41b254a802cf52f7bc1fca7cabe2388132f2ce60a1a6b9b9622/markdownify-1.1.0-py3-none-any.whl", hash = "sha256:32a5a08e9af02c8a6528942224c91b933b4bd2c7d078f9012943776fc313eeef", size = 13901 },
273
+ ]
274
+
249
275
  [[package]]
250
276
  name = "mdit-py-plugins"
251
277
  version = "0.4.2"
@@ -269,10 +295,11 @@ wheels = [
269
295
 
270
296
  [[package]]
271
297
  name = "nbcat"
272
- version = "0.13.0"
298
+ version = "0.13.1"
273
299
  source = { editable = "." }
274
300
  dependencies = [
275
301
  { name = "argcomplete" },
302
+ { name = "markdownify" },
276
303
  { name = "pydantic" },
277
304
  { name = "requests" },
278
305
  { name = "rich" },
@@ -292,6 +319,7 @@ dev = [
292
319
  [package.metadata]
293
320
  requires-dist = [
294
321
  { name = "argcomplete" },
322
+ { name = "markdownify" },
295
323
  { name = "pydantic" },
296
324
  { name = "pytest", marker = "extra == 'dev'" },
297
325
  { name = "pytest-cov", marker = "extra == 'dev'" },
@@ -728,6 +756,24 @@ wheels = [
728
756
  { url = "https://files.pythonhosted.org/packages/68/ca/69d7c7752bce162d1516e5592b1cc6b6668e9328c0d270609ddbeeadd7cf/ruff-0.11.7-py3-none-win_arm64.whl", hash = "sha256:778c1e5d6f9e91034142dfd06110534ca13220bfaad5c3735f6cb844654f6177", size = 10677936 },
729
757
  ]
730
758
 
759
+ [[package]]
760
+ name = "six"
761
+ version = "1.17.0"
762
+ source = { registry = "https://pypi.org/simple" }
763
+ sdist = { url = "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81", size = 34031 }
764
+ wheels = [
765
+ { url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050 },
766
+ ]
767
+
768
+ [[package]]
769
+ name = "soupsieve"
770
+ version = "2.7"
771
+ source = { registry = "https://pypi.org/simple" }
772
+ sdist = { url = "https://files.pythonhosted.org/packages/3f/f4/4a80cd6ef364b2e8b65b15816a843c0980f7a5a2b4dc701fc574952aa19f/soupsieve-2.7.tar.gz", hash = "sha256:ad282f9b6926286d2ead4750552c8a6142bc4c783fd66b0293547c8fe6ae126a", size = 103418 }
773
+ wheels = [
774
+ { url = "https://files.pythonhosted.org/packages/e7/9c/0e6afc12c269578be5c0c1c9f4b49a8d32770a080260c333ac04cc1c832d/soupsieve-2.7-py3-none-any.whl", hash = "sha256:6e60cc5c1ffaf1cebcc12e8188320b72071e922c2e897f737cadce79ad5d30c4", size = 36677 },
775
+ ]
776
+
731
777
  [[package]]
732
778
  name = "textual"
733
779
  version = "3.2.0"
Binary file
@@ -1 +0,0 @@
1
- __version__ = "0.13.0"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes