dialoghelper 0.0.32__tar.gz → 0.0.33__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.

Potentially problematic release.


This version of dialoghelper might be problematic. Click here for more details.

Files changed (22) hide show
  1. {dialoghelper-0.0.32/dialoghelper.egg-info → dialoghelper-0.0.33}/PKG-INFO +2 -2
  2. dialoghelper-0.0.33/dialoghelper/__init__.py +2 -0
  3. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/dialoghelper/_modidx.py +1 -0
  4. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/dialoghelper/core.py +16 -1
  5. {dialoghelper-0.0.32 → dialoghelper-0.0.33/dialoghelper.egg-info}/PKG-INFO +2 -2
  6. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/dialoghelper.egg-info/requires.txt +1 -1
  7. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/settings.ini +2 -2
  8. dialoghelper-0.0.32/dialoghelper/__init__.py +0 -2
  9. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/LICENSE +0 -0
  10. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/MANIFEST.in +0 -0
  11. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/README.md +0 -0
  12. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/dialoghelper/db_dc.py +0 -0
  13. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/dialoghelper/experimental.py +0 -0
  14. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/dialoghelper/screenshot.js +0 -0
  15. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/dialoghelper.egg-info/SOURCES.txt +0 -0
  16. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/dialoghelper.egg-info/dependency_links.txt +0 -0
  17. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/dialoghelper.egg-info/entry_points.txt +0 -0
  18. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/dialoghelper.egg-info/not-zip-safe +0 -0
  19. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/dialoghelper.egg-info/top_level.txt +0 -0
  20. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/pyproject.toml +0 -0
  21. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/setup.cfg +0 -0
  22. {dialoghelper-0.0.32 → dialoghelper-0.0.33}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dialoghelper
3
- Version: 0.0.32
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.5
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,2 @@
1
+ __version__ = "0.0.33"
2
+ from .core import *
@@ -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'),
@@ -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.32
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.5
21
+ Requires-Dist: fastcore>=1.8.11
22
22
  Requires-Dist: fastlite
23
23
  Requires-Dist: ghapi
24
24
  Requires-Dist: ipykernel-helper
@@ -1,4 +1,4 @@
1
- fastcore>=1.8.5
1
+ fastcore>=1.8.11
2
2
  fastlite
3
3
  ghapi
4
4
  ipykernel-helper
@@ -1,11 +1,11 @@
1
1
  [DEFAULT]
2
2
  repo = dialoghelper
3
3
  lib_name = dialoghelper
4
- version = 0.0.32
4
+ version = 0.0.33
5
5
  min_python = 3.9
6
6
  license = apache2
7
7
  black_formatting = False
8
- requirements = fastcore>=1.8.5 fastlite ghapi ipykernel-helper claudette ast-grep-cli ast-grep-py
8
+ requirements = fastcore>=1.8.11 fastlite ghapi ipykernel-helper claudette ast-grep-cli ast-grep-py
9
9
  dev_requirements = python-fasthtml
10
10
  doc_path = _docs
11
11
  lib_path = dialoghelper
@@ -1,2 +0,0 @@
1
- __version__ = "0.0.32"
2
- from .core import *
File without changes
File without changes
File without changes
File without changes
File without changes