ipykernel-helper 0.0.35__tar.gz → 0.0.36__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ipykernel-helper
3
- Version: 0.0.35
3
+ Version: 0.0.36
4
4
  Summary: Helpers for ipykernel and friends
5
5
  Author-email: Jeremy Howard <info@fast.ai>
6
6
  License: Apache-2.0
@@ -0,0 +1,2 @@
1
+ __version__ = "0.0.36"
2
+ from .core import *
@@ -12,7 +12,7 @@ from fastcore.meta import delegates
12
12
  from fastcore.utils import patch,dict2obj
13
13
  from fastcore.docments import sig_source,DocmentText
14
14
  from fastcore.net import HTTP404NotFoundError
15
- from fastcore.xtras import truncstr
15
+ from fastcore.xtras import truncstr,maybe_await
16
16
  from types import ModuleType, FunctionType, MethodType, BuiltinFunctionType
17
17
  from inspect import signature, currentframe
18
18
  from functools import cmp_to_key,partial
@@ -337,8 +337,6 @@ def _await_cell_magic(lines):
337
337
  return lines
338
338
 
339
339
  def load_ipython_extension(ip):
340
- from ipykernel_helper import transient,run_cmd
341
-
342
340
  ns = ip.user_ns
343
- ns['read_gh_repo'], ns['read_url'],ns['transient'],ns['run_cmd'] = read_gh_repo,read_url,transient,run_cmd
341
+ for o in ('read_gh_repo','read_url','transient','run_cmd','maybe_await'): ns[o] = globals()[o]
344
342
  ip.input_transformer_manager.line_transforms.append(_await_cell_magic)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ipykernel-helper
3
- Version: 0.0.35
3
+ Version: 0.0.36
4
4
  Summary: Helpers for ipykernel and friends
5
5
  Author-email: Jeremy Howard <info@fast.ai>
6
6
  License: Apache-2.0
@@ -1,2 +0,0 @@
1
- __version__ = "0.0.35"
2
- from .core import *