dialoghelper 0.0.32__py3-none-any.whl → 0.0.33__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 dialoghelper might be problematic. Click here for more details.
- dialoghelper/__init__.py +1 -1
- dialoghelper/_modidx.py +1 -0
- dialoghelper/core.py +16 -1
- {dialoghelper-0.0.32.dist-info → dialoghelper-0.0.33.dist-info}/METADATA +2 -2
- dialoghelper-0.0.33.dist-info/RECORD +12 -0
- dialoghelper-0.0.32.dist-info/RECORD +0 -12
- {dialoghelper-0.0.32.dist-info → dialoghelper-0.0.33.dist-info}/WHEEL +0 -0
- {dialoghelper-0.0.32.dist-info → dialoghelper-0.0.33.dist-info}/entry_points.txt +0 -0
- {dialoghelper-0.0.32.dist-info → dialoghelper-0.0.33.dist-info}/licenses/LICENSE +0 -0
- {dialoghelper-0.0.32.dist-info → dialoghelper-0.0.33.dist-info}/top_level.txt +0 -0
dialoghelper/__init__.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = "0.0.
|
|
1
|
+
__version__ = "0.0.33"
|
|
2
2
|
from .core import *
|
dialoghelper/_modidx.py
CHANGED
|
@@ -14,6 +14,7 @@ d = { 'settings': { 'branch': 'main',
|
|
|
14
14
|
'dialoghelper.core.call_endp': ('core.html#call_endp', 'dialoghelper/core.py'),
|
|
15
15
|
'dialoghelper.core.curr_dialog': ('core.html#curr_dialog', 'dialoghelper/core.py'),
|
|
16
16
|
'dialoghelper.core.del_msg': ('core.html#del_msg', 'dialoghelper/core.py'),
|
|
17
|
+
'dialoghelper.core.fc_tool_info': ('core.html#fc_tool_info', 'dialoghelper/core.py'),
|
|
17
18
|
'dialoghelper.core.find_dname': ('core.html#find_dname', 'dialoghelper/core.py'),
|
|
18
19
|
'dialoghelper.core.find_msg_id': ('core.html#find_msg_id', 'dialoghelper/core.py'),
|
|
19
20
|
'dialoghelper.core.find_msgs': ('core.html#find_msgs', 'dialoghelper/core.py'),
|
dialoghelper/core.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
__all__ = ['Placements', 'empty', 'find_var', 'call_endp', 'find_dname', 'find_msg_id', 'curr_dialog', 'find_msgs', 'msg_idx',
|
|
5
5
|
'read_msg', 'add_html', 'run_msg', 'add_msg', 'del_msg', 'update_msg', 'url2note', 'ast_py', 'ast_grep',
|
|
6
6
|
'load_gist', 'gist_file', 'import_string', 'is_usable_tool', 'mk_toollist', 'import_gist', 'tool_info',
|
|
7
|
-
'asdict']
|
|
7
|
+
'fc_tool_info', 'asdict']
|
|
8
8
|
|
|
9
9
|
# %% ../nbs/00_core.ipynb
|
|
10
10
|
import json, importlib, linecache
|
|
@@ -303,3 +303,18 @@ def tool_info():
|
|
|
303
303
|
- &`update_msg`: Update an existing message.
|
|
304
304
|
- &`url2note`: Read URL as markdown, and add a note below current message with the result'''
|
|
305
305
|
add_msg(cts)
|
|
306
|
+
|
|
307
|
+
# %% ../nbs/00_core.ipynb
|
|
308
|
+
def fc_tool_info():
|
|
309
|
+
cts='''Tools available from `fastcore.tools`:
|
|
310
|
+
|
|
311
|
+
- &`rg`: Run the `rg` command with the args in `argstr` (no need to backslash escape)
|
|
312
|
+
- &`sed`: Run the `sed` command with the args in `argstr` (e.g for reading a section of a file)
|
|
313
|
+
- &`view`: View directory or file contents with optional line range and numbers
|
|
314
|
+
- &`create`: Creates a new file with the given content at the specified path
|
|
315
|
+
- &`insert`: Insert new_str at specified line number
|
|
316
|
+
- &`str_replace`: Replace first occurrence of old_str with new_str in file
|
|
317
|
+
- &`strs_replace`: Replace for each str pair in old_strs,new_strs
|
|
318
|
+
- &`replace_lines`: Replace lines in file using start and end line-numbers'''
|
|
319
|
+
add_msg(cts)
|
|
320
|
+
add_msg('from fastcore.tools import *', msg_type='code')
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dialoghelper
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.33
|
|
4
4
|
Summary: Helper functions for solveit dialogs
|
|
5
5
|
Home-page: https://github.com/AnswerDotAI/dialoghelper
|
|
6
6
|
Author: Jeremy Howard
|
|
@@ -18,7 +18,7 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
18
18
|
Requires-Python: >=3.9
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
|
-
Requires-Dist: fastcore>=1.8.
|
|
21
|
+
Requires-Dist: fastcore>=1.8.11
|
|
22
22
|
Requires-Dist: fastlite
|
|
23
23
|
Requires-Dist: ghapi
|
|
24
24
|
Requires-Dist: ipykernel-helper
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
dialoghelper/__init__.py,sha256=hb3QkuzzeDBtWeoccQJHTetbPiM-iYBqNDlVXlBRL58,43
|
|
2
|
+
dialoghelper/_modidx.py,sha256=eTbxI20Yc34F1iYVMWScgfT2dHd3QeGr6WyyIAB-LKY,4729
|
|
3
|
+
dialoghelper/core.py,sha256=O3hp7LttumSifEN4y4M6l2JtYE5rpj52pmQP8gTCxSM,14453
|
|
4
|
+
dialoghelper/db_dc.py,sha256=mi2Q2am_SoAPGpNQg7KPFS5pR9WEapRXT8ypkNmMfw0,2330
|
|
5
|
+
dialoghelper/experimental.py,sha256=yTXzyY37MPW-9mqzbem-q6CCPXElN0GwAyOK-iJofMY,3910
|
|
6
|
+
dialoghelper/screenshot.js,sha256=DDqlRhemwj8I0AloxMJBnBqDDIqu5knlT1lpG_0rphI,4851
|
|
7
|
+
dialoghelper-0.0.33.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
8
|
+
dialoghelper-0.0.33.dist-info/METADATA,sha256=dySWRDWlh-7cuTBS20SmtJYJjoeDz8sRDLI7T9c_1gA,2693
|
|
9
|
+
dialoghelper-0.0.33.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
10
|
+
dialoghelper-0.0.33.dist-info/entry_points.txt,sha256=wvDeX-XTS_XVjWiiPQe6yVfmyNwy9eCr36ewp9baFIg,46
|
|
11
|
+
dialoghelper-0.0.33.dist-info/top_level.txt,sha256=VXLlkgltFs_q-XB9imt2G64I_-MPm1RnxlpvUWPuLKM,13
|
|
12
|
+
dialoghelper-0.0.33.dist-info/RECORD,,
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
dialoghelper/__init__.py,sha256=xCO6wIOmUkstMqdlaHvUJ0lO8rN3Pp5NRbeq65mLndE,43
|
|
2
|
-
dialoghelper/_modidx.py,sha256=uC3rfgmEe6SwBeLiFhlxx_F-v9TxiPDTpx-QZX9m_V0,4608
|
|
3
|
-
dialoghelper/core.py,sha256=UTan-A1j8bkRTg9ojvE4P5LPvapV1a3QChF8PVbjObw,13650
|
|
4
|
-
dialoghelper/db_dc.py,sha256=mi2Q2am_SoAPGpNQg7KPFS5pR9WEapRXT8ypkNmMfw0,2330
|
|
5
|
-
dialoghelper/experimental.py,sha256=yTXzyY37MPW-9mqzbem-q6CCPXElN0GwAyOK-iJofMY,3910
|
|
6
|
-
dialoghelper/screenshot.js,sha256=DDqlRhemwj8I0AloxMJBnBqDDIqu5knlT1lpG_0rphI,4851
|
|
7
|
-
dialoghelper-0.0.32.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
8
|
-
dialoghelper-0.0.32.dist-info/METADATA,sha256=R5fK2Xh4GLnxoIGlXFrpPtSX_67W8B0v6qtG-wD0t2Q,2692
|
|
9
|
-
dialoghelper-0.0.32.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
10
|
-
dialoghelper-0.0.32.dist-info/entry_points.txt,sha256=wvDeX-XTS_XVjWiiPQe6yVfmyNwy9eCr36ewp9baFIg,46
|
|
11
|
-
dialoghelper-0.0.32.dist-info/top_level.txt,sha256=VXLlkgltFs_q-XB9imt2G64I_-MPm1RnxlpvUWPuLKM,13
|
|
12
|
-
dialoghelper-0.0.32.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|