cjm-transcript-segment-align 0.0.11__tar.gz → 0.0.13__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.
- {cjm_transcript_segment_align-0.0.11/cjm_transcript_segment_align.egg-info → cjm_transcript_segment_align-0.0.13}/PKG-INFO +24 -35
- cjm_transcript_segment_align-0.0.13/cjm_transcript_segment_align/__init__.py +1 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/routes/chrome.py +7 -2
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13/cjm_transcript_segment_align.egg-info}/PKG-INFO +24 -35
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align.egg-info/SOURCES.txt +0 -3
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align.egg-info/requires.txt +2 -3
- cjm_transcript_segment_align-0.0.13/pyproject.toml +30 -0
- cjm_transcript_segment_align-0.0.11/cjm_transcript_segment_align/__init__.py +0 -1
- cjm_transcript_segment_align-0.0.11/cjm_transcript_segment_align.egg-info/not-zip-safe +0 -1
- cjm_transcript_segment_align-0.0.11/pyproject.toml +0 -11
- cjm_transcript_segment_align-0.0.11/settings.ini +0 -38
- cjm_transcript_segment_align-0.0.11/setup.py +0 -63
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/LICENSE +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/MANIFEST.in +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/README.md +11 -11
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/_modidx.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/components/__init__.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/components/handlers.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/components/helpers.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/components/keyboard_config.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/components/step_renderer.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/components/sync_controls.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/components/toolbar_state.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/html_ids.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/models.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/routes/__init__.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/routes/forced_alignment.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/routes/init.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/services/__init__.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align/services/forced_alignment.py +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align.egg-info/dependency_links.txt +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align.egg-info/entry_points.txt +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/cjm_transcript_segment_align.egg-info/top_level.txt +0 -0
- {cjm_transcript_segment_align-0.0.11 → cjm_transcript_segment_align-0.0.13}/setup.cfg +0 -0
|
@@ -1,38 +1,27 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: cjm-transcript-segment-align
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.13
|
|
4
4
|
Summary: FastHTML dual-column text segmentation & VAD alignment UI for transcript decomposition workflows with forced alignment-based text splitting for aligning text segments with VAD chunks.
|
|
5
|
-
|
|
6
|
-
Author: Christian J. Mills
|
|
7
|
-
Author-email: 9126128+cj-mills@users.noreply.github.com
|
|
5
|
+
Author-email: "Christian J. Mills" <9126128+cj-mills@users.noreply.github.com>
|
|
8
6
|
License: Apache-2.0
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
Project-URL: Repository, https://github.com/cj-mills/cjm-transcript-segment-align
|
|
8
|
+
Project-URL: Documentation, https://cj-mills.github.io/cjm-transcript-segment-align
|
|
9
|
+
Keywords: nbdev,jupyter,notebook,python
|
|
12
10
|
Classifier: Natural Language :: English
|
|
13
|
-
Classifier:
|
|
14
|
-
Classifier:
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
15
|
Requires-Python: >=3.12
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
18
|
Requires-Dist: cjm-plugin-system
|
|
19
19
|
Requires-Dist: cjm_transcription_plugin_system
|
|
20
20
|
Requires-Dist: cjm_transcript_segmentation
|
|
21
|
-
Requires-Dist: cjm_transcript_vad_align
|
|
21
|
+
Requires-Dist: cjm_transcript_vad_align>=0.0.16
|
|
22
22
|
Requires-Dist: cjm_fasthtml_job_monitor
|
|
23
|
-
|
|
24
|
-
Dynamic:
|
|
25
|
-
Dynamic: author-email
|
|
26
|
-
Dynamic: classifier
|
|
27
|
-
Dynamic: description
|
|
28
|
-
Dynamic: description-content-type
|
|
29
|
-
Dynamic: home-page
|
|
30
|
-
Dynamic: keywords
|
|
31
|
-
Dynamic: license
|
|
32
|
-
Dynamic: provides-extra
|
|
33
|
-
Dynamic: requires-dist
|
|
34
|
-
Dynamic: requires-python
|
|
35
|
-
Dynamic: summary
|
|
23
|
+
Requires-Dist: cjm_fasthtml_web_audio>=0.0.9
|
|
24
|
+
Dynamic: license-file
|
|
36
25
|
|
|
37
26
|
# cjm-transcript-segment-align
|
|
38
27
|
|
|
@@ -84,17 +73,17 @@ graph LR
|
|
|
84
73
|
services_forced_alignment[services.forced_alignment<br/>forced_alignment]
|
|
85
74
|
|
|
86
75
|
components_handlers --> components_sync_controls
|
|
87
|
-
components_handlers -->
|
|
88
|
-
components_handlers --> html_ids
|
|
76
|
+
components_handlers --> routes_forced_alignment
|
|
89
77
|
components_handlers --> components_step_renderer
|
|
90
78
|
components_handlers --> services_forced_alignment
|
|
91
|
-
components_handlers -->
|
|
92
|
-
|
|
79
|
+
components_handlers --> components_keyboard_config
|
|
80
|
+
components_handlers --> html_ids
|
|
93
81
|
components_keyboard_config --> components_sync_controls
|
|
94
|
-
|
|
82
|
+
components_keyboard_config --> html_ids
|
|
83
|
+
components_step_renderer --> components_helpers
|
|
95
84
|
components_step_renderer --> components_toolbar_state
|
|
96
85
|
components_step_renderer --> html_ids
|
|
97
|
-
components_step_renderer -->
|
|
86
|
+
components_step_renderer --> components_keyboard_config
|
|
98
87
|
components_step_renderer --> components_sync_controls
|
|
99
88
|
components_toolbar_state --> components_sync_controls
|
|
100
89
|
routes_chrome --> components_sync_controls
|
|
@@ -102,17 +91,17 @@ graph LR
|
|
|
102
91
|
routes_chrome --> html_ids
|
|
103
92
|
routes_chrome --> components_step_renderer
|
|
104
93
|
routes_forced_alignment --> components_sync_controls
|
|
105
|
-
routes_forced_alignment --> html_ids
|
|
106
94
|
routes_forced_alignment --> components_step_renderer
|
|
107
|
-
|
|
95
|
+
routes_forced_alignment --> html_ids
|
|
96
|
+
routes_init --> routes_forced_alignment
|
|
108
97
|
routes_init --> models
|
|
109
98
|
routes_init --> components_handlers
|
|
110
|
-
routes_init -->
|
|
99
|
+
routes_init --> components_keyboard_config
|
|
111
100
|
routes_init --> services_forced_alignment
|
|
112
|
-
routes_init --> routes_chrome
|
|
113
|
-
routes_init --> routes_forced_alignment
|
|
114
101
|
routes_init --> components_step_renderer
|
|
102
|
+
routes_init --> html_ids
|
|
115
103
|
routes_init --> components_sync_controls
|
|
104
|
+
routes_init --> routes_chrome
|
|
116
105
|
```
|
|
117
106
|
|
|
118
107
|
*30 cross-module dependencies detected*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.0.13"
|
|
@@ -119,11 +119,16 @@ async def _handle_switch_chrome(
|
|
|
119
119
|
cls=combine_classes(flex_display, items.center, gap(2), w.full),
|
|
120
120
|
)
|
|
121
121
|
else:
|
|
122
|
-
# Alignment chrome (settings trigger + auto-play toggle)
|
|
122
|
+
# Alignment chrome (settings trigger + speed selector + auto-play toggle)
|
|
123
|
+
# Read persisted state so chrome switches restore the user's current speed + auto-nav
|
|
123
124
|
settings_trigger = render_settings_trigger(modal_id=ALIGN_CS_IDS.settings_modal)
|
|
124
125
|
toolbar_content = Div(
|
|
125
126
|
settings_trigger,
|
|
126
|
-
render_align_toolbar(
|
|
127
|
+
render_align_toolbar(
|
|
128
|
+
current_speed=align_state.get("playback_speed", 1.0),
|
|
129
|
+
auto_navigate=align_state.get("auto_navigate", False),
|
|
130
|
+
speed_url=align_urls.speed_change,
|
|
131
|
+
),
|
|
127
132
|
cls=combine_classes(flex_display, items.center, gap(2), w.full),
|
|
128
133
|
)
|
|
129
134
|
|
|
@@ -1,38 +1,27 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: cjm-transcript-segment-align
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.13
|
|
4
4
|
Summary: FastHTML dual-column text segmentation & VAD alignment UI for transcript decomposition workflows with forced alignment-based text splitting for aligning text segments with VAD chunks.
|
|
5
|
-
|
|
6
|
-
Author: Christian J. Mills
|
|
7
|
-
Author-email: 9126128+cj-mills@users.noreply.github.com
|
|
5
|
+
Author-email: "Christian J. Mills" <9126128+cj-mills@users.noreply.github.com>
|
|
8
6
|
License: Apache-2.0
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
Project-URL: Repository, https://github.com/cj-mills/cjm-transcript-segment-align
|
|
8
|
+
Project-URL: Documentation, https://cj-mills.github.io/cjm-transcript-segment-align
|
|
9
|
+
Keywords: nbdev,jupyter,notebook,python
|
|
12
10
|
Classifier: Natural Language :: English
|
|
13
|
-
Classifier:
|
|
14
|
-
Classifier:
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
15
|
Requires-Python: >=3.12
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
18
|
Requires-Dist: cjm-plugin-system
|
|
19
19
|
Requires-Dist: cjm_transcription_plugin_system
|
|
20
20
|
Requires-Dist: cjm_transcript_segmentation
|
|
21
|
-
Requires-Dist: cjm_transcript_vad_align
|
|
21
|
+
Requires-Dist: cjm_transcript_vad_align>=0.0.16
|
|
22
22
|
Requires-Dist: cjm_fasthtml_job_monitor
|
|
23
|
-
|
|
24
|
-
Dynamic:
|
|
25
|
-
Dynamic: author-email
|
|
26
|
-
Dynamic: classifier
|
|
27
|
-
Dynamic: description
|
|
28
|
-
Dynamic: description-content-type
|
|
29
|
-
Dynamic: home-page
|
|
30
|
-
Dynamic: keywords
|
|
31
|
-
Dynamic: license
|
|
32
|
-
Dynamic: provides-extra
|
|
33
|
-
Dynamic: requires-dist
|
|
34
|
-
Dynamic: requires-python
|
|
35
|
-
Dynamic: summary
|
|
23
|
+
Requires-Dist: cjm_fasthtml_web_audio>=0.0.9
|
|
24
|
+
Dynamic: license-file
|
|
36
25
|
|
|
37
26
|
# cjm-transcript-segment-align
|
|
38
27
|
|
|
@@ -84,17 +73,17 @@ graph LR
|
|
|
84
73
|
services_forced_alignment[services.forced_alignment<br/>forced_alignment]
|
|
85
74
|
|
|
86
75
|
components_handlers --> components_sync_controls
|
|
87
|
-
components_handlers -->
|
|
88
|
-
components_handlers --> html_ids
|
|
76
|
+
components_handlers --> routes_forced_alignment
|
|
89
77
|
components_handlers --> components_step_renderer
|
|
90
78
|
components_handlers --> services_forced_alignment
|
|
91
|
-
components_handlers -->
|
|
92
|
-
|
|
79
|
+
components_handlers --> components_keyboard_config
|
|
80
|
+
components_handlers --> html_ids
|
|
93
81
|
components_keyboard_config --> components_sync_controls
|
|
94
|
-
|
|
82
|
+
components_keyboard_config --> html_ids
|
|
83
|
+
components_step_renderer --> components_helpers
|
|
95
84
|
components_step_renderer --> components_toolbar_state
|
|
96
85
|
components_step_renderer --> html_ids
|
|
97
|
-
components_step_renderer -->
|
|
86
|
+
components_step_renderer --> components_keyboard_config
|
|
98
87
|
components_step_renderer --> components_sync_controls
|
|
99
88
|
components_toolbar_state --> components_sync_controls
|
|
100
89
|
routes_chrome --> components_sync_controls
|
|
@@ -102,17 +91,17 @@ graph LR
|
|
|
102
91
|
routes_chrome --> html_ids
|
|
103
92
|
routes_chrome --> components_step_renderer
|
|
104
93
|
routes_forced_alignment --> components_sync_controls
|
|
105
|
-
routes_forced_alignment --> html_ids
|
|
106
94
|
routes_forced_alignment --> components_step_renderer
|
|
107
|
-
|
|
95
|
+
routes_forced_alignment --> html_ids
|
|
96
|
+
routes_init --> routes_forced_alignment
|
|
108
97
|
routes_init --> models
|
|
109
98
|
routes_init --> components_handlers
|
|
110
|
-
routes_init -->
|
|
99
|
+
routes_init --> components_keyboard_config
|
|
111
100
|
routes_init --> services_forced_alignment
|
|
112
|
-
routes_init --> routes_chrome
|
|
113
|
-
routes_init --> routes_forced_alignment
|
|
114
101
|
routes_init --> components_step_renderer
|
|
102
|
+
routes_init --> html_ids
|
|
115
103
|
routes_init --> components_sync_controls
|
|
104
|
+
routes_init --> routes_chrome
|
|
116
105
|
```
|
|
117
106
|
|
|
118
107
|
*30 cross-module dependencies detected*
|
|
@@ -2,8 +2,6 @@ LICENSE
|
|
|
2
2
|
MANIFEST.in
|
|
3
3
|
README.md
|
|
4
4
|
pyproject.toml
|
|
5
|
-
settings.ini
|
|
6
|
-
setup.py
|
|
7
5
|
cjm_transcript_segment_align/__init__.py
|
|
8
6
|
cjm_transcript_segment_align/_modidx.py
|
|
9
7
|
cjm_transcript_segment_align/html_ids.py
|
|
@@ -12,7 +10,6 @@ cjm_transcript_segment_align.egg-info/PKG-INFO
|
|
|
12
10
|
cjm_transcript_segment_align.egg-info/SOURCES.txt
|
|
13
11
|
cjm_transcript_segment_align.egg-info/dependency_links.txt
|
|
14
12
|
cjm_transcript_segment_align.egg-info/entry_points.txt
|
|
15
|
-
cjm_transcript_segment_align.egg-info/not-zip-safe
|
|
16
13
|
cjm_transcript_segment_align.egg-info/requires.txt
|
|
17
14
|
cjm_transcript_segment_align.egg-info/top_level.txt
|
|
18
15
|
cjm_transcript_segment_align/components/__init__.py
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=64"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "cjm-transcript-segment-align"
|
|
7
|
+
dynamic = ["version"]
|
|
8
|
+
description = "FastHTML dual-column text segmentation & VAD alignment UI for transcript decomposition workflows with forced alignment-based text splitting for aligning text segments with VAD chunks."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.12"
|
|
11
|
+
license = {text = "Apache-2.0"}
|
|
12
|
+
authors = [{name = "Christian J. Mills", email = "9126128+cj-mills@users.noreply.github.com"}]
|
|
13
|
+
keywords = ['nbdev', 'jupyter', 'notebook', 'python']
|
|
14
|
+
classifiers = ["Natural Language :: English", "Intended Audience :: Developers", "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only"]
|
|
15
|
+
dependencies = ['cjm-plugin-system', 'cjm_transcription_plugin_system', 'cjm_transcript_segmentation', 'cjm_transcript_vad_align>=0.0.16', 'cjm_fasthtml_job_monitor', 'cjm_fasthtml_web_audio>=0.0.9']
|
|
16
|
+
|
|
17
|
+
[project.urls]
|
|
18
|
+
Repository = "https://github.com/cj-mills/cjm-transcript-segment-align"
|
|
19
|
+
Documentation = "https://cj-mills.github.io/cjm-transcript-segment-align"
|
|
20
|
+
|
|
21
|
+
[project.entry-points.nbdev]
|
|
22
|
+
cjm_transcript_segment_align = "cjm_transcript_segment_align._modidx:d"
|
|
23
|
+
|
|
24
|
+
[tool.setuptools.dynamic]
|
|
25
|
+
version = {attr = "cjm_transcript_segment_align.__version__"}
|
|
26
|
+
|
|
27
|
+
[tool.setuptools.packages.find]
|
|
28
|
+
include = ["cjm_transcript_segment_align"]
|
|
29
|
+
|
|
30
|
+
[tool.nbdev]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.0.11"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["setuptools>=64.0,<76.0"]
|
|
3
|
-
build-backend = "setuptools.build_meta"
|
|
4
|
-
|
|
5
|
-
[project]
|
|
6
|
-
name="cjm-transcript-segment-align"
|
|
7
|
-
requires-python=">=3.12"
|
|
8
|
-
dynamic = [ "keywords", "description", "version", "dependencies", "optional-dependencies", "readme", "license", "authors", "classifiers", "entry-points", "scripts", "urls"]
|
|
9
|
-
|
|
10
|
-
[tool.uv]
|
|
11
|
-
cache-keys = [{ file = "pyproject.toml" }, { file = "settings.ini" }, { file = "setup.py" }]
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
[DEFAULT]
|
|
2
|
-
repo = cjm-transcript-segment-align
|
|
3
|
-
lib_name = cjm-transcript-segment-align
|
|
4
|
-
version = 0.0.11
|
|
5
|
-
min_python = 3.12
|
|
6
|
-
license = apache2
|
|
7
|
-
black_formatting = False
|
|
8
|
-
doc_path = _docs
|
|
9
|
-
lib_path = cjm_transcript_segment_align
|
|
10
|
-
nbs_path = nbs
|
|
11
|
-
recursive = True
|
|
12
|
-
tst_flags = notest
|
|
13
|
-
put_version_in_init = True
|
|
14
|
-
update_pyproject = True
|
|
15
|
-
branch = main
|
|
16
|
-
custom_sidebar = False
|
|
17
|
-
doc_host = https://cj-mills.github.io
|
|
18
|
-
doc_baseurl = /cjm-transcript-segment-align
|
|
19
|
-
git_url = https://github.com/cj-mills/cjm-transcript-segment-align
|
|
20
|
-
title = cjm-transcript-segment-align
|
|
21
|
-
audience = Developers
|
|
22
|
-
author = Christian J. Mills
|
|
23
|
-
author_email = 9126128+cj-mills@users.noreply.github.com
|
|
24
|
-
copyright = 2026 onwards, Christian J. Mills
|
|
25
|
-
description = FastHTML dual-column text segmentation & VAD alignment UI for transcript decomposition workflows with forced alignment-based text splitting for aligning text segments with VAD chunks.
|
|
26
|
-
keywords = nbdev jupyter notebook python
|
|
27
|
-
language = English
|
|
28
|
-
status = 3
|
|
29
|
-
user = cj-mills
|
|
30
|
-
requirements = cjm-plugin-system cjm_transcription_plugin_system cjm_transcript_segmentation cjm_transcript_vad_align cjm_fasthtml_job_monitor
|
|
31
|
-
readme_nb = index.ipynb
|
|
32
|
-
allowed_metadata_keys =
|
|
33
|
-
allowed_cell_metadata_keys =
|
|
34
|
-
jupyter_hooks = False
|
|
35
|
-
clean_ids = True
|
|
36
|
-
clear_all = False
|
|
37
|
-
skip_procs =
|
|
38
|
-
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
from pkg_resources import parse_version
|
|
2
|
-
from configparser import ConfigParser
|
|
3
|
-
import setuptools, shlex
|
|
4
|
-
assert parse_version(setuptools.__version__)>=parse_version('36.2')
|
|
5
|
-
|
|
6
|
-
# note: all settings are in settings.ini; edit there, not here
|
|
7
|
-
config = ConfigParser(delimiters=['='])
|
|
8
|
-
config.read('settings.ini', encoding='utf-8')
|
|
9
|
-
cfg = config['DEFAULT']
|
|
10
|
-
|
|
11
|
-
cfg_keys = 'version description keywords author author_email'.split()
|
|
12
|
-
expected = cfg_keys + "lib_name user branch license status min_python audience language".split()
|
|
13
|
-
for o in expected: assert o in cfg, "missing expected setting: {}".format(o)
|
|
14
|
-
setup_cfg = {o:cfg[o] for o in cfg_keys}
|
|
15
|
-
|
|
16
|
-
licenses = {
|
|
17
|
-
'apache2': 'Apache-2.0',
|
|
18
|
-
'mit': 'MIT',
|
|
19
|
-
'gpl2': 'GPL-2.0-only',
|
|
20
|
-
'gpl3': 'GPL-3.0-or-later',
|
|
21
|
-
'bsd3': 'BSD-3-Clause',
|
|
22
|
-
}
|
|
23
|
-
statuses = [ '1 - Planning', '2 - Pre-Alpha', '3 - Alpha',
|
|
24
|
-
'4 - Beta', '5 - Production/Stable', '6 - Mature', '7 - Inactive' ]
|
|
25
|
-
py_versions = '3.6 3.7 3.8 3.9 3.10 3.11 3.12 3.13'.split()
|
|
26
|
-
|
|
27
|
-
requirements = shlex.split(cfg.get('requirements', ''))
|
|
28
|
-
if cfg.get('pip_requirements'): requirements += shlex.split(cfg.get('pip_requirements', ''))
|
|
29
|
-
min_python = cfg['min_python']
|
|
30
|
-
dev_requirements = (cfg.get('dev_requirements') or '').split()
|
|
31
|
-
|
|
32
|
-
package_data = dict()
|
|
33
|
-
pkg_data = cfg.get('package_data', None)
|
|
34
|
-
if pkg_data:
|
|
35
|
-
package_data[cfg['lib_name']] = pkg_data.split() # split as multiple files might be listed
|
|
36
|
-
# Add package data to setup_cfg for setuptools.setup(..., **setup_cfg)
|
|
37
|
-
setup_cfg['package_data'] = package_data
|
|
38
|
-
|
|
39
|
-
setuptools.setup(
|
|
40
|
-
name = cfg['lib_name'],
|
|
41
|
-
license = licenses.get(cfg['license'].lower(), cfg['license']),
|
|
42
|
-
classifiers = [
|
|
43
|
-
'Development Status :: ' + statuses[int(cfg['status'])],
|
|
44
|
-
'Intended Audience :: ' + cfg['audience'].title(),
|
|
45
|
-
'Natural Language :: ' + cfg['language'].title(),
|
|
46
|
-
] + ['Programming Language :: Python :: '+o for o in py_versions[py_versions.index(min_python):]],
|
|
47
|
-
url = cfg['git_url'],
|
|
48
|
-
packages = setuptools.find_packages(),
|
|
49
|
-
include_package_data = True,
|
|
50
|
-
install_requires = requirements,
|
|
51
|
-
extras_require={ 'dev': dev_requirements },
|
|
52
|
-
dependency_links = cfg.get('dep_links','').split(),
|
|
53
|
-
python_requires = '>=' + cfg['min_python'],
|
|
54
|
-
long_description = open('README.md', encoding='utf-8').read(),
|
|
55
|
-
long_description_content_type = 'text/markdown',
|
|
56
|
-
zip_safe = False,
|
|
57
|
-
entry_points = {
|
|
58
|
-
'console_scripts': cfg.get('console_scripts','').split(),
|
|
59
|
-
'nbdev': [f'{cfg.get("lib_path")}={cfg.get("lib_path")}._modidx:d']
|
|
60
|
-
},
|
|
61
|
-
**setup_cfg)
|
|
62
|
-
|
|
63
|
-
|
|
File without changes
|
|
File without changes
|
|
@@ -48,17 +48,17 @@ graph LR
|
|
|
48
48
|
services_forced_alignment[services.forced_alignment<br/>forced_alignment]
|
|
49
49
|
|
|
50
50
|
components_handlers --> components_sync_controls
|
|
51
|
-
components_handlers -->
|
|
52
|
-
components_handlers --> html_ids
|
|
51
|
+
components_handlers --> routes_forced_alignment
|
|
53
52
|
components_handlers --> components_step_renderer
|
|
54
53
|
components_handlers --> services_forced_alignment
|
|
55
|
-
components_handlers -->
|
|
56
|
-
|
|
54
|
+
components_handlers --> components_keyboard_config
|
|
55
|
+
components_handlers --> html_ids
|
|
57
56
|
components_keyboard_config --> components_sync_controls
|
|
58
|
-
|
|
57
|
+
components_keyboard_config --> html_ids
|
|
58
|
+
components_step_renderer --> components_helpers
|
|
59
59
|
components_step_renderer --> components_toolbar_state
|
|
60
60
|
components_step_renderer --> html_ids
|
|
61
|
-
components_step_renderer -->
|
|
61
|
+
components_step_renderer --> components_keyboard_config
|
|
62
62
|
components_step_renderer --> components_sync_controls
|
|
63
63
|
components_toolbar_state --> components_sync_controls
|
|
64
64
|
routes_chrome --> components_sync_controls
|
|
@@ -66,17 +66,17 @@ graph LR
|
|
|
66
66
|
routes_chrome --> html_ids
|
|
67
67
|
routes_chrome --> components_step_renderer
|
|
68
68
|
routes_forced_alignment --> components_sync_controls
|
|
69
|
-
routes_forced_alignment --> html_ids
|
|
70
69
|
routes_forced_alignment --> components_step_renderer
|
|
71
|
-
|
|
70
|
+
routes_forced_alignment --> html_ids
|
|
71
|
+
routes_init --> routes_forced_alignment
|
|
72
72
|
routes_init --> models
|
|
73
73
|
routes_init --> components_handlers
|
|
74
|
-
routes_init -->
|
|
74
|
+
routes_init --> components_keyboard_config
|
|
75
75
|
routes_init --> services_forced_alignment
|
|
76
|
-
routes_init --> routes_chrome
|
|
77
|
-
routes_init --> routes_forced_alignment
|
|
78
76
|
routes_init --> components_step_renderer
|
|
77
|
+
routes_init --> html_ids
|
|
79
78
|
routes_init --> components_sync_controls
|
|
79
|
+
routes_init --> routes_chrome
|
|
80
80
|
```
|
|
81
81
|
|
|
82
82
|
*30 cross-module dependencies detected*
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|