sourcepp 2025.5.18.dev1__tar.gz → 2025.5.25.dev2__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.
@@ -30,7 +30,7 @@ endif()
30
30
  set(CMAKE_POSITION_INDEPENDENT_CODE ON)
31
31
 
32
32
  set(SOURCEPP_BUILD_PYTHON_WRAPPERS ON CACHE INTERNAL "" FORCE)
33
- set(SOURCEPP_VERSION "2025.05.18dev1")
33
+ set(SOURCEPP_VERSION "2025.05.25.dev2")
34
34
 
35
35
  # As weird as this looks, this is necessary for sdist wheel
36
36
  set(SOURCEPP_PYTHON_IS_SUBDIR OFF)
@@ -41,6 +41,6 @@ else()
41
41
  FetchContent_Declare(
42
42
  sourcepp
43
43
  GIT_REPOSITORY "https://github.com/craftablescience/sourcepp.git"
44
- GIT_TAG "3691a37d202221d43452039faa7ee9acc6106595")
44
+ GIT_TAG "3a4895adc24c1636a07d5808f2777a385846ba2b")
45
45
  FetchContent_MakeAvailable(sourcepp)
46
46
  endif()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sourcepp
3
- Version: 2025.5.18.dev1
3
+ Version: 2025.5.25.dev2
4
4
  Summary: Several modern C++20 libraries for sanely parsing Valve formats.
5
5
  Author-Email: craftablescience <lauralewisdev@gmail.com>
6
6
  Maintainer-Email: craftablescience <lauralewisdev@gmail.com>
@@ -288,11 +288,11 @@ Several modern C++20 libraries for sanely parsing Valve formats, rolled into one
288
288
  </tr>
289
289
  <tr><!-- empty row to disable github striped bg color --></tr>
290
290
  <tr>
291
- <td rowspan="31"><code>vtfpp</code></td>
291
+ <td rowspan="33"><code>vtfpp</code></td>
292
292
  <td><a href="https://wiki.mozilla.org/APNG_Specification">APNG</a></td>
293
293
  <td align="center">✅</td>
294
294
  <td align="center">❌</td>
295
- <td rowspan="31" align="center">C<br>Python</td>
295
+ <td rowspan="33" align="center">C<br>Python</td>
296
296
  </tr>
297
297
  <tr><!-- empty row to disable github striped bg color --></tr>
298
298
  <tr>
@@ -355,6 +355,12 @@ Several modern C++20 libraries for sanely parsing Valve formats, rolled into one
355
355
  <td align="center">❌</td>
356
356
  </tr>
357
357
  <tr><!-- empty row to disable github striped bg color --></tr>
358
+ <tr>
359
+ <td><a href="https://qoiformat.org">QOI</a></td>
360
+ <td align="center">✅</td>
361
+ <td align="center">✅</td>
362
+ </tr>
363
+ <tr><!-- empty row to disable github striped bg color --></tr>
358
364
  <tr>
359
365
  <td><a href="https://developer.valvesoftware.com/wiki/Animated_Particles">SHT</a> v0-1</td>
360
366
  <td align="center">✅</td>
