jpterm 0.2.20__py3-none-any.whl → 0.3.0__py3-none-any.whl

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/cli.py CHANGED
@@ -18,15 +18,21 @@ def jpterm_main(kwargs):
18
18
  collaborative = kwargs.pop("collaborative")
19
19
  experimental = kwargs.pop("experimental")
20
20
  set_ = list(kwargs["set_"])
21
- set_.append("logging.version=1") # disable logging
22
21
  if server:
23
- set_.append(f"component.components.remote_contents.url={server}")
24
- set_.append(f"component.components.remote_terminals.url={server}")
25
- set_.append(f"component.components.remote_kernels.url={server}")
26
- set_.append(f"component.components.remote_kernelspecs.url={server}")
27
- set_.append(f"component.components.remote_contents.collaborative={collaborative}")
28
- set_.append(f"component.components.notebook_editor.experimental={experimental}")
29
- disabled.extend(["local_contents", "local_terminals", "local_kernels", "local_kernelspecs"])
22
+ set_.append(f"remote_contents.url={server}")
23
+ set_.append(f"remote_terminals.url={server}")
24
+ set_.append(f"remote_kernels.url={server}")
25
+ set_.append(f"remote_kernelspecs.url={server}")
26
+ set_.append(f"remote_contents.collaborative={collaborative}")
27
+ set_.append(f"notebook_editor.experimental={experimental}")
28
+ disabled.extend(
29
+ [
30
+ "local_contents",
31
+ "local_terminals",
32
+ "local_kernels",
33
+ "local_kernelspecs",
34
+ ]
35
+ )
30
36
  else:
31
37
  disabled.extend(
32
38
  [
@@ -45,6 +51,7 @@ def main():
45
51
  decorators = [
46
52
  click.option("--logo", is_flag=True, default=False, help="Show the jpterm logo."),
47
53
  click.option("--server", default="", help="The URL to the Jupyter server."),
54
+ click.option("--backend", default="asyncio", help="The name of the event loop to use (asyncio or trio)."),
48
55
  click.option(
49
56
  "--collaborative/--no-collaborative",
50
57
  default=False,
@@ -1,10 +1,11 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: jpterm
3
- Version: 0.2.20
3
+ Version: 0.3.0
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>
7
7
  License: MIT
8
+ License-File: LICENSE
8
9
  Keywords: jupyter,textual
9
10
  Classifier: Development Status :: 4 - Beta
10
11
  Classifier: Programming Language :: Python
@@ -16,26 +17,26 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
16
17
  Classifier: Programming Language :: Python :: Implementation :: PyPy
17
18
  Requires-Python: >=3.10
18
19
  Requires-Dist: rich-click>=1.6.0
19
- Requires-Dist: txl-cell==0.2.15
20
- Requires-Dist: txl-console==0.2.17
21
- Requires-Dist: txl-editors==0.2.14
22
- Requires-Dist: txl-file-browser==0.2.14
23
- Requires-Dist: txl-image-viewer==0.2.14
24
- Requires-Dist: txl-jpterm==0.2.15
25
- Requires-Dist: txl-kernel==0.2.15
26
- Requires-Dist: txl-launcher==0.2.14
27
- Requires-Dist: txl-local-contents==0.2.15
28
- Requires-Dist: txl-local-kernels==0.2.14
29
- Requires-Dist: txl-local-terminals==0.2.14
30
- Requires-Dist: txl-markdown-viewer==0.2.14
31
- Requires-Dist: txl-notebook-editor==0.2.15
32
- Requires-Dist: txl-remote-contents==0.2.15
33
- Requires-Dist: txl-remote-kernels==0.2.15
34
- Requires-Dist: txl-remote-terminals==0.2.14
35
- Requires-Dist: txl-terminal==0.2.14
36
- Requires-Dist: txl-text-editor==0.2.14
37
- Requires-Dist: txl-widgets==0.2.16
38
- Requires-Dist: txl==0.2.20
20
+ Requires-Dist: txl-cell==0.3.0
21
+ Requires-Dist: txl-console==0.3.0
22
+ Requires-Dist: txl-editors==0.3.0
23
+ Requires-Dist: txl-file-browser==0.3.0
24
+ Requires-Dist: txl-image-viewer==0.3.0
25
+ Requires-Dist: txl-jpterm==0.3.0
26
+ Requires-Dist: txl-kernel==0.3.0
27
+ Requires-Dist: txl-launcher==0.3.0
28
+ Requires-Dist: txl-local-contents==0.3.0
29
+ Requires-Dist: txl-local-kernels==0.3.0
30
+ Requires-Dist: txl-local-terminals==0.3.0
31
+ Requires-Dist: txl-markdown-viewer==0.3.0
32
+ Requires-Dist: txl-notebook-editor==0.3.0
33
+ Requires-Dist: txl-remote-contents==0.3.0
34
+ Requires-Dist: txl-remote-kernels==0.3.0
35
+ Requires-Dist: txl-remote-terminals==0.3.0
36
+ Requires-Dist: txl-terminal==0.3.0
37
+ Requires-Dist: txl-text-editor==0.3.0
38
+ Requires-Dist: txl-widgets==0.3.0
39
+ Requires-Dist: txl==0.3.0
39
40
  Provides-Extra: docs
40
41
  Requires-Dist: mkdocs; extra == 'docs'
41
42
  Requires-Dist: mkdocs-material; extra == 'docs'
@@ -0,0 +1,7 @@
1
+ jpterm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ jpterm/cli.py,sha256=YnFm0G0hgtNWZBSRx86JRKQjmKq-XjtxwfCqeuaUuoE,2234
3
+ jpterm-0.3.0.dist-info/METADATA,sha256=nDipoZQZ2ucPHVboqnXsc1vWhD3fn-UnDct8WyxrEKY,2686
4
+ jpterm-0.3.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
+ jpterm-0.3.0.dist-info/entry_points.txt,sha256=VYZ9SJadJyoE9h1HXD8hodhV1su_rwxksYK_jKUAkSs,43
6
+ jpterm-0.3.0.dist-info/licenses/LICENSE,sha256=JJ42vFiQqVKW-yrJgx3HG6OqOEeQxRRkYde6rZkMm6U,1071
7
+ jpterm-0.3.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.26.3
2
+ Generator: hatchling 1.27.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,7 +0,0 @@
1
- jpterm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- jpterm/cli.py,sha256=GgVCRwW1iuPgK4nhZ4oIrgrkjZxPyn31sgzghCRup2E,2200
3
- jpterm-0.2.20.dist-info/METADATA,sha256=wVDSkUiIbUwyFi1XYSWsrkNbanIVZli9sPrbFkYSepQ,2685
4
- jpterm-0.2.20.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
5
- jpterm-0.2.20.dist-info/entry_points.txt,sha256=VYZ9SJadJyoE9h1HXD8hodhV1su_rwxksYK_jKUAkSs,43
6
- jpterm-0.2.20.dist-info/licenses/LICENSE,sha256=JJ42vFiQqVKW-yrJgx3HG6OqOEeQxRRkYde6rZkMm6U,1071
7
- jpterm-0.2.20.dist-info/RECORD,,