ipykernel-helper 0.0.6__py3-none-any.whl → 0.0.7__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.
Potentially problematic release.
This version of ipykernel-helper might be problematic. Click here for more details.
- ipykernel_helper/__init__.py +1 -1
- ipykernel_helper/_modidx.py +1 -0
- ipykernel_helper/core.py +8 -2
- {ipykernel_helper-0.0.6.dist-info → ipykernel_helper-0.0.7.dist-info}/METADATA +1 -1
- ipykernel_helper-0.0.7.dist-info/RECORD +9 -0
- {ipykernel_helper-0.0.6.dist-info → ipykernel_helper-0.0.7.dist-info}/WHEEL +1 -1
- ipykernel_helper-0.0.6.dist-info/RECORD +0 -9
- {ipykernel_helper-0.0.6.dist-info → ipykernel_helper-0.0.7.dist-info}/entry_points.txt +0 -0
- {ipykernel_helper-0.0.6.dist-info → ipykernel_helper-0.0.7.dist-info}/licenses/LICENSE +0 -0
- {ipykernel_helper-0.0.6.dist-info → ipykernel_helper-0.0.7.dist-info}/top_level.txt +0 -0
ipykernel_helper/__init__.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = "0.0.
|
|
1
|
+
__version__ = "0.0.7"
|
|
2
2
|
from .core import *
|
ipykernel_helper/_modidx.py
CHANGED
|
@@ -25,5 +25,6 @@ d = { 'settings': { 'branch': 'main',
|
|
|
25
25
|
'ipykernel_helper.core._signatures': ('core.html#_signatures', 'ipykernel_helper/core.py'),
|
|
26
26
|
'ipykernel_helper.core.load_ipython_extension': ( 'core.html#load_ipython_extension',
|
|
27
27
|
'ipykernel_helper/core.py'),
|
|
28
|
+
'ipykernel_helper.core.read_url': ('core.html#read_url', 'ipykernel_helper/core.py'),
|
|
28
29
|
'ipykernel_helper.core.run_cmd': ('core.html#run_cmd', 'ipykernel_helper/core.py'),
|
|
29
30
|
'ipykernel_helper.core.transient': ('core.html#transient', 'ipykernel_helper/core.py')}}}
|
ipykernel_helper/core.py
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/00_core.ipynb.
|
|
4
4
|
|
|
5
5
|
# %% auto 0
|
|
6
|
-
__all__ = ['transient', 'run_cmd', 'load_ipython_extension']
|
|
6
|
+
__all__ = ['transient', 'run_cmd', 'read_url', 'load_ipython_extension']
|
|
7
7
|
|
|
8
8
|
# %% ../nbs/00_core.ipynb
|
|
9
9
|
from fastcore.meta import delegates
|
|
@@ -138,8 +138,14 @@ def transient(data='', subtype='plain', mimetype='text', meta=None, update=False
|
|
|
138
138
|
def run_cmd(cmd, data='', meta=None, update=False, **kw):
|
|
139
139
|
transient(data, meta=meta, update=update, cmd=cmd, **kw)
|
|
140
140
|
|
|
141
|
+
# %% ../nbs/00_core.ipynb
|
|
142
|
+
def read_url(url:str):
|
|
143
|
+
"Read URL and return contents"
|
|
144
|
+
import httpx
|
|
145
|
+
return httpx.get(url, follow_redirects=True).raise_for_status().text
|
|
146
|
+
|
|
141
147
|
# %% ../nbs/00_core.ipynb
|
|
142
148
|
def load_ipython_extension(ip):
|
|
143
149
|
from ipykernel_helper import transient,run_cmd
|
|
144
150
|
ns = ip.user_ns
|
|
145
|
-
ns['transient'],ns['run_cmd'] = transient,run_cmd
|
|
151
|
+
ns['read_url'],ns['transient'],ns['run_cmd'] = read_url,transient,run_cmd
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
ipykernel_helper/__init__.py,sha256=cBGyHvib2OPGtNoyRG91A9JaJUiuPOiM2YX9VdZUQ64,42
|
|
2
|
+
ipykernel_helper/_modidx.py,sha256=lQXK2a0JRa5HT5pHMaCEvN2fPlErCyHzg-m_I5vici0,3222
|
|
3
|
+
ipykernel_helper/core.py,sha256=Y1qTzHK1ogdCtXUA_QU44oQ0sRc3-VS0F1ZPYG_aOTk,5780
|
|
4
|
+
ipykernel_helper-0.0.7.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
5
|
+
ipykernel_helper-0.0.7.dist-info/METADATA,sha256=n5X5ZcorROAEuOFtE7CcY83YNnf-sZRIjtujWkRYTxE,2630
|
|
6
|
+
ipykernel_helper-0.0.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
7
|
+
ipykernel_helper-0.0.7.dist-info/entry_points.txt,sha256=HWiK9xz75QtZUaPaYrwpyH5B8MbW0Ea_vi11UmwBImM,54
|
|
8
|
+
ipykernel_helper-0.0.7.dist-info/top_level.txt,sha256=_diD--64d9MauLE0pTxzZ58lkI8DvCrVc1hVAJsyc_Q,17
|
|
9
|
+
ipykernel_helper-0.0.7.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
ipykernel_helper/__init__.py,sha256=9Q5JuuWmgGrRwAda3XeO4eeWzPJvwvosjGht09VoRY4,42
|
|
2
|
-
ipykernel_helper/_modidx.py,sha256=tboR5OfvcHFQxhFluKfdwRTl0cLSgM2fCtqEug7935g,3097
|
|
3
|
-
ipykernel_helper/core.py,sha256=6RQV-ndlKnBRoXDSahNp4hJ8SLfHQVqIGPdTRo5fe0k,5569
|
|
4
|
-
ipykernel_helper-0.0.6.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
5
|
-
ipykernel_helper-0.0.6.dist-info/METADATA,sha256=8ttg_NEuIdhnxJZ9YYEqkH0S0gC__NOprO5XbJAwiAw,2630
|
|
6
|
-
ipykernel_helper-0.0.6.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
|
|
7
|
-
ipykernel_helper-0.0.6.dist-info/entry_points.txt,sha256=HWiK9xz75QtZUaPaYrwpyH5B8MbW0Ea_vi11UmwBImM,54
|
|
8
|
-
ipykernel_helper-0.0.6.dist-info/top_level.txt,sha256=_diD--64d9MauLE0pTxzZ58lkI8DvCrVc1hVAJsyc_Q,17
|
|
9
|
-
ipykernel_helper-0.0.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|