omdev 0.0.0.dev417__py3-none-any.whl → 0.0.0.dev419__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.
@@ -185,14 +185,19 @@ def _main() -> None:
185
185
  'rss_s': f'{rss:_}',
186
186
  })
187
187
 
188
- if args.modules:
188
+ if args.modules or args.modules_ordered:
189
+ mods = results[0]['modules']
189
190
  out.update({
190
- 'modules': sorted(results[0]['modules']),
191
- })
192
- if args.modules_ordered:
193
- out.update({
194
- 'modules_ordered': results[0]['modules'],
191
+ 'num_modules': len(mods),
195
192
  })
193
+ if args.modules:
194
+ out.update({
195
+ 'modules': sorted(mods),
196
+ })
197
+ if args.modules_ordered:
198
+ out.update({
199
+ 'modules_ordered': mods,
200
+ })
196
201
 
197
202
  print(json.dumps(out, indent=2))
198
203
 
@@ -91,8 +91,8 @@ VersionCmpKey = ta.Tuple[int, ta.Tuple[int, ...], VersionCmpPrePostDevType, Vers
91
91
  VersionComparisonMethod = ta.Callable[[VersionCmpKey, VersionCmpKey], bool]
92
92
 
93
93
  # ../../omlish/formats/toml/parser.py
94
- TomlParseFloat = ta.Callable[[str], ta.Any]
95
- TomlKey = ta.Tuple[str, ...]
94
+ TomlParseFloat = ta.Callable[[str], ta.Any] # ta.TypeAlias
95
+ TomlKey = ta.Tuple[str, ...] # ta.TypeAlias
96
96
  TomlPos = int # ta.TypeAlias
97
97
 
98
98
  # ../../omlish/lite/cached.py
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omdev
3
- Version: 0.0.0.dev417
3
+ Version: 0.0.0.dev419
4
4
  Summary: omdev
5
5
  Author: wrmsr
6
6
  License-Expression: BSD-3-Clause
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.13
14
14
  Requires-Python: >=3.13
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
- Requires-Dist: omlish==0.0.0.dev417
17
+ Requires-Dist: omlish==0.0.0.dev419
18
18
  Provides-Extra: all
19
19
  Requires-Dist: black~=25.1; extra == "all"
20
20
  Requires-Dist: pycparser~=2.22; extra == "all"
@@ -77,7 +77,7 @@ Development utilities and support code.
77
77
  data, obviously in the vein of [jq](https://github.com/jqlang/jq) but using the internal
78
78
  [jmespath](https://github.com/wrmsr/omlish/blob/master/omlish/specs/jmespath) engine. supports
79
79
  [true streaming](https://github.com/wrmsr/omlish/blob/master/omlish/formats/json/stream) json input and output, as
80
- well as [various other](https://github.com/wrmsr/omlish/blob/master/tools/json/formats.py) non-streaming input
80
+ well as [various other](https://github.com/wrmsr/omlish/blob/master/omdev/tools/json/formats.py) non-streaming input
81
81
  formats.
82
82
 
83
83
  - **[tools.git](https://github.com/wrmsr/omlish/blob/master/omdev/tools/git)** (cli: `om git`) - a tool for various lazy
@@ -255,7 +255,7 @@ omdev/py/docstrings/parser.py,sha256=umJEgQBkSXLwWIKZrBbFCfNrz847vpTNDqTTEwlvHpA
255
255
  omdev/py/docstrings/rest.py,sha256=c2xPYg_W01W9eYY_KLKX69E4qu4jpkgUshi5K5EyVv8,5221
256
256
  omdev/py/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
257
257
  omdev/py/scripts/bumpversion.py,sha256=UDMtTd_wfkqsmrtHqTKDilWVzUBigzZAOCVND7t9jyw,1124
258
- omdev/py/scripts/execstat.py,sha256=T5ls_Qx7iGmqiRQYFrc__yuHIarjt84vIm5wiaOPovw,4567
258
+ omdev/py/scripts/execstat.py,sha256=-c5ioQRruBrD5M0QDzSMaaq4Oe3X3-1O_d63bXjE5EI,4717
259
259
  omdev/py/scripts/importtrace.py,sha256=OOf9GvB6PWP2uVzogSYsM5JGUAoSfMx1IKfYUXB8ABc,14245
260
260
  omdev/py/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
261
261
  omdev/py/tools/importscan.py,sha256=4dCH0coX0OqNwesteKaTE8GxuSfLhgXYQlzNUXLiSNY,4640
@@ -275,7 +275,7 @@ omdev/pyproject/resources/python.sh,sha256=rFaN4SiJ9hdLDXXsDTwugI6zsw6EPkgYMmtac
275
275
  omdev/scripts/__init__.py,sha256=MKCvUAEQwsIvwLixwtPlpBqmkMXLCnjjXyAXvVpDwVk,91
276
276
  omdev/scripts/ci.py,sha256=_wBk8mb4EkUB3ZS_ozXtuxmdA31i2H1rf-iG4z2kknA,362817
277
277
  omdev/scripts/interp.py,sha256=mJ8ks6-Pj1k5F0QDt_pdvFGlha1cGe1o7_eemPLIlGc,158714
278
- omdev/scripts/pyproject.py,sha256=zdCCzAuEYyzmdyyYViMNNgXJgh4VWAZJvP2y2wYpVr8,270307
278
+ omdev/scripts/pyproject.py,sha256=i3kASh66g5Ewn_9NL3L3RkpV4_2jJr9zzKQ9ydFjJ6g,270339
279
279
  omdev/scripts/slowcat.py,sha256=PwdT-pg62imEEb6kcOozl9_YUi-4KopvjvzWT1OmGb0,2717
280
280
  omdev/scripts/tmpexec.py,sha256=t0nErDRALjTk7H0X8ADjZUIDFjlPNzOOokmjCjBHdzs,1431
281
281
  omdev/tokens/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -324,9 +324,9 @@ omdev/tools/jsonview/resources/jsonview.js,sha256=faDvXDOXKvEvjOuIlz4D3F2ReQXb_b
324
324
  omdev/tools/pawk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
325
325
  omdev/tools/pawk/__main__.py,sha256=VCqeRVnqT1RPEoIrqHFSu4PXVMg4YEgF4qCQm90-eRI,66
326
326
  omdev/tools/pawk/pawk.py,sha256=ao5mdrpiSU4AZ8mBozoEaV3UVlmVTnRG9wD9XP70MZE,11429
327
- omdev-0.0.0.dev417.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
328
- omdev-0.0.0.dev417.dist-info/METADATA,sha256=ej_p3NeWa2m8dK1HaEH7ZynVTkH0b9wGHumoZHsKj_A,5094
329
- omdev-0.0.0.dev417.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
330
- omdev-0.0.0.dev417.dist-info/entry_points.txt,sha256=dHLXFmq5D9B8qUyhRtFqTGWGxlbx3t5ejedjrnXNYLU,33
331
- omdev-0.0.0.dev417.dist-info/top_level.txt,sha256=1nr7j30fEWgLYHW3lGR9pkdHkb7knv1U1ES1XRNVQ6k,6
332
- omdev-0.0.0.dev417.dist-info/RECORD,,
327
+ omdev-0.0.0.dev419.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
328
+ omdev-0.0.0.dev419.dist-info/METADATA,sha256=lV_ucRqcgDedx1jMz08lzueQxBUrFm7jqnig-geFYs8,5100
329
+ omdev-0.0.0.dev419.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
330
+ omdev-0.0.0.dev419.dist-info/entry_points.txt,sha256=dHLXFmq5D9B8qUyhRtFqTGWGxlbx3t5ejedjrnXNYLU,33
331
+ omdev-0.0.0.dev419.dist-info/top_level.txt,sha256=1nr7j30fEWgLYHW3lGR9pkdHkb7knv1U1ES1XRNVQ6k,6
332
+ omdev-0.0.0.dev419.dist-info/RECORD,,