ommlds 0.0.0.dev459__py3-none-any.whl → 0.0.0.dev460__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 ommlds might be problematic. Click here for more details.
- ommlds/.omlish-manifests.json +2 -2
- ommlds/backends/google/protocol/types.py +1 -0
- ommlds/tools/git.py +1 -3
- ommlds/tools/ocr.py +1 -8
- ommlds/wiki/text/mfh.py +1 -5
- ommlds/wiki/text/wtp.py +1 -3
- {ommlds-0.0.0.dev459.dist-info → ommlds-0.0.0.dev460.dist-info}/METADATA +3 -3
- {ommlds-0.0.0.dev459.dist-info → ommlds-0.0.0.dev460.dist-info}/RECORD +12 -12
- {ommlds-0.0.0.dev459.dist-info → ommlds-0.0.0.dev460.dist-info}/WHEEL +0 -0
- {ommlds-0.0.0.dev459.dist-info → ommlds-0.0.0.dev460.dist-info}/entry_points.txt +0 -0
- {ommlds-0.0.0.dev459.dist-info → ommlds-0.0.0.dev460.dist-info}/licenses/LICENSE +0 -0
- {ommlds-0.0.0.dev459.dist-info → ommlds-0.0.0.dev460.dist-info}/top_level.txt +0 -0
ommlds/.omlish-manifests.json
CHANGED
|
@@ -592,7 +592,7 @@
|
|
|
592
592
|
"module": ".tools.git",
|
|
593
593
|
"attr": null,
|
|
594
594
|
"file": "ommlds/tools/git.py",
|
|
595
|
-
"line":
|
|
595
|
+
"line": 186,
|
|
596
596
|
"value": {
|
|
597
597
|
"!omdev.tools.git.messages.GitMessageGeneratorManifest": {
|
|
598
598
|
"module": "ommlds.tools.git",
|
|
@@ -606,7 +606,7 @@
|
|
|
606
606
|
"module": ".tools.ocr",
|
|
607
607
|
"attr": "_CLI_MODULE",
|
|
608
608
|
"file": "ommlds/tools/ocr.py",
|
|
609
|
-
"line":
|
|
609
|
+
"line": 82,
|
|
610
610
|
"value": {
|
|
611
611
|
"!omdev.cli.types.CliModule": {
|
|
612
612
|
"name": "ocr",
|
|
@@ -583,6 +583,7 @@ class GenerateContentResponse(lang.Final):
|
|
|
583
583
|
class Candidate(lang.Final):
|
|
584
584
|
content: Content | None = None
|
|
585
585
|
finish_reason: FinishReason | None = None
|
|
586
|
+
finish_message: str | None = None
|
|
586
587
|
# safety_ratings: ta.Sequence[SafetyRating] | None = None
|
|
587
588
|
# citation_metadata: CitationMetadata | None = None
|
|
588
589
|
token_count: int | None = None
|
ommlds/tools/git.py
CHANGED
|
@@ -23,10 +23,8 @@ from ..minichain.backends.impls.openai.chat import OpenaiChatChoicesService
|
|
|
23
23
|
from ..server.client import McServerClient
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
with lang.auto_proxy_import(globals()):
|
|
27
27
|
from ..minichain.backends.impls.mlx import chat as mc_mlx_chat
|
|
28
|
-
else:
|
|
29
|
-
mc_mlx_chat = lang.proxy_import('..minichain.backends.impls.mlx.chat', __package__)
|
|
30
28
|
|
|
31
29
|
|
|
32
30
|
GitAiBackendConfigT = ta.TypeVar('GitAiBackendConfigT', bound='GitAiBackend.Config')
|
ommlds/tools/ocr.py
CHANGED
|
@@ -13,20 +13,13 @@ from omlish import check
|
|
|
13
13
|
from omlish import lang
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
with lang.auto_proxy_import(globals()):
|
|
17
17
|
import pytesseract
|
|
18
18
|
import rapidocr_onnxruntime as rapidocr
|
|
19
19
|
from PIL import Image
|
|
20
20
|
|
|
21
21
|
from omdev.clipboard import darwin_cf as darwin_clipboard
|
|
22
22
|
|
|
23
|
-
else:
|
|
24
|
-
pytesseract = lang.proxy_import('pytesseract')
|
|
25
|
-
rapidocr = lang.proxy_import('rapidocr_onnxruntime')
|
|
26
|
-
Image = lang.proxy_import('PIL.Image')
|
|
27
|
-
|
|
28
|
-
darwin_clipboard = lang.proxy_import('omdev.clipboard.darwin_cf')
|
|
29
|
-
|
|
30
23
|
|
|
31
24
|
##
|
|
32
25
|
|
ommlds/wiki/text/mfh.py
CHANGED
|
@@ -13,14 +13,10 @@ from omlish import lang
|
|
|
13
13
|
from omlish import marshal as msh
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
with lang.auto_proxy_import(globals()):
|
|
17
17
|
import mwparserfromhell as mfh
|
|
18
18
|
import mwparserfromhell.nodes as mfn
|
|
19
19
|
|
|
20
|
-
else:
|
|
21
|
-
mfh = lang.proxy_import('mwparserfromhell')
|
|
22
|
-
mfn = lang.proxy_import('mwparserfromhell.nodes')
|
|
23
|
-
|
|
24
20
|
|
|
25
21
|
Wikicode: ta.TypeAlias = 'mfh.wikicode.Wikicode'
|
|
26
22
|
|
ommlds/wiki/text/wtp.py
CHANGED
|
@@ -26,10 +26,8 @@ from omlish import cached
|
|
|
26
26
|
from omlish import lang
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
with lang.auto_proxy_import(globals()):
|
|
30
30
|
import wikitextparser as wtp
|
|
31
|
-
else:
|
|
32
|
-
wtp = lang.proxy_import('wikitextparser')
|
|
33
31
|
|
|
34
32
|
|
|
35
33
|
WikiText: ta.TypeAlias = 'wtp.WikiText'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ommlds
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev460
|
|
4
4
|
Summary: ommlds
|
|
5
5
|
Author: wrmsr
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -14,8 +14,8 @@ 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: omdev==0.0.0.
|
|
18
|
-
Requires-Dist: omlish==0.0.0.
|
|
17
|
+
Requires-Dist: omdev==0.0.0.dev460
|
|
18
|
+
Requires-Dist: omlish==0.0.0.dev460
|
|
19
19
|
Provides-Extra: all
|
|
20
20
|
Requires-Dist: llama-cpp-python~=0.3; extra == "all"
|
|
21
21
|
Requires-Dist: mlx~=0.29; extra == "all"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
ommlds/.omlish-manifests.json,sha256=
|
|
1
|
+
ommlds/.omlish-manifests.json,sha256=rrjnJ9Ux5kxBEZc3jHSKc_BRwyiV0OW11sIVQRFUkf8,17992
|
|
2
2
|
ommlds/__about__.py,sha256=ihOSwOzbSqpYjC0oisAXE8bAnknrAKuDPQ8RI2y0n7U,1759
|
|
3
3
|
ommlds/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
ommlds/huggingface.py,sha256=JfEyfKOxU3-SY_ojtXBJFNeD-NIuKjvMe3GL3e93wNA,1175
|
|
@@ -16,7 +16,7 @@ ommlds/backends/anthropic/protocol/sse/events.py,sha256=pLscyLFpxcrtOijNPRgivrxY
|
|
|
16
16
|
ommlds/backends/google/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
ommlds/backends/google/protocol/__init__.py,sha256=OWmhuCS_sZ08ZaBtSSDRIudHKzkzgmqxY-3jgQxTidw,105
|
|
18
18
|
ommlds/backends/google/protocol/_marshal.py,sha256=LWikcdMDrKQ0lMtclNXwK9qamijUBzK62nrEVo2OFtc,305
|
|
19
|
-
ommlds/backends/google/protocol/types.py,sha256
|
|
19
|
+
ommlds/backends/google/protocol/types.py,sha256=-szndCfo4h4TnfWY23B-_ksgDO0W_Qnu958h4NEWJFw,17494
|
|
20
20
|
ommlds/backends/llamacpp/__init__.py,sha256=zXFpLXE4a2vEl0jcPDyKlPHHfZ3Z8Dz0twhEIyZ8-vg,59
|
|
21
21
|
ommlds/backends/llamacpp/buildwheel.py,sha256=q9ghCLVbm8Jm6syrZlBP-x1qNDd0wSl15B2OXBtDBQ8,3813
|
|
22
22
|
ommlds/backends/llamacpp/logging.py,sha256=nCEC6ASEuTpJqx47DMLhnbr5KelDlbxhM0nKQt4bc3w,773
|
|
@@ -311,23 +311,23 @@ ommlds/server/client.py,sha256=4CeYj43nHwUmuxwD4lkAZjcaPlrWw7MDdenldj377IU,1735
|
|
|
311
311
|
ommlds/server/server.py,sha256=8l6jPEvUMrTd7iLUOGcUUzXWYA7l1ZzI2lkA8XqGOBA,4205
|
|
312
312
|
ommlds/server/service.py,sha256=WleUNyWqcnvZ_CNk6h1WVSTy1_xT9wJg4dduiJilGDY,2282
|
|
313
313
|
ommlds/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
314
|
-
ommlds/tools/git.py,sha256=
|
|
315
|
-
ommlds/tools/ocr.py,sha256=
|
|
314
|
+
ommlds/tools/git.py,sha256=3MWI5cZ9ZmsjNMEoQXwj-AZNYyzA2xp1srFjzUv7U1Y,8095
|
|
315
|
+
ommlds/tools/ocr.py,sha256=UP2XK4-ELyhK2BnuBr7-DwUbkDIcX9xdvfXVimM19Y8,1839
|
|
316
316
|
ommlds/wiki/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
317
317
|
ommlds/wiki/analyze.py,sha256=38SvHF0X_z8OkjvbBc5tLj35e9pvqi53yg9tls-ay5A,9544
|
|
318
318
|
ommlds/wiki/convert.py,sha256=4UqEKMWW03HwrfxYTn0wmXobYVrTSK2x9Lx-2MeJW8M,2531
|
|
319
319
|
ommlds/wiki/models.py,sha256=MV7WqEqJJ_JTwIhaPNbQnRa_w7tO7mJggPu0xitJyLM,2473
|
|
320
320
|
ommlds/wiki/xml.py,sha256=8Xt4roJ9cyOlZMxT4L5NHbkaeMlgXt3wmjiArmiMh28,2925
|
|
321
321
|
ommlds/wiki/text/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
322
|
-
ommlds/wiki/text/mfh.py,sha256=
|
|
323
|
-
ommlds/wiki/text/wtp.py,sha256=
|
|
322
|
+
ommlds/wiki/text/mfh.py,sha256=Qk2WjmtZgoEMgZtBbYjKnWZhusx_VA5CIDSbUatfIAk,6702
|
|
323
|
+
ommlds/wiki/text/wtp.py,sha256=Ga4dGfUsLwbS2i9LJd4xwSbHAAnwnReWGQgOrRIcedQ,2200
|
|
324
324
|
ommlds/wiki/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
325
325
|
ommlds/wiki/utils/io.py,sha256=UKgDJGtmpnWvIqVd2mJc2QNPOqlToEY1GEveNp6_pMo,7088
|
|
326
326
|
ommlds/wiki/utils/progress.py,sha256=EhvKcMFYtsarCQhIahlO6f0SboyAKP3UwUyrnVnP-Vk,3222
|
|
327
327
|
ommlds/wiki/utils/xml.py,sha256=vVV8Ctn13aaRM9eYfs9Wd6rHn5WOCEUzQ44fIhOvJdg,3754
|
|
328
|
-
ommlds-0.0.0.
|
|
329
|
-
ommlds-0.0.0.
|
|
330
|
-
ommlds-0.0.0.
|
|
331
|
-
ommlds-0.0.0.
|
|
332
|
-
ommlds-0.0.0.
|
|
333
|
-
ommlds-0.0.0.
|
|
328
|
+
ommlds-0.0.0.dev460.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
|
329
|
+
ommlds-0.0.0.dev460.dist-info/METADATA,sha256=5845ATkqi5W-P5CrEj6n1JPkkp-cQ8CypPhcTMRzBfw,3224
|
|
330
|
+
ommlds-0.0.0.dev460.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
331
|
+
ommlds-0.0.0.dev460.dist-info/entry_points.txt,sha256=Z5YWtX7ClfiCKdW-dd_CSVvM0h4yQpJPi-2G3q6gNFo,35
|
|
332
|
+
ommlds-0.0.0.dev460.dist-info/top_level.txt,sha256=Rbnk5d5wi58vnAXx13WFZqdQ4VX8hBCS2hEL3WeXOhY,7
|
|
333
|
+
ommlds-0.0.0.dev460.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|