vsjetengine 1.3.0__tar.gz → 1.5.0__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.
Files changed (37) hide show
  1. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/PKG-INFO +10 -5
  2. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/README.md +5 -3
  3. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/pyproject.toml +13 -5
  4. vsjetengine-1.5.0/tests/test_futures.py +686 -0
  5. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/tests/test_loop_adapters.py +100 -104
  6. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/tests/test_policy.py +30 -0
  7. vsjetengine-1.5.0/tests/test_pytest_plugin.py +779 -0
  8. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/tests/test_video.py +32 -1
  9. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/tests/test_vpy.py +30 -0
  10. vsjetengine-1.5.0/vsengine/_version.py +2 -0
  11. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/vsengine/futures.py +93 -51
  12. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/vsengine/policy.py +18 -2
  13. vsjetengine-1.5.0/vsengine/pytest.py +376 -0
  14. vsjetengine-1.3.0/tests/test_futures.py +0 -376
  15. vsjetengine-1.3.0/vsengine/_version.py +0 -2
  16. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/.gitignore +0 -0
  17. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/COPYING +0 -0
  18. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/tests/__init__.py +0 -0
  19. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/tests/_testutils.py +0 -0
  20. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/tests/conftest.py +0 -0
  21. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/tests/fixtures/heuristic_examples.json +0 -0
  22. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/tests/fixtures/test.vpy +0 -0
  23. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/tests/test_helpers.py +0 -0
  24. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/tests/test_hospice.py +0 -0
  25. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/tests/test_loops.py +0 -0
  26. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/tests/test_policy_store.py +0 -0
  27. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/vsengine/__init__.py +0 -0
  28. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/vsengine/_helpers.py +0 -0
  29. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/vsengine/_hospice.py +0 -0
  30. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/vsengine/_nodes.py +0 -0
  31. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/vsengine/adapters/__init__.py +0 -0
  32. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/vsengine/adapters/asyncio.py +0 -0
  33. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/vsengine/adapters/trio.py +0 -0
  34. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/vsengine/loops.py +0 -0
  35. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/vsengine/py.typed +0 -0
  36. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/vsengine/video.py +0 -0
  37. {vsjetengine-1.3.0 → vsjetengine-1.5.0}/vsengine/vpy.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vsjetengine
3
- Version: 1.3.0
3
+ Version: 1.5.0
4
4
  Summary: An engine for vapoursynth previewers, renderers and script analyis tools.
5
5
  Project-URL: Source Code, https://github.com/Jaded-Encoding-Thaumaturgy/vs-jet-engine
6
6
  Project-URL: Contact, https://discord.gg/XTpc6Fa9eB
@@ -295,6 +295,7 @@ License: EUROPEAN UNION PUBLIC LICENCE v. 1.2
295
295
  EUPL version.
296
296
  License-File: COPYING
297
297
  Classifier: Development Status :: 5 - Production/Stable
298
+ Classifier: Framework :: Pytest
298
299
  Classifier: License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)
299
300
  Classifier: Natural Language :: English
300
301
  Classifier: Operating System :: OS Independent
@@ -306,16 +307,18 @@ Classifier: Programming Language :: Python :: 3.14
306
307
  Classifier: Topic :: Multimedia :: Graphics
307
308
  Classifier: Typing :: Typed
308
309
  Requires-Python: >=3.12
309
- Requires-Dist: vapoursynth>=69
310
+ Requires-Dist: vapoursynth>=74
311
+ Provides-Extra: pytest
312
+ Requires-Dist: pytest>=9.1.0; extra == 'pytest'
310
313
  Provides-Extra: trio
311
314
  Requires-Dist: trio; extra == 'trio'
312
315
  Description-Content-Type: text/markdown
313
316
 
314
317
  # vs-jet-engine 🚀
315
318
 
