omdev 0.0.0.dev279__py3-none-any.whl → 0.0.0.dev280__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.
omdev/__about__.py CHANGED
@@ -24,7 +24,8 @@ class Project(ProjectBase):
24
24
  'doc': [
25
25
  'docutils ~= 0.21',
26
26
 
27
- 'markdown ~= 3.7',
27
+ 'markdown-it-py ~= 3.7',
28
+ # 'mdit-py-plugins ~= 0.4',
28
29
  ],
29
30
 
30
31
  'mypy': [
omdev/cc/cdeps.toml CHANGED
@@ -3,7 +3,7 @@ include = ['.']
3
3
 
4
4
  [deps.httplib.git]
5
5
  url = 'https://github.com/yhirose/cpp-httplib'
6
- rev = 'a7bc00e3307fecdb4d67545e93be7b88cfb1e186'
6
+ rev = '787a34ad7f01f20922a237d5142aae469828be72' # Release v0.20.0
7
7
  subtrees = ['httplib.h']
8
8
 
9
9
  [deps.httplib.cmake.fetch_content.git]
@@ -18,7 +18,7 @@ include = ['single_include']
18
18
 
19
19
  [deps.json.git]
20
20
  url = 'https://github.com/nlohmann/json'
21
- rev = '9cca280a4d0ccf0c08f47a99aa71d1b0e52f8d03'
21
+ rev = '9cca280a4d0ccf0c08f47a99aa71d1b0e52f8d03' # Version 3.11.3
22
22
  subtrees = ['single_include']
23
23
 
24
24
  [deps.json.cmake.fetch_content]
@@ -32,7 +32,7 @@ include = ['include']
32
32
 
33
33
  [deps.pybind11.git]
34
34
  url = 'https://github.com/pybind/pybind11'
35
- rev = '945e251a6ce7273058b36214d94415e9c9530b8e'
35
+ rev = 'b70b8eb332fadf55d7e22b492da0e954c1a4fcb7'
36
36
  subtrees = ['include']
37
37
 
38
38
 
@@ -43,5 +43,5 @@ include = ['include']
43
43
 
44
44
  [deps.ut.git]
45
45
  url = 'https://github.com/boost-ext/ut'
46
- rev = 'f83e15c7f1edb49b4ec20f866eec06940d18a47d'
46
+ rev = 'f923e6fe4b7542d75e0c4ee54ad0af6a5382a87c' # v2.3.1
47
47
  subtrees = ['include']
omdev/ptk/__init__.py CHANGED
@@ -3,6 +3,7 @@
3
3
 
4
4
  from prompt_toolkit import Application
5
5
  from prompt_toolkit.application import get_app
6
+ from prompt_toolkit.application import get_app_session
6
7
  from prompt_toolkit.application import run_in_terminal
7
8
  from prompt_toolkit.buffer import Buffer
8
9
  from prompt_toolkit.completion import CompleteEvent
@@ -12,6 +13,7 @@ from prompt_toolkit.completion import PathCompleter
12
13
  from prompt_toolkit.completion import WordCompleter
13
14
  from prompt_toolkit.document import Document
14
15
  from prompt_toolkit.enums import EditingMode
16
+ from prompt_toolkit.eventloop.utils import call_soon_threadsafe
15
17
  from prompt_toolkit.filters import Condition
16
18
  from prompt_toolkit.filters import has_arg
17
19
  from prompt_toolkit.filters import has_focus
@@ -19,9 +21,16 @@ from prompt_toolkit.filters import is_searching
19
21
  from prompt_toolkit.filters import to_filter
20
22
  from prompt_toolkit.filters import vi_insert_mode
21
23
  from prompt_toolkit.filters import vi_navigation_mode
24
+ from prompt_toolkit.formatted_text import HTML
22
25
  from prompt_toolkit.formatted_text import AnyFormattedText
23
26
  from prompt_toolkit.formatted_text import FormattedText
27
+ from prompt_toolkit.formatted_text import OneStyleAndTextTuple
24
28
  from prompt_toolkit.formatted_text import StyleAndTextTuples
29
+ from prompt_toolkit.formatted_text import fragment_list_to_text
30
+ from prompt_toolkit.formatted_text import fragment_list_width
31
+ from prompt_toolkit.formatted_text import split_lines
32
+ from prompt_toolkit.formatted_text import to_formatted_text
33
+ from prompt_toolkit.formatted_text import to_plain_text
25
34
  from prompt_toolkit.history import FileHistory
26
35
  from prompt_toolkit.input import DummyInput
27
36
  from prompt_toolkit.input import Input
@@ -31,6 +40,7 @@ from prompt_toolkit.key_binding import KeyPress
31
40
  from prompt_toolkit.key_binding import KeyPressEvent
32
41
  from prompt_toolkit.key_binding import vi_state
33
42
  from prompt_toolkit.keys import Keys
43
+ from prompt_toolkit.layout import Container
34
44
  from prompt_toolkit.layout.containers import ColorColumn
35
45
  from prompt_toolkit.layout.containers import ConditionalContainer
36
46
  from prompt_toolkit.layout.containers import Float
@@ -68,11 +78,13 @@ from prompt_toolkit.output import DummyOutput
68
78
  from prompt_toolkit.output import Output
69
79
  from prompt_toolkit.search import SearchDirection
70
80
  from prompt_toolkit.selection import SelectionType
81
+ from prompt_toolkit.shortcuts import print_formatted_text
71
82
  from prompt_toolkit.styles import BaseStyle
72
83
  from prompt_toolkit.styles import DynamicStyle
73
84
  from prompt_toolkit.styles import Style
74
85
  from prompt_toolkit.styles import merge_styles
75
86
  from prompt_toolkit.styles import style_from_pygments_cls
87
+ from prompt_toolkit.utils import get_cwidth
76
88
  from prompt_toolkit.widgets import Frame
77
89
  from prompt_toolkit.widgets import Label
78
90
  from prompt_toolkit.widgets import TextArea
omdev/tools/doc.py CHANGED
@@ -19,10 +19,10 @@ from ..cli import CliModule
19
19
 
20
20
  if ta.TYPE_CHECKING:
21
21
  import docutils.core
22
- import markdown
22
+ import markdown_it
23
23
  else:
24
24
  docutils = lang.proxy_import('docutils', extras=['core'])
25
- markdown = lang.proxy_import('markdown')
25
+ markdown_it = lang.proxy_import('markdown_it')
26
26
 
27
27
 
28
28
  def rst2html(rst, report_level=None):
@@ -92,7 +92,7 @@ class Cli(ap.Cli):
92
92
  def md(self):
93
93
  src, name = self._read_file(self.args.input_file)
94
94
 
95
- html = markdown.markdown(src)
95
+ html = markdown_it.MarkdownIt().render(src)
96
96
 
97
97
  if self.args.open:
98
98
  open_html(html, name)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omdev
3
- Version: 0.0.0.dev279
3
+ Version: 0.0.0.dev280
4
4
  Summary: omdev
5
5
  Author: wrmsr
6
6
  License: BSD-3-Clause
@@ -12,13 +12,13 @@ Classifier: Operating System :: OS Independent
12
12
  Classifier: Operating System :: POSIX
13
13
  Requires-Python: >=3.12
14
14
  License-File: LICENSE
15
- Requires-Dist: omlish==0.0.0.dev279
15
+ Requires-Dist: omlish==0.0.0.dev280
16
16
  Provides-Extra: all
17
17
  Requires-Dist: black~=25.1; extra == "all"
18
18
  Requires-Dist: pycparser~=2.22; extra == "all"
19
19
  Requires-Dist: pcpp~=1.30; extra == "all"
20
20
  Requires-Dist: docutils~=0.21; extra == "all"
21
- Requires-Dist: markdown~=3.7; extra == "all"
21
+ Requires-Dist: markdown-it-py~=3.7; extra == "all"
22
22
  Requires-Dist: mypy~=1.15; extra == "all"
23
23
  Requires-Dist: gprof2dot~=2024.6; extra == "all"
24
24
  Requires-Dist: prompt-toolkit~=3.0; extra == "all"
@@ -31,7 +31,7 @@ Requires-Dist: pycparser~=2.22; extra == "c"
31
31
  Requires-Dist: pcpp~=1.30; extra == "c"
32
32
  Provides-Extra: doc
33
33
  Requires-Dist: docutils~=0.21; extra == "doc"
34
- Requires-Dist: markdown~=3.7; extra == "doc"
34
+ Requires-Dist: markdown-it-py~=3.7; extra == "doc"
35
35
  Provides-Extra: mypy
36
36
  Requires-Dist: mypy~=1.15; extra == "mypy"
37
37
  Provides-Extra: prof
@@ -1,5 +1,5 @@
1
1
  omdev/.manifests.json,sha256=6ctfThA3b81KIbdc0sNzL63fepwPCfqzH7uRp0edxfc,10078
2
- omdev/__about__.py,sha256=oKJrtXNDPd4Omp2lJj08dTXbRdzejwiLVNxuGmYiDlQ,1185
2
+ omdev/__about__.py,sha256=TeZN9riO-ekcaVodONcH5Es3OsQwWS7lu_dQHdzY_t4,1231
3
3
  omdev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  omdev/bracepy.py,sha256=I8EdqtDvxzAi3I8TuMEW-RBfwXfqKbwp06CfOdj3L1o,2743
5
5
  omdev/classdot.py,sha256=YOvgy6x295I_8NKBbBlRVd3AN7Osirm_Lqt4Wj0j9rY,1631
@@ -41,7 +41,7 @@ omdev/cache/data/specs.py,sha256=u082monskfaHeJlDXOAXjyvgRfqrnbVXrFLMJoOHWqI,247
41
41
  omdev/cc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
42
  omdev/cc/__main__.py,sha256=n7gxSRYZ1QZOUxQPCT0_n9Xl26zi2UIvCwyGW_m67nA,166
43
43
  omdev/cc/cdeps.py,sha256=vU0_O822uG8KK2lizuY71YczH9N9KB2JdI492JnGGQ0,1552
44
- omdev/cc/cdeps.toml,sha256=d58i8NvCAkk19-LkQTv0M6AL1p06vtWEs97brdNt_Vs,957
44
+ omdev/cc/cdeps.toml,sha256=MqZ1OQHQ2JPvQpHRL32GpRgQWQRtzjPI2EWl4EqSm-I,1004
45
45
  omdev/cc/cli.py,sha256=B_JmY2hFfWaCc7IpISmcbMTWuzGN4xtpHkzaGLQIkL0,4412
46
46
  omdev/cexts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  omdev/cexts/_boilerplate.cc,sha256=sbpXEgdFrkdzZXgaNWFFNN27fL9TZu6VrwvMY4-nnFM,1726
@@ -193,7 +193,7 @@ omdev/precheck/lite.py,sha256=WFi7Ox2XD_L-jx8rdjXucoGMi5AiEFkDGYWhCW8ZH6g,4692
193
193
  omdev/precheck/main.py,sha256=XkwQnC_4YH-0P9YYkVxKUHAAj0o6iXiCu6S-oU_WaQk,2948
194
194
  omdev/precheck/manifests.py,sha256=ulwuYeZ0vnRsj8uTUbQGifoBNwI82MAsJuffs3rVIak,760
195
195
  omdev/precheck/scripts.py,sha256=Xw9kkQzlDd_2V9av9qlaNpNZG9jZdy3TTo7x60MeR2I,1273
196
- omdev/ptk/__init__.py,sha256=HnskXITUf9axCoxiGxWuK7hd03GWJ__kLNqOizsPytw,4286
196
+ omdev/ptk/__init__.py,sha256=Km0B3IYeljiFfSo7uywH55EU7mo1fZOrbUs8tN735rI,4957
197
197
  omdev/ptk/apps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
198
198
  omdev/ptk/apps/ncdu.py,sha256=dOkEJoc2Wjv1u_Uge7Vpei_LvXldoPP5833Eia355tc,4548
199
199
  omdev/pyproject/__init__.py,sha256=Y3l4WY4JRi2uLG6kgbGp93fuGfkxkKwZDvhsa0Rwgtk,15
@@ -225,7 +225,7 @@ omdev/tokens/utils.py,sha256=DJA2jsDzrtQxnO0bdkUk1-GmenX4ECugdhl1xOBe7QI,1448
225
225
  omdev/tools/__init__.py,sha256=iVJAOQ0viGTQOm0DLX4uZLro-9jOioYJGLg9s0kDx1A,78
226
226
  omdev/tools/cloc.py,sha256=jYlMHBae9oGKN4VKeBGuqjiQNcM2be7KIoTF0oNwx_I,5205
227
227
  omdev/tools/diff.py,sha256=_ThKWXFE-bG5SPDYNs8GqstEUPzL_PTWb03nJN0laLg,515
228
- omdev/tools/doc.py,sha256=wvgGhv6aFaV-Zl-Qivejx37i-lKQ207rZ-4K2fPf-Ss,2547
228
+ omdev/tools/doc.py,sha256=mUV7yNJ6EN-E0TAWad3rGwGtw2w5R9b0zP-JwkSNIyU,2570
229
229
  omdev/tools/docker.py,sha256=Ekn8q0vo5KZPnz5Fz2P_NDeZkN3c2bdnMvh0SOLWNps,7184
230
230
  omdev/tools/importscan.py,sha256=nhJIhtjDY6eFVlReP7fegvv6L5ZjN-Z2VeyhsBonev4,4639
231
231
  omdev/tools/intellij.py,sha256=yy6Uw2hcYyEWLZESAupKvd3U6omirYMbjnbw7UllhV4,5834
@@ -254,9 +254,9 @@ omdev/tools/json/rendering.py,sha256=tMcjOW5edfozcMSTxxvF7WVTsbYLoe9bCKFh50qyaGw
254
254
  omdev/tools/pawk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
255
255
  omdev/tools/pawk/__main__.py,sha256=VCqeRVnqT1RPEoIrqHFSu4PXVMg4YEgF4qCQm90-eRI,66
256
256
  omdev/tools/pawk/pawk.py,sha256=zsEkfQX0jF5bn712uqPAyBSdJt2dno1LH2oeSMNfXQI,11424
257
- omdev-0.0.0.dev279.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
258
- omdev-0.0.0.dev279.dist-info/METADATA,sha256=FHfQXgZ52YOcjMFnenKaCmrMjuNDq71RUk5hd8te4tc,1576
259
- omdev-0.0.0.dev279.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
260
- omdev-0.0.0.dev279.dist-info/entry_points.txt,sha256=dHLXFmq5D9B8qUyhRtFqTGWGxlbx3t5ejedjrnXNYLU,33
261
- omdev-0.0.0.dev279.dist-info/top_level.txt,sha256=1nr7j30fEWgLYHW3lGR9pkdHkb7knv1U1ES1XRNVQ6k,6
262
- omdev-0.0.0.dev279.dist-info/RECORD,,
257
+ omdev-0.0.0.dev280.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
258
+ omdev-0.0.0.dev280.dist-info/METADATA,sha256=ePfJ-a7HrQL1maCjcSUNxl0LNecSI2Sooq4fWdvZgRA,1588
259
+ omdev-0.0.0.dev280.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
260
+ omdev-0.0.0.dev280.dist-info/entry_points.txt,sha256=dHLXFmq5D9B8qUyhRtFqTGWGxlbx3t5ejedjrnXNYLU,33
261
+ omdev-0.0.0.dev280.dist-info/top_level.txt,sha256=1nr7j30fEWgLYHW3lGR9pkdHkb7knv1U1ES1XRNVQ6k,6
262
+ omdev-0.0.0.dev280.dist-info/RECORD,,