jpterm 0.3.3__tar.gz → 0.3.4__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.
- {jpterm-0.3.3 → jpterm-0.3.4}/.github/workflows/publish.yml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/PKG-INFO +21 -21
- {jpterm-0.3.3 → jpterm-0.3.4}/jpterm/cli.py +5 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/cell/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/cell/txl_cell/main.py +7 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/console/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/editors/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/editors/txl_editors/main.py +0 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/file_browser/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/image_viewer/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/jpterm/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/kernel/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/kernel/txl_kernel/driver.py +10 -2
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/launcher/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_contents/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_kernels/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_kernels/txl_local_kernels/driver.py +0 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_terminals/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_terminals/txl_local_terminals/win_terminal.py +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/markdown_viewer/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/notebook_editor/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_contents/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_kernels/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_kernels/txl_remote_kernels/main.py +3 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_terminals/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/terminal/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/text_editor/pyproject.toml +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/widgets/pyproject.toml +2 -2
- {jpterm-0.3.3 → jpterm-0.3.4}/pyproject.toml +21 -21
- {jpterm-0.3.3 → jpterm-0.3.4}/txl/pyproject.toml +2 -2
- {jpterm-0.3.3 → jpterm-0.3.4}/txl/txl/app.py +3 -2
- jpterm-0.3.3/.fileid.db +0 -0
- jpterm-0.3.3/.ipynb_checkpoints/Untitled-checkpoint.ipynb +0 -24
- jpterm-0.3.3/.ipynb_checkpoints/Untitled1-checkpoint.ipynb +0 -24
- jpterm-0.3.3/.ipynb_checkpoints/Untitled2-checkpoint.ipynb +0 -24
- jpterm-0.3.3/.jupyter_ystore.db +0 -0
- jpterm-0.3.3/Untitled.ipynb +0 -26
- jpterm-0.3.3/Untitled1.ipynb +0 -26
- jpterm-0.3.3/Untitled2.ipynb +0 -26
- jpterm-0.3.3/examples/.ipynb_checkpoints/plotext-checkpoint.ipynb +0 -98
- jpterm-0.3.3/examples/.ipynb_checkpoints/plotext2-checkpoint.ipynb +0 -72
- jpterm-0.3.3/examples/.ipynb_checkpoints/switch-checkpoint.ipynb +0 -64
- jpterm-0.3.3/examples/.ipynb_checkpoints/widget-checkpoint.ipynb +0 -253
- {jpterm-0.3.3 → jpterm-0.3.4}/.github/workflows/test.yml +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/.gitignore +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/.pre-commit-config.yaml +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/CHANGELOG.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/LICENSE +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/config.yaml +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/docs/assets/logo.png +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/docs/index.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/docs/install.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/docs/plugins/console.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/docs/plugins/notebook_editor.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/docs/usage/CLI.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/docs/usage/key_bindings.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/examples/button.ipynb +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/examples/demo.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/examples/jupyter.png +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/examples/plotext.ipynb +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/examples/plotext2.ipynb +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/examples/switch.ipynb +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/examples/widget.ipynb +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/jpterm/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/mkdocs.yml +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/cell/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/cell/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/cell/txl_cell/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/console/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/console/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/console/txl_console/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/console/txl_console/main.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/editors/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/editors/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/editors/txl_editors/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/file_browser/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/file_browser/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/file_browser/txl_file_browser/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/file_browser/txl_file_browser/main.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/image_viewer/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/image_viewer/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/image_viewer/txl_image_viewer/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/image_viewer/txl_image_viewer/main.py +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/jpterm/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/jpterm/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/jpterm/txl_jpterm/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/jpterm/txl_jpterm/footer.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/jpterm/txl_jpterm/header.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/jpterm/txl_jpterm/jpterm.css +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/jpterm/txl_jpterm/main.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/jpterm/txl_jpterm/main_area.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/kernel/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/kernel/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/kernel/txl_kernel/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/kernel/txl_kernel/message.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/launcher/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/launcher/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/launcher/txl_launcher/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/launcher/txl_launcher/main.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_contents/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_contents/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_contents/txl_local_contents/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_contents/txl_local_contents/main.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_kernels/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_kernels/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_kernels/txl_local_kernels/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_kernels/txl_local_kernels/connect.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_kernels/txl_local_kernels/kernelspec.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_kernels/txl_local_kernels/main.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_kernels/txl_local_kernels/message.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_kernels/txl_local_kernels/paths.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_terminals/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_terminals/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_terminals/txl_local_terminals/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_terminals/txl_local_terminals/main.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/local_terminals/txl_local_terminals/terminal.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/markdown_viewer/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/markdown_viewer/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/markdown_viewer/txl_markdown_viewer/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/markdown_viewer/txl_markdown_viewer/main.py +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/notebook_editor/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/notebook_editor/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/notebook_editor/txl_notebook_editor/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/notebook_editor/txl_notebook_editor/main.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/notebook_viewer/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/notebook_viewer/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/notebook_viewer/pyproject.toml +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/notebook_viewer/txl_notebook_viewer/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/notebook_viewer/txl_notebook_viewer/main.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_contents/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_contents/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_contents/txl_remote_contents/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_contents/txl_remote_contents/main.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_kernels/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_kernels/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_kernels/txl_remote_kernels/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_kernels/txl_remote_kernels/driver.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_kernels/txl_remote_kernels/message.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_terminals/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_terminals/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_terminals/txl_remote_terminals/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/remote_terminals/txl_remote_terminals/main.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/terminal/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/terminal/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/terminal/txl_terminal/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/terminal/txl_terminal/main.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/text_editor/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/text_editor/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/text_editor/txl_text_editor/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/text_editor/txl_text_editor/main.py +1 -1
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/text_viewer/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/text_viewer/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/text_viewer/pyproject.toml +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/text_viewer/txl_text_viewer/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/text_viewer/txl_text_viewer/main.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/widgets/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/widgets/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/widgets/txl_widgets/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/plugins/widgets/txl_widgets/main.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/publish.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/txl/LICENSE.txt +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/txl/README.md +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/txl/txl/__init__.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/txl/txl/base.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/txl/txl/cli.py +0 -0
- {jpterm-0.3.3 → jpterm-0.3.4}/txl/txl/text_input.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: jpterm
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.4
|
4
4
|
Summary: Jupyter in the terminal
|
5
5
|
Project-URL: Homepage, https://github.com/davidbrochart/jpterm
|
6
6
|
Author-email: David Brochart <david.brochart@gmail.com>
|
@@ -17,26 +17,26 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
17
17
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
18
18
|
Requires-Python: >=3.10
|
19
19
|
Requires-Dist: rich-click>=1.6.0
|
20
|
-
Requires-Dist: txl-cell==0.3.
|
21
|
-
Requires-Dist: txl-console==0.3.
|
22
|
-
Requires-Dist: txl-editors==0.3.
|
23
|
-
Requires-Dist: txl-file-browser==0.3.
|
24
|
-
Requires-Dist: txl-image-viewer==0.3.
|
25
|
-
Requires-Dist: txl-jpterm==0.3.
|
26
|
-
Requires-Dist: txl-kernel==0.3.
|
27
|
-
Requires-Dist: txl-launcher==0.3.
|
28
|
-
Requires-Dist: txl-local-contents==0.3.
|
29
|
-
Requires-Dist: txl-local-kernels==0.3.
|
30
|
-
Requires-Dist: txl-local-terminals==0.3.
|
31
|
-
Requires-Dist: txl-markdown-viewer==0.3.
|
32
|
-
Requires-Dist: txl-notebook-editor==0.3.
|
33
|
-
Requires-Dist: txl-remote-contents==0.3.
|
34
|
-
Requires-Dist: txl-remote-kernels==0.3.
|
35
|
-
Requires-Dist: txl-remote-terminals==0.3.
|
36
|
-
Requires-Dist: txl-terminal==0.3.
|
37
|
-
Requires-Dist: txl-text-editor==0.3.
|
38
|
-
Requires-Dist: txl-widgets==0.3.
|
39
|
-
Requires-Dist: txl==0.3.
|
20
|
+
Requires-Dist: txl-cell==0.3.4
|
21
|
+
Requires-Dist: txl-console==0.3.4
|
22
|
+
Requires-Dist: txl-editors==0.3.4
|
23
|
+
Requires-Dist: txl-file-browser==0.3.4
|
24
|
+
Requires-Dist: txl-image-viewer==0.3.4
|
25
|
+
Requires-Dist: txl-jpterm==0.3.4
|
26
|
+
Requires-Dist: txl-kernel==0.3.4
|
27
|
+
Requires-Dist: txl-launcher==0.3.4
|
28
|
+
Requires-Dist: txl-local-contents==0.3.4
|
29
|
+
Requires-Dist: txl-local-kernels==0.3.4
|
30
|
+
Requires-Dist: txl-local-terminals==0.3.4
|
31
|
+
Requires-Dist: txl-markdown-viewer==0.3.4
|
32
|
+
Requires-Dist: txl-notebook-editor==0.3.4
|
33
|
+
Requires-Dist: txl-remote-contents==0.3.4
|
34
|
+
Requires-Dist: txl-remote-kernels==0.3.4
|
35
|
+
Requires-Dist: txl-remote-terminals==0.3.4
|
36
|
+
Requires-Dist: txl-terminal==0.3.4
|
37
|
+
Requires-Dist: txl-text-editor==0.3.4
|
38
|
+
Requires-Dist: txl-widgets==0.3.4
|
39
|
+
Requires-Dist: txl==0.3.2
|
40
40
|
Provides-Extra: docs
|
41
41
|
Requires-Dist: mkdocs; extra == 'docs'
|
42
42
|
Requires-Dist: mkdocs-material; extra == 'docs'
|
@@ -51,7 +51,11 @@ def main():
|
|
51
51
|
decorators = [
|
52
52
|
click.option("--logo", is_flag=True, default=False, help="Show the jpterm logo."),
|
53
53
|
click.option("--server", default="", help="The URL to the Jupyter server."),
|
54
|
-
click.option(
|
54
|
+
click.option(
|
55
|
+
"--backend",
|
56
|
+
default="asyncio",
|
57
|
+
help="The name of the event loop to use (asyncio or trio).",
|
58
|
+
),
|
55
59
|
click.option(
|
56
60
|
"--collaborative/--no-collaborative",
|
57
61
|
default=False,
|
@@ -342,7 +342,13 @@ class CellModule(Module):
|
|
342
342
|
|
343
343
|
async with create_task_group() as self.tg:
|
344
344
|
|
345
|
-
self.cell_factory = _CellFactory(
|
345
|
+
self.cell_factory = _CellFactory(
|
346
|
+
self.tg,
|
347
|
+
contents,
|
348
|
+
widgets,
|
349
|
+
self.show_execution_count,
|
350
|
+
self.show_border,
|
351
|
+
)
|
346
352
|
self.put(self.cell_factory, CellFactory)
|
347
353
|
self.done()
|
348
354
|
await sleep(float("inf"))
|
@@ -31,7 +31,9 @@ class Comm:
|
|
31
31
|
buffers=buffers,
|
32
32
|
)
|
33
33
|
self.msg_cnt += 1
|
34
|
-
create_task(
|
34
|
+
create_task(
|
35
|
+
self.send_message(msg, self.shell_channel, change_date_to_str=True), self.task_group
|
36
|
+
)
|
35
37
|
|
36
38
|
|
37
39
|
class KernelMixin:
|
@@ -85,7 +87,13 @@ class KernelMixin:
|
|
85
87
|
if msg_type == "comm_open":
|
86
88
|
for comm_handler in self.comm_handlers:
|
87
89
|
comm_id = msg["content"]["comm_id"]
|
88
|
-
comm = Comm(
|
90
|
+
comm = Comm(
|
91
|
+
comm_id,
|
92
|
+
self.shell_channel,
|
93
|
+
self.session_id,
|
94
|
+
self.send_message,
|
95
|
+
self.task_group,
|
96
|
+
)
|
89
97
|
comm_handler.comm_open(msg, comm)
|
90
98
|
elif msg_type == "comm_msg":
|
91
99
|
for comm_handler in self.comm_handlers:
|
@@ -21,7 +21,9 @@ class RemoteKernels(Kernels):
|
|
21
21
|
url: str,
|
22
22
|
kernel_name: str | None,
|
23
23
|
):
|
24
|
-
self.kernel = KernelDriver(
|
24
|
+
self.kernel = KernelDriver(
|
25
|
+
self.task_group, url, kernel_name, comm_handlers=self.comm_handlers
|
26
|
+
)
|
25
27
|
|
26
28
|
async def execute(self, ycell: Map):
|
27
29
|
await self.kernel.execute(ycell)
|
@@ -4,14 +4,14 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "txl_widgets"
|
7
|
-
version = "0.3.
|
7
|
+
version = "0.3.4"
|
8
8
|
description = "TXL plugin for kernel widgets"
|
9
9
|
readme = "README.md"
|
10
10
|
requires-python = ">=3.10"
|
11
11
|
license = "MIT"
|
12
12
|
keywords = []
|
13
13
|
classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy",]
|
14
|
-
dependencies = [ "txl ==0.3.1", "ypywidgets >=0.9.4,<0.10.0", "ypywidgets-textual >=0.5.
|
14
|
+
dependencies = [ "txl ==0.3.1", "ypywidgets >=0.9.4,<0.10.0", "ypywidgets-textual >=0.5.4,<0.6.0", "pycrdt >=0.10.9,<0.13.0",]
|
15
15
|
[[project.authors]]
|
16
16
|
name = "David Brochart"
|
17
17
|
email = "david.brochart@gmail.com"
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "jpterm"
|
7
|
-
version = "0.3.
|
7
|
+
version = "0.3.4"
|
8
8
|
description = "Jupyter in the terminal"
|
9
9
|
readme = "README.md"
|
10
10
|
license = { text = "MIT" }
|
@@ -26,26 +26,26 @@ keywords = [
|
|
26
26
|
]
|
27
27
|
dependencies = [
|
28
28
|
"rich-click >=1.6.0",
|
29
|
-
"txl ==0.3.
|
30
|
-
"txl_cell ==0.3.
|
31
|
-
"txl_console ==0.3.
|
32
|
-
"txl_editors ==0.3.
|
33
|
-
"txl_file_browser ==0.3.
|
34
|
-
"txl_image_viewer ==0.3.
|
35
|
-
"txl_jpterm ==0.3.
|
36
|
-
"txl_kernel ==0.3.
|
37
|
-
"txl_local_contents ==0.3.
|
38
|
-
"txl_local_terminals ==0.3.
|
39
|
-
"txl_local_kernels ==0.3.
|
40
|
-
"txl_notebook_editor ==0.3.
|
41
|
-
"txl_remote_contents ==0.3.
|
42
|
-
"txl_remote_terminals ==0.3.
|
43
|
-
"txl_remote_kernels ==0.3.
|
44
|
-
"txl_text_editor ==0.3.
|
45
|
-
"txl_markdown_viewer ==0.3.
|
46
|
-
"txl_terminal ==0.3.
|
47
|
-
"txl_launcher ==0.3.
|
48
|
-
"txl_widgets ==0.3.
|
29
|
+
"txl ==0.3.2",
|
30
|
+
"txl_cell ==0.3.4",
|
31
|
+
"txl_console ==0.3.4",
|
32
|
+
"txl_editors ==0.3.4",
|
33
|
+
"txl_file_browser ==0.3.4",
|
34
|
+
"txl_image_viewer ==0.3.4",
|
35
|
+
"txl_jpterm ==0.3.4",
|
36
|
+
"txl_kernel ==0.3.4",
|
37
|
+
"txl_local_contents ==0.3.4",
|
38
|
+
"txl_local_terminals ==0.3.4",
|
39
|
+
"txl_local_kernels ==0.3.4",
|
40
|
+
"txl_notebook_editor ==0.3.4",
|
41
|
+
"txl_remote_contents ==0.3.4",
|
42
|
+
"txl_remote_terminals ==0.3.4",
|
43
|
+
"txl_remote_kernels ==0.3.4",
|
44
|
+
"txl_text_editor ==0.3.4",
|
45
|
+
"txl_markdown_viewer ==0.3.4",
|
46
|
+
"txl_terminal ==0.3.4",
|
47
|
+
"txl_launcher ==0.3.4",
|
48
|
+
"txl_widgets ==0.3.4",
|
49
49
|
]
|
50
50
|
|
51
51
|
[project.optional-dependencies]
|
@@ -4,14 +4,14 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "txl"
|
7
|
-
version = "0.3.
|
7
|
+
version = "0.3.2"
|
8
8
|
description = ""
|
9
9
|
readme = "README.md"
|
10
10
|
requires-python = ">=3.10"
|
11
11
|
license = "MIT"
|
12
12
|
keywords = []
|
13
13
|
classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy",]
|
14
|
-
dependencies = [ "fps >=0.
|
14
|
+
dependencies = [ "fps >=0.5.1,<0.6.0", "textual[syntax] >=5.0.1,<6.0.0",]
|
15
15
|
[[project.authors]]
|
16
16
|
name = "David Brochart"
|
17
17
|
email = "david.brochart@gmail.com"
|
@@ -2,9 +2,10 @@ import logging
|
|
2
2
|
from importlib.metadata import entry_points
|
3
3
|
|
4
4
|
import anyio
|
5
|
-
from fps import Module
|
6
|
-
from
|
5
|
+
from fps import Module
|
6
|
+
from fps.cli._cli import main
|
7
7
|
from textual._context import active_app
|
8
|
+
from textual.app import App
|
8
9
|
|
9
10
|
logging.getLogger("httpx").setLevel(logging.CRITICAL)
|
10
11
|
logging.getLogger("httpcore").setLevel(logging.CRITICAL)
|
jpterm-0.3.3/.fileid.db
DELETED
Binary file
|
@@ -1,24 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"cells": [
|
3
|
-
{
|
4
|
-
"cell_type": "code",
|
5
|
-
"execution_count": null,
|
6
|
-
"id": "2fe308b7-5f0e-4a82-a0fe-5a066918ab9a",
|
7
|
-
"metadata": {},
|
8
|
-
"outputs": [],
|
9
|
-
"source": []
|
10
|
-
}
|
11
|
-
],
|
12
|
-
"metadata": {
|
13
|
-
"kernelspec": {
|
14
|
-
"display_name": "Python 3 (ipykernel)",
|
15
|
-
"language": "python",
|
16
|
-
"name": "python3"
|
17
|
-
},
|
18
|
-
"language_info": {
|
19
|
-
"name": ""
|
20
|
-
}
|
21
|
-
},
|
22
|
-
"nbformat": 4,
|
23
|
-
"nbformat_minor": 5
|
24
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"cells": [
|
3
|
-
{
|
4
|
-
"cell_type": "code",
|
5
|
-
"execution_count": null,
|
6
|
-
"id": "e724ffa2-2096-447f-93c7-8838208da5be",
|
7
|
-
"metadata": {},
|
8
|
-
"outputs": [],
|
9
|
-
"source": []
|
10
|
-
}
|
11
|
-
],
|
12
|
-
"metadata": {
|
13
|
-
"kernelspec": {
|
14
|
-
"display_name": "Python 3 (ipykernel)",
|
15
|
-
"language": "python",
|
16
|
-
"name": "python3"
|
17
|
-
},
|
18
|
-
"language_info": {
|
19
|
-
"name": ""
|
20
|
-
}
|
21
|
-
},
|
22
|
-
"nbformat": 4,
|
23
|
-
"nbformat_minor": 5
|
24
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"cells": [
|
3
|
-
{
|
4
|
-
"cell_type": "code",
|
5
|
-
"execution_count": null,
|
6
|
-
"id": "0467ddd2-0352-445b-94f9-1bc159661410",
|
7
|
-
"metadata": {},
|
8
|
-
"outputs": [],
|
9
|
-
"source": []
|
10
|
-
}
|
11
|
-
],
|
12
|
-
"metadata": {
|
13
|
-
"kernelspec": {
|
14
|
-
"display_name": "Python 3 (ipykernel)",
|
15
|
-
"language": "python",
|
16
|
-
"name": "python3"
|
17
|
-
},
|
18
|
-
"language_info": {
|
19
|
-
"name": ""
|
20
|
-
}
|
21
|
-
},
|
22
|
-
"nbformat": 4,
|
23
|
-
"nbformat_minor": 5
|
24
|
-
}
|
jpterm-0.3.3/.jupyter_ystore.db
DELETED
Binary file
|
jpterm-0.3.3/Untitled.ipynb
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"cells": [
|
3
|
-
{
|
4
|
-
"source": "",
|
5
|
-
"id": "6c81a4ce-bbb1-4db6-9d5b-a2536fe8dc54",
|
6
|
-
"outputs": [],
|
7
|
-
"execution_count": null,
|
8
|
-
"metadata": {
|
9
|
-
"trusted": true
|
10
|
-
},
|
11
|
-
"cell_type": "code"
|
12
|
-
}
|
13
|
-
],
|
14
|
-
"metadata": {
|
15
|
-
"kernelspec": {
|
16
|
-
"name": "python3",
|
17
|
-
"display_name": "Python 3 (ipykernel)",
|
18
|
-
"language": "python"
|
19
|
-
},
|
20
|
-
"language_info": {
|
21
|
-
"name": ""
|
22
|
-
}
|
23
|
-
},
|
24
|
-
"nbformat": 4,
|
25
|
-
"nbformat_minor": 5
|
26
|
-
}
|
jpterm-0.3.3/Untitled1.ipynb
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"cells": [
|
3
|
-
{
|
4
|
-
"outputs": [],
|
5
|
-
"cell_type": "code",
|
6
|
-
"execution_count": null,
|
7
|
-
"source": "",
|
8
|
-
"id": "85c83414-de0c-41ea-bb4e-bfdeb41add69",
|
9
|
-
"metadata": {
|
10
|
-
"trusted": true
|
11
|
-
}
|
12
|
-
}
|
13
|
-
],
|
14
|
-
"metadata": {
|
15
|
-
"kernelspec": {
|
16
|
-
"display_name": "Python 3 (ipykernel)",
|
17
|
-
"language": "python",
|
18
|
-
"name": "python3"
|
19
|
-
},
|
20
|
-
"language_info": {
|
21
|
-
"name": ""
|
22
|
-
}
|
23
|
-
},
|
24
|
-
"nbformat": 4,
|
25
|
-
"nbformat_minor": 5
|
26
|
-
}
|
jpterm-0.3.3/Untitled2.ipynb
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"cells": [
|
3
|
-
{
|
4
|
-
"execution_count": null,
|
5
|
-
"metadata": {
|
6
|
-
"trusted": true
|
7
|
-
},
|
8
|
-
"cell_type": "code",
|
9
|
-
"source": "",
|
10
|
-
"id": "62276b81-257b-4955-90f8-debd22f80d9f",
|
11
|
-
"outputs": []
|
12
|
-
}
|
13
|
-
],
|
14
|
-
"metadata": {
|
15
|
-
"language_info": {
|
16
|
-
"name": ""
|
17
|
-
},
|
18
|
-
"kernelspec": {
|
19
|
-
"language": "python",
|
20
|
-
"name": "python3",
|
21
|
-
"display_name": "Python 3 (ipykernel)"
|
22
|
-
}
|
23
|
-
},
|
24
|
-
"nbformat": 4,
|
25
|
-
"nbformat_minor": 5
|
26
|
-
}
|