316
- [![Lint](https://github.com/Jaded-Encoding-Thaumaturgy/vs-engine/actions/workflows/lint.yml/badge.svg)](https://github.com/Jaded-Encoding-Thaumaturgy/vs-engine/actions/workflows/lint.yml)
317
- [![Tests](https://github.com/Jaded-Encoding-Thaumaturgy/vs-engine/actions/workflows/test.yml/badge.svg)](https://github.com/Jaded-Encoding-Thaumaturgy/vs-engine/actions/workflows/test.yml)
318
- [![Coverage Status](https://coveralls.io/repos/github/Jaded-Encoding-Thaumaturgy/vs-engine/badge.svg?branch=main)](https://coveralls.io/github/Jaded-Encoding-Thaumaturgy/vs-engine?branch=main)
319
+ [![Lint](https://github.com/Jaded-Encoding-Thaumaturgy/vs-jet-engine/actions/workflows/lint.yml/badge.svg)](https://github.com/Jaded-Encoding-Thaumaturgy/vs-jet-engine/actions/workflows/lint.yml)
320
+ [![Tests](https://github.com/Jaded-Encoding-Thaumaturgy/vs-jet-engine/actions/workflows/test.yml/badge.svg)](https://github.com/Jaded-Encoding-Thaumaturgy/vs-jet-engine/actions/workflows/test.yml)
321
+ [![Coverage Status](https://coveralls.io/repos/github/Jaded-Encoding-Thaumaturgy/vs-jet-engine/badge.svg?branch=main)](https://coveralls.io/github/Jaded-Encoding-Thaumaturgy/vs-jet-engine?branch=main)
319
322
 
320
323
  An engine for vapoursynth previewers, renderers and script analysis tools.
321
324
 
@@ -341,7 +344,9 @@ with Policy(GlobalStore()) as policy, load_script("/path/to/script.vpy", policy)
341
344
 
342
345
  - **[Environment Policy](docs/policy.md)** - Managing VapourSynth environments with stores
343
346
  - **[Event Loops](docs/loops.md)** - Integration with asyncio, Trio, and custom loops
347
+ - **[Video Rendering](docs/video.md)** - Requesting frames and rendering clips synchronously or asynchronously
344
348
  - **[Script Execution](docs/vpy.md)** - Loading and running VapourSynth scripts
349
+ - **[Pytest Integration](docs/pytest.md)** - Isolating tests and detecting core memory leaks
345
350
 
346
351
  ## Contributing
347
352
 
@@ -1,8 +1,8 @@
1
1
  # vs-jet-engine 🚀
2
2
 
3
- [![Lint](https://github.com/Jaded-Encoding-Thaumaturgy/vs-engine/actions/workflows/lint.yml/badge.svg)](https://github.com/Jaded-Encoding-Thaumaturgy/vs-engine/actions/workflows/lint.yml)
4
- [![Tests](https://github.com/Jaded-Encoding-Thaumaturgy/vs-engine/actions/workflows/test.yml/badge.svg)](https://github.com/Jaded-Encoding-Thaumaturgy/vs-engine/actions/workflows/test.yml)
5
- [![Coverage Status](https://coveralls.io/repos/github/Jaded-Encoding-Thaumaturgy/vs-engine/badge.svg?branch=main)](https://coveralls.io/github/Jaded-Encoding-Thaumaturgy/vs-engine?branch=main)
3
+ [![Lint](https://github.com/Jaded-Encoding-Thaumaturgy/vs-jet-engine/actions/workflows/lint.yml/badge.svg)](https://github.com/Jaded-Encoding-Thaumaturgy/vs-jet-engine/actions/workflows/lint.yml)
4
+ [![Tests](https://github.com/Jaded-Encoding-Thaumaturgy/vs-jet-engine/actions/workflows/test.yml/badge.svg)](https://github.com/Jaded-Encoding-Thaumaturgy/vs-jet-engine/actions/workflows/test.yml)
5
+ [![Coverage Status](https://coveralls.io/repos/github/Jaded-Encoding-Thaumaturgy/vs-jet-engine/badge.svg?branch=main)](https://coveralls.io/github/Jaded-Encoding-Thaumaturgy/vs-jet-engine?branch=main)
6
6
 
7
7
  An engine for vapoursynth previewers, renderers and script analysis tools.
8
8
 
@@ -28,7 +28,9 @@ with Policy(GlobalStore()) as policy, load_script("/path/to/script.vpy", policy)
28
28
 
29
29
  - **[Environment Policy](docs/policy.md)** - Managing VapourSynth environments with stores
30
30
  - **[Event Loops](docs/loops.md)** - Integration with asyncio, Trio, and custom loops
31
+ - **[Video Rendering](docs/video.md)** - Requesting frames and rendering clips synchronously or asynchronously
31
32
  - **[Script Execution](docs/vpy.md)** - Loading and running VapourSynth scripts
33
+ - **[Pytest Integration](docs/pytest.md)** - Isolating tests and detecting core memory leaks
32
34
 
33
35
  ## Contributing
34
36
 
@@ -22,11 +22,12 @@ classifiers = [
22
22
  "Programming Language :: Python :: 3.13",
23
23
  "Programming Language :: Python :: 3.14",
24
24
  "Development Status :: 5 - Production/Stable",
25
+ "Framework :: Pytest",
25
26
  "License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)",
26
27
  "Operating System :: OS Independent",
27
28
  "Typing :: Typed",
28
29
  ]
29
- dependencies = ["vapoursynth>=69"]
30
+ dependencies = ["vapoursynth>=74"]
30
31
  dynamic = ["version"]
31
32
 
32
33
  [project.urls]
@@ -35,14 +36,18 @@ dynamic = ["version"]
35
36
 
36
37
  [project.optional-dependencies]
37
38
  trio = ["trio"]
39
+ pytest = ["pytest>=9.1.0"]
40
+
41
+ [project.entry-points.pytest11]
42
+ vsengine = "vsengine.pytest"
38
43
 
39
44
  [dependency-groups]
40
45
  dev = [
41
- "mypy>=1.19.0",
42
- "pytest>=9.0.1",
46
+ "mypy>=2.1.0",
47
+ "pytest>=9.1.0",
43
48
  "pytest-cov>=7.0.0",
44
49
  "pytest-asyncio>=0.24.0",
45
- "ruff>=0.14.7",
50
+ "ruff>=0.15.20",
46
51
  "trio",
47
52
  "vsstubs ; python_version>='3.13'",
48
53
  ]
@@ -69,10 +74,13 @@ exclude = ["tests"]
69
74
  include = ["vsengine", "tests"]
70
75
 
71
76
  [tool.pytest.ini_options]
72
- pythonpath = "."
77
+ testpaths = "tests"
73
78
  asyncio_mode = "auto"
74
79
  asyncio_default_fixture_loop_scope = "function"
75
80
 
81
+ [tool.coverage.run]
82
+ omit = ["vsengine/_version.py", "vsengine/__init__.py", "tests/*"]
83
+
76
84
  [tool.mypy]
77
85
  mypy_path = "$MYPY_CONFIG_FILE_DIR/stubs"
78
86