execnb 0.1.7__tar.gz → 0.1.8__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.
- {execnb-0.1.7/execnb.egg-info → execnb-0.1.8}/PKG-INFO +2 -2
- execnb-0.1.8/execnb/__init__.py +1 -0
- {execnb-0.1.7 → execnb-0.1.8}/execnb/shell.py +3 -1
- {execnb-0.1.7 → execnb-0.1.8/execnb.egg-info}/PKG-INFO +2 -2
- {execnb-0.1.7 → execnb-0.1.8}/settings.ini +3 -3
- execnb-0.1.7/execnb/__init__.py +0 -1
- {execnb-0.1.7 → execnb-0.1.8}/LICENSE +0 -0
- {execnb-0.1.7 → execnb-0.1.8}/MANIFEST.in +0 -0
- {execnb-0.1.7 → execnb-0.1.8}/README.md +0 -0
- {execnb-0.1.7 → execnb-0.1.8}/execnb/_modidx.py +0 -0
- {execnb-0.1.7 → execnb-0.1.8}/execnb/nbio.py +0 -0
- {execnb-0.1.7 → execnb-0.1.8}/execnb.egg-info/SOURCES.txt +0 -0
- {execnb-0.1.7 → execnb-0.1.8}/execnb.egg-info/dependency_links.txt +0 -0
- {execnb-0.1.7 → execnb-0.1.8}/execnb.egg-info/entry_points.txt +0 -0
- {execnb-0.1.7 → execnb-0.1.8}/execnb.egg-info/not-zip-safe +0 -0
- {execnb-0.1.7 → execnb-0.1.8}/execnb.egg-info/requires.txt +1 -1
- {execnb-0.1.7 → execnb-0.1.8}/execnb.egg-info/top_level.txt +0 -0
- {execnb-0.1.7 → execnb-0.1.8}/pyproject.toml +0 -0
- {execnb-0.1.7 → execnb-0.1.8}/setup.cfg +0 -0
- {execnb-0.1.7 → execnb-0.1.8}/setup.py +0 -0
@@ -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 @@
|
|
1
|
+
__version__ = "0.1.8"
|
@@ -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
|
|
@@ -9,10 +9,10 @@ user = fastai
|
|
9
9
|
author = Jeremy Howard
|
10
10
|
author_email = j@fast.ai
|
11
11
|
branch = master
|
12
|
-
version = 0.1.
|
12
|
+
version = 0.1.8
|
13
13
|
min_python = 3.7
|
14
|
-
requirements = fastcore>=1.5.5 ipython
|
15
|
-
dev_requirements = matplotlib Pillow
|
14
|
+
requirements = fastcore>=1.5.5 ipython
|
15
|
+
dev_requirements = matplotlib Pillow mistletoe
|
16
16
|
console_scripts = exec_nb=execnb.shell:exec_nb
|
17
17
|
audience = Developers
|
18
18
|
language = English
|
execnb-0.1.7/execnb/__init__.py
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.1.7"
|
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
|