execnb 0.1.7__py3-none-any.whl → 0.1.8__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.
- execnb/__init__.py +1 -1
- execnb/shell.py +3 -1
- {execnb-0.1.7.dist-info → execnb-0.1.8.dist-info}/METADATA +2 -2
- execnb-0.1.8.dist-info/RECORD +10 -0
- execnb-0.1.7.dist-info/RECORD +0 -10
- {execnb-0.1.7.dist-info → execnb-0.1.8.dist-info}/LICENSE +0 -0
- {execnb-0.1.7.dist-info → execnb-0.1.8.dist-info}/WHEEL +0 -0
- {execnb-0.1.7.dist-info → execnb-0.1.8.dist-info}/entry_points.txt +0 -0
- {execnb-0.1.7.dist-info → execnb-0.1.8.dist-info}/top_level.txt +0 -0
execnb/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.1.
|
1
|
+
__version__ = "0.1.8"
|
execnb/shell.py
CHANGED
@@ -9,7 +9,7 @@ from fastcore.utils import *
|
|
9
9
|
from fastcore.script import call_parse
|
10
10
|
from fastcore.ansi import ansi2html
|
11
11
|
|
12
|
-
import
|
12
|
+
import multiprocessing,types,traceback,signal
|
13
13
|
try:
|
14
14
|
if sys.platform == 'darwin': multiprocessing.set_start_method("fork")
|
15
15
|
except RuntimeError: pass # if re-running cell
|
@@ -138,6 +138,8 @@ def run(self:CaptureShell,
|
|
138
138
|
|
139
139
|
# %% ../nbs/02_shell.ipynb
|
140
140
|
def render_outputs(outputs, ansi_renderer=strip_ansi):
|
141
|
+
try: import mistletoe
|
142
|
+
except ImportError: return print('mistletoe not found -- please install it')
|
141
143
|
def render_output(out):
|
142
144
|
otype = out['output_type']
|
143
145
|
if otype == 'stream':
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: execnb
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.8
|
4
4
|
Summary: A description of your project
|
5
5
|
Home-page: https://github.com/fastai/execnb/
|
6
6
|
Author: Jeremy Howard
|
@@ -18,10 +18,10 @@ Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
19
19
|
Requires-Dist: fastcore >=1.5.5
|
20
20
|
Requires-Dist: ipython
|
21
|
-
Requires-Dist: mistletoe
|
22
21
|
Provides-Extra: dev
|
23
22
|
Requires-Dist: matplotlib ; extra == 'dev'
|
24
23
|
Requires-Dist: Pillow ; extra == 'dev'
|
24
|
+
Requires-Dist: mistletoe ; extra == 'dev'
|
25
25
|
|
26
26
|
# execnb
|
27
27
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
execnb/__init__.py,sha256=C69ADlbQREQlR15trneyA2sk8x0-oH4rDAX5fsv19_U,22
|
2
|
+
execnb/_modidx.py,sha256=3wJwFT95tiaCPmj7VMQEIim5qLTcOatC2od-ze5WJcc,5771
|
3
|
+
execnb/nbio.py,sha256=gs3EGN0sP2j47XUH31rTn2KT57b3wWnBZsn9AoZm2JQ,3677
|
4
|
+
execnb/shell.py,sha256=qpCkd1FZsGXyOWjOrfAluGbk7h4D7a3SnCwbyRz0L9s,12055
|
5
|
+
execnb-0.1.8.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
6
|
+
execnb-0.1.8.dist-info/METADATA,sha256=i3gK5I8cEbHu-pXhkuJy1od601HKmloMhpk40AsYrWw,3292
|
7
|
+
execnb-0.1.8.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
8
|
+
execnb-0.1.8.dist-info/entry_points.txt,sha256=jZ8LPZCqnu4hXN_AgQpm05hVnTE-C25YK_4aiVX4i78,84
|
9
|
+
execnb-0.1.8.dist-info/top_level.txt,sha256=VGWmzsw8FOlT1r5TdOxaTWIAyRdclcxNdJ2r1hojf5U,7
|
10
|
+
execnb-0.1.8.dist-info/RECORD,,
|
execnb-0.1.7.dist-info/RECORD
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
execnb/__init__.py,sha256=YpKDcdV7CqL8n45u267wKtyloM13FSVbOdrqgNZnSLM,22
|
2
|
-
execnb/_modidx.py,sha256=3wJwFT95tiaCPmj7VMQEIim5qLTcOatC2od-ze5WJcc,5771
|
3
|
-
execnb/nbio.py,sha256=gs3EGN0sP2j47XUH31rTn2KT57b3wWnBZsn9AoZm2JQ,3677
|
4
|
-
execnb/shell.py,sha256=4wuuyphJ0M0NCvjQ2RbJlstDHUXFmnWNJExRdveiLew,11958
|
5
|
-
execnb-0.1.7.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
6
|
-
execnb-0.1.7.dist-info/METADATA,sha256=BqAfeem0tFfd_BxveYlY1_kxWuW35KGZc4AHAaSOSSw,3275
|
7
|
-
execnb-0.1.7.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
8
|
-
execnb-0.1.7.dist-info/entry_points.txt,sha256=jZ8LPZCqnu4hXN_AgQpm05hVnTE-C25YK_4aiVX4i78,84
|
9
|
-
execnb-0.1.7.dist-info/top_level.txt,sha256=VGWmzsw8FOlT1r5TdOxaTWIAyRdclcxNdJ2r1hojf5U,7
|
10
|
-
execnb-0.1.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|