zeed-movs-viewer 0.0.0__py3-none-any.whl → 0.0.2__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.
- movsviewer/automation.py +13 -10
- movsviewer/chartview.py +11 -43
- movsviewer/constants.py +1 -1
- movsviewer/mainui.py +15 -9
- movsviewer/plotutils.py +90 -0
- movsviewer/settings.py +2 -2
- movsviewer/validator.py +1 -51
- movsviewer/viewmodel.py +6 -5
- zeed_movs_viewer-0.0.2.dist-info/METADATA +679 -0
- zeed_movs_viewer-0.0.2.dist-info/RECORD +17 -0
- {zeed_movs_viewer-0.0.0.dist-info → zeed_movs_viewer-0.0.2.dist-info}/WHEEL +1 -1
- zeed_movs_viewer-0.0.2.dist-info/licenses/LICENSE +661 -0
- movsviewer/reader.py +0 -42
- zeed_movs_viewer-0.0.0.dist-info/METADATA +0 -15
- zeed_movs_viewer-0.0.0.dist-info/RECORD +0 -16
- {zeed_movs_viewer-0.0.0.dist-info → zeed_movs_viewer-0.0.2.dist-info}/entry_points.txt +0 -0
movsviewer/reader.py
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
from typing import TYPE_CHECKING
|
2
|
-
from typing import Protocol
|
3
|
-
from typing import overload
|
4
|
-
|
5
|
-
from movslib.libretto import read_libretto
|
6
|
-
from movslib.movs import read_txt
|
7
|
-
|
8
|
-
if TYPE_CHECKING:
|
9
|
-
from movslib.model import KV
|
10
|
-
from movslib.model import Row
|
11
|
-
from movslib.model import Rows
|
12
|
-
|
13
|
-
|
14
|
-
class Reader(Protocol):
|
15
|
-
@overload
|
16
|
-
def __call__(self, fn: str) -> 'tuple[KV, list[Row]]': ...
|
17
|
-
|
18
|
-
@overload
|
19
|
-
def __call__(self, fn: str, name: str) -> 'tuple[KV, Rows]': ...
|
20
|
-
|
21
|
-
def __call__(
|
22
|
-
self, fn: str, name: str | None = None
|
23
|
-
) -> 'tuple[KV, list[Row] | Rows]': ...
|
24
|
-
|
25
|
-
|
26
|
-
def _get_reader(fn: str) -> Reader:
|
27
|
-
if fn.endswith('.xlsx'):
|
28
|
-
return read_libretto
|
29
|
-
return read_txt
|
30
|
-
|
31
|
-
|
32
|
-
@overload
|
33
|
-
def read(fn: str) -> 'tuple[KV, list[Row]]': ...
|
34
|
-
|
35
|
-
|
36
|
-
@overload
|
37
|
-
def read(fn: str, name: str) -> 'tuple[KV, Rows]': ...
|
38
|
-
|
39
|
-
|
40
|
-
def read(fn: str, name: str | None = None) -> 'tuple[KV, list[Row] | Rows]':
|
41
|
-
reader = _get_reader(fn)
|
42
|
-
return reader(fn) if name is None else reader(fn, name)
|
@@ -1,15 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: zeed-movs-viewer
|
3
|
-
Version: 0.0.0
|
4
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
5
|
-
Classifier: Programming Language :: Python :: 3.12
|
6
|
-
Project-URL: Homepage, https://github.com/ZeeD/movs-viewer
|
7
|
-
Project-URL: Repository, https://github.com/ZeeD/movs-viewer.git
|
8
|
-
Requires-Python: ==3.12.*
|
9
|
-
Requires-Dist: pyside6!=6.8,!=6.8.0.1,>=6.7
|
10
|
-
Requires-Dist: pythonqwt>=0.12.5
|
11
|
-
Requires-Dist: selenium>=4.22
|
12
|
-
Requires-Dist: zeed-guilib>=0.0.2
|
13
|
-
Requires-Dist: zeed-movs-merger>=0
|
14
|
-
Requires-Dist: zeed-movslib>=0.0.2
|
15
|
-
|
@@ -1,16 +0,0 @@
|
|
1
|
-
movsviewer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
movsviewer/automation.py,sha256=HwMiywH2YboXB8WyxP8hIoQgNMmNK-Gq_RWtHJh4zBg,4323
|
3
|
-
movsviewer/chartview.py,sha256=8XhOiXIo6vjL0uOGBhBQrl18u7q6X9OkdClfZTIhJDY,13470
|
4
|
-
movsviewer/constants.py,sha256=06WyNwgQwEkBrkvrryzEtdWV5mRUBycKe9RTe7PQ_mk,428
|
5
|
-
movsviewer/mainui.py,sha256=RLxEPoNL3uUxB4ieJemB8-P6-qZX7voUwwqR3rJ_XOA,5717
|
6
|
-
movsviewer/reader.py,sha256=8glE4CSv5RMe8ezP3RvKdzLqYhoT-Oy03My1oP5Dmdk,997
|
7
|
-
movsviewer/resources/geckodriver.exe,sha256=CCfcGwdNLMMpCWKc05nDO-3q6C88o3sEllUGV4HDGLM,3300792
|
8
|
-
movsviewer/resources/mainui.ui,sha256=lCMfw4A0KkVw9KP14raCaGzDKc7Hx2W8OexZxT3npQk,1376
|
9
|
-
movsviewer/resources/settingsui.ui,sha256=6eH5C9rkNrPlyp3JCQSW06drKhepwdQ0la4VGiqmPvE,3369
|
10
|
-
movsviewer/settings.py,sha256=yMLzNHiWYo9iUQYtRMNvs5UYbt0k4DndW7svNU2O_tg,1462
|
11
|
-
movsviewer/validator.py,sha256=huYRRRTIjVQHm6DlbtXVYROp0_SM5_7Vv7WV42d2or4,2560
|
12
|
-
movsviewer/viewmodel.py,sha256=ZEDy4I3bcSQh3ewQ_1K_fJ6ZJTJRHmwN0kH4rUPUSnk,5204
|
13
|
-
zeed_movs_viewer-0.0.0.dist-info/METADATA,sha256=3iC7EOQhBJ75187XeNUcLIcSA5ymg9hvq-UfTBer0PY,529
|
14
|
-
zeed_movs_viewer-0.0.0.dist-info/WHEEL,sha256=pM0IBB6ZwH3nkEPhtcp50KvKNX-07jYtnb1g1m6Z4Co,90
|
15
|
-
zeed_movs_viewer-0.0.0.dist-info/entry_points.txt,sha256=Cr9WqD8tBOMTJBuMV6-ayk_L49BmMfrKyZLk51-0008,71
|
16
|
-
zeed_movs_viewer-0.0.0.dist-info/RECORD,,
|
File without changes
|