@@ -414,6 +420,7 @@ found on PyPI in the [sourcepp](https://pypi.org/project/sourcepp) package.
414
420
  - `vpkpp`'s ORE parser is based on [reverse-engineering work](https://github.com/erysdren/narbacular-drop-tools) by [@erysdren](https://github.com/erysdren).
415
421
  - `vpkpp`'s VPP parser was contributed by [@erysdren](https://github.com/erysdren).
416
422
  - `vpkpp`'s WAD3 parser/writer was contributed by [@ozxybox](https://github.com/ozxybox).
423
+ - `vtfpp`'s NICE/Lanczos-3 resize filter support was contributed by [@koerismo](https://github.com/koerismo).
417
424
  - `vtfpp`'s SHT parser/writer was contributed by [@Trico Everfire](https://github.com/Trico-Everfire).
418
425
  - `vtfpp`'s VTF write support is loosely based on work by [@Trico Everfire](https://github.com/Trico-Everfire).
419
426
  - `vtfpp`'s HDRI to cubemap conversion code is modified from the [HdriToCubemap](https://github.com/ivarout/HdriToCubemap) library by [@ivarout](https://github.com/ivarout).
@@ -266,11 +266,11 @@ Several modern C++20 libraries for sanely parsing Valve formats, rolled into one
266
266
  </tr>
267
267
  <tr><!-- empty row to disable github striped bg color --></tr>
268
268
  <tr>
269
- <td rowspan="31"><code>vtfpp</code></td>
269
+ <td rowspan="33"><code>vtfpp</code></td>
270
270
  <td><a href="https://wiki.mozilla.org/APNG_Specification">APNG</a></td>
271
271
  <td align="center">✅</td>
272
272
  <td align="center">❌</td>
273
- <td rowspan="31" align="center">C<br>Python</td>
273
+ <td rowspan="33" align="center">C<br>Python</td>
274
274
  </tr>
275
275
  <tr><!-- empty row to disable github striped bg color --></tr>
276
276
  <tr>
@@ -333,6 +333,12 @@ Several modern C++20 libraries for sanely parsing Valve formats, rolled into one
333
333
  <td align="center">❌</td>
334
334
  </tr>
335
335
  <tr><!-- empty row to disable github striped bg color --></tr>
336
+ <tr>
337
+ <td><a href="https://qoiformat.org">QOI</a></td>
338
+ <td align="center">✅</td>
339
+ <td align="center">✅</td>
340
+ </tr>
341
+ <tr><!-- empty row to disable github striped bg color --></tr>
336
342
  <tr>
337
343
  <td><a href="https://developer.valvesoftware.com/wiki/Animated_Particles">SHT</a> v0-1</td>
338
344
  <td align="center">✅</td>
@@ -392,6 +398,7 @@ found on PyPI in the [sourcepp](https://pypi.org/project/sourcepp) package.
392
398
  - `vpkpp`'s ORE parser is based on [reverse-engineering work](https://github.com/erysdren/narbacular-drop-tools) by [@erysdren](https://github.com/erysdren).
393
399
  - `vpkpp`'s VPP parser was contributed by [@erysdren](https://github.com/erysdren).
394
400
  - `vpkpp`'s WAD3 parser/writer was contributed by [@ozxybox](https://github.com/ozxybox).
401
+ - `vtfpp`'s NICE/Lanczos-3 resize filter support was contributed by [@koerismo](https://github.com/koerismo).
395
402
  - `vtfpp`'s SHT parser/writer was contributed by [@Trico Everfire](https://github.com/Trico-Everfire).
396
403
  - `vtfpp`'s VTF write support is loosely based on work by [@Trico Everfire](https://github.com/Trico-Everfire).
397
404
  - `vtfpp`'s HDRI to cubemap conversion code is modified from the [HdriToCubemap](https://github.com/ivarout/HdriToCubemap) library by [@ivarout](https://github.com/ivarout).
@@ -278,6 +278,31 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
278
278
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
279
279
 
280
280
 
281
+ --------------- qoi ---------------
282
+
283
+ MIT License
284
+
285
+ Copyright (c) 2022 Dominic Szablewski
286
+
287
+ Permission is hereby granted, free of charge, to any person obtaining a copy
288
+ of this software and associated documentation files (the "Software"), to deal
289
+ in the Software without restriction, including without limitation the rights
290
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
291
+ copies of the Software, and to permit persons to whom the Software is
292
+ furnished to do so, subject to the following conditions:
293
+
294
+ The above copyright notice and this permission notice shall be included in all
295
+ copies or substantial portions of the Software.
296
+
297
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
298
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
299
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
300
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
301
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
302
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
303
+ SOFTWARE.
304
+
305
+
281
306
  --------------- SciPy ---------------
282
307
 
283
308
  Copyright (c) 2001-2002 Enthought, Inc. 2003, SciPy Developers.
@@ -5,7 +5,7 @@ build-backend = "scikit_build_core.build"
5
5
 
6
6
  [project]
7
7
  name = "sourcepp"
8
- version = "2025.05.18dev1"
8
+ version = "2025.05.25.dev2"
9
9
  authors = [{ name = "craftablescience", email = "lauralewisdev@gmail.com" }]
10
10
  maintainers = [{ name = "craftablescience", email = "lauralewisdev@gmail.com" }]
11
11
  description = "Several modern C++20 libraries for sanely parsing Valve formats."
@@ -1,5 +1,5 @@
1
1
  from ._sourcepp_impl import __doc__, bsppp, gamepp, sourcepp, steampp, toolpp, vcryptpp, vtfpp
2
2
 
3
3
  __author__ = "craftablescience"
4
- __version__ = "2025.05.18dev1"
4
+ __version__ = "2025.05.25.dev2"
5
5
  __all__ = ['__author__', '__doc__', '__version__', 'bsppp', 'gamepp', 'sourcepp', 'steampp', 'toolpp', 'vcryptpp', 'vtfpp']
@@ -133,9 +133,10 @@ void register_python(py::module_& m) {
133
133
  py::enum_<FileFormat>(ImageConversion, "FileFormat")
134
134
  .value("DEFAULT", FileFormat::DEFAULT)
135
135
  .value("PNG", FileFormat::PNG)
136
- .value("JPEG", FileFormat::JPEG)
136
+ .value("JPG", FileFormat::JPG)
137
137
  .value("BMP", FileFormat::BMP)
138
138
  .value("TGA", FileFormat::TGA)
139
+ .value("QOI", FileFormat::QOI)
139
140
  .value("HDR", FileFormat::HDR)
140
141
  .value("EXR", FileFormat::EXR)
141
142
  .export_values();
@@ -170,6 +171,7 @@ void register_python(py::module_& m) {
170
171
  .value("MITCHELL", ResizeFilter::MITCHELL)
171
172
  .value("POINT_SAMPLE", ResizeFilter::POINT_SAMPLE)
172
173
  .value("KAISER", ResizeFilter::KAISER)
174
+ .value("NICE", ResizeFilter::NICE)
173
175
  .export_values();
174
176
 
175
177
  py::enum_<ResizeMethod>(ImageConversion, "ResizeMethod")