vsview-split-planes 0.1.3__tar.gz → 0.2.1__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.
@@ -8,7 +8,7 @@ __pycache__/
8
8
 
9
9
  # Distribution / packaging
10
10
  .Python
11
- build/
11
+ /build/
12
12
  develop-eggs/
13
13
  dist/
14
14
  downloads/
@@ -221,5 +221,6 @@ __marimo__/
221
221
  # VapourSynth inventory files
222
222
  vs_objects.inv
223
223
  vs_fixed.inv
224
- # SBOMs
225
- sboms.json
224
+
225
+ # Doc workraws
226
+ docs/assets/raws
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vsview-split-planes
3
- Version: 0.1.3
3
+ Version: 0.2.1
4
4
  Summary: A vsview plugin displaying video clips' constituent planes
5
5
  Project-URL: Documentation, https://jaded-encoding-thaumaturgy.github.io/vs-view/plugins/second-party/#split-planes
6
6
  Project-URL: Source Code, https://github.com/Jaded-Encoding-Thaumaturgy/vs-view/tree/main/src/plugins/split-planes
@@ -8,29 +8,8 @@ Project-URL: Bug Tracker, https://github.com/Jaded-Encoding-Thaumaturgy/vs-view/
8
8
  Project-URL: Contact, https://discord.gg/XTpc6Fa9eB
9
9
  Author-email: Vardë <ichunjo.le.terrible@gmail.com>
10
10
  Maintainer-email: Vardë <ichunjo.le.terrible@gmail.com>, Jaded Encoding Thaumaturgy <jaded.encoding.thaumaturgy@gmail.com>
11
- License: MIT License
12
-
13
- Copyright (c) 2025 Jaded Encoding Thaumaturgy
14
-
15
- Permission is hereby granted, free of charge, to any person obtaining a copy
16
- of this software and associated documentation files (the "Software"), to deal
17
- in the Software without restriction, including without limitation the rights
18
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19
- copies of the Software, and to permit persons to whom the Software is
20
- furnished to do so, subject to the following conditions:
21
-
22
- The above copyright notice and this permission notice shall be included in all
23
- copies or substantial portions of the Software.
24
-
25
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31
- SOFTWARE.
11
+ License-Expression: MIT
32
12
  License-File: LICENSE
33
- Classifier: License :: OSI Approved :: MIT License
34
13
  Classifier: Operating System :: OS Independent
35
14
  Classifier: Programming Language :: Python :: 3
36
15
  Classifier: Programming Language :: Python :: 3.12
@@ -38,7 +17,8 @@ Classifier: Programming Language :: Python :: 3.13
38
17
  Classifier: Programming Language :: Python :: 3.14
39
18
  Classifier: Typing :: Typed
40
19
  Requires-Python: >=3.12
41
- Requires-Dist: vsjetpack>=1.1.0
20
+ Requires-Dist: vapoursynth-akarin>=1.4.0
21
+ Requires-Dist: vsjetpack>=1.5.0
42
22
  Requires-Dist: vsview
43
23
  Description-Content-Type: text/markdown
44
24
 
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["hatchling", "versioningit"]
2
+ requires = ["hatchling", "versioningit", "hatch-sbom[uv]>=0.3.0"]
3
3
  build-backend = "hatchling.build"
4
4
 
5
5
  [project]
@@ -7,7 +7,8 @@ name = "vsview-split-planes"
7
7
  dynamic = ["version"]
8
8
  description = "A vsview plugin displaying video clips' constituent planes"
9
9
  readme = "README.md"
10
- license = { file = "LICENSE" }
10
+ license = "MIT"
11
+ license-files = ["LICENSE"]
11
12
  requires-python = ">=3.12"
12
13
  authors = [{ name = "Vardë", email = "ichunjo.le.terrible@gmail.com" }]
13
14
  maintainers = [
@@ -15,7 +16,6 @@ maintainers = [
15
16
  { name = "Jaded Encoding Thaumaturgy", email = "jaded.encoding.thaumaturgy@gmail.com" },
16
17
  ]
17
18
  classifiers = [
18
- "License :: OSI Approved :: MIT License",
19
19
  "Programming Language :: Python :: 3",
20
20
  "Programming Language :: Python :: 3.12",
21
21
  "Programming Language :: Python :: 3.13",
@@ -23,7 +23,7 @@ classifiers = [
23
23
  "Operating System :: OS Independent",
24
24
  "Typing :: Typed",
25
25
  ]
26
- dependencies = ["vsview", "vsjetpack>=1.1.0"]
26
+ dependencies = ["vsview", "vsjetpack>=1.5.0", "vapoursynth-akarin>=1.4.0"]
27
27
 
28
28
  [project.entry-points.vsview]
29
29
  vsview_split_planes = "vsview_split_planes"
@@ -34,11 +34,13 @@ vsview_split_planes = "vsview_split_planes"
34
34
  "Bug Tracker" = "https://github.com/Jaded-Encoding-Thaumaturgy/vs-view/issues"
35
35
  "Contact" = "https://discord.gg/XTpc6Fa9eB"
36
36
 
37
- [tool.uv.sources]
38
- vsview = { workspace = true }
37
+ [tool.hatch.build.targets.wheel.hooks.sbom]
38
+ source = "uv"
39
39
 
40
- [tool.hatch.build.targets.wheel.hooks.custom]
41
- path = "../../../scripts/hatch_hooks.py"
40
+ [tool.hatch.build.targets.wheel.hooks.sbom.uv]
41
+ no-dev = true
42
+ frozen = false
43
+ no-sources = true
42
44
 
43
45
  [tool.hatch.version]
44
46
  source = "versioningit"
@@ -49,3 +51,11 @@ default-tag = "split-planes/v0.0.0"
49
51
 
50
52
  [tool.versioningit.tag2version]
51
53
  rmprefix = "split-planes/v"
54
+
55
+ [tool.versioningit.format]
56
+ distance = "{next_version}.dev{distance}+{vcs}{rev}"
57
+ dirty = "{next_version}+dirty"
58
+ distance-dirty = "{next_version}.dev{distance}+{vcs}{rev}.dirty"
59
+
60
+ [tool.uv.sources]
61
+ vsview = { workspace = true }
@@ -1,5 +1,5 @@
1
1
  from math import copysign
2
- from typing import Annotated, Any, Literal, assert_never
2
+ from typing import Annotated, Any, Literal, assert_never, override
3
3
 
4
4
  from jetpytools import fallback
5
5
  from pydantic import BaseModel
@@ -169,12 +169,14 @@ class SplitPlanesView(PluginGraphicsView):
169
169
  if self.settings.local_.autofit:
170
170
  self.autofit_action.trigger()
171
171
 
172
+ @override
172
173
  def parent(self) -> SplitPlanesPlugin:
173
174
  if isinstance(parent := super().parent(), SplitPlanesPlugin):
174
175
  return parent
175
176
 
176
177
  raise NotImplementedError
177
178
 
179
+ @override
178
180
  def get_node(self, clip: VideoNode) -> VideoNode:
179
181
  if (offset_chroma := self.settings.local_.offset_chroma) is None:
180
182
  offset = False
@@ -230,6 +232,7 @@ class SplitPlanesView(PluginGraphicsView):
230
232
  self.parent().update_local_settings(offset_chroma=value)
231
233
  self.refresh()
232
234
 
235
+ @override
233
236
  def _on_autofit_action(self) -> None:
234
237
  super()._on_autofit_action()
235
238