SpoutGL 0.1.2__cp315-cp315-win_amd64.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.
- SpoutGL/Spout.dll +0 -0
- SpoutGL/__init__.py +12 -0
- SpoutGL/_spoutgl.cp315-win_amd64.pyd +0 -0
- SpoutGL/enums.py +1 -0
- SpoutGL/helpers.py +1 -0
- spoutgl-0.1.2.dist-info/DELVEWHEEL +2 -0
- spoutgl-0.1.2.dist-info/METADATA +74 -0
- spoutgl-0.1.2.dist-info/RECORD +13 -0
- spoutgl-0.1.2.dist-info/WHEEL +5 -0
- spoutgl-0.1.2.dist-info/licenses/LICENSE +27 -0
- spoutgl-0.1.2.dist-info/top_level.txt +1 -0
- spoutgl.libs/Spout-88ad0af0a936bf8b014e00e0f2626ebd.dll +0 -0
- spoutgl.libs/msvcp140-a4c2229bdc2a2a630acdc095b4d86008.dll +0 -0
SpoutGL/Spout.dll
ADDED
|
Binary file
|
SpoutGL/__init__.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"""""" # start delvewheel patch
|
|
2
|
+
def _delvewheel_patch_1_13_2():
|
|
3
|
+
import os
|
|
4
|
+
if os.path.isdir(libs_dir := os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, 'spoutgl.libs'))):
|
|
5
|
+
os.add_dll_directory(libs_dir)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
_delvewheel_patch_1_13_2()
|
|
9
|
+
del _delvewheel_patch_1_13_2
|
|
10
|
+
# end delvewheel patch
|
|
11
|
+
|
|
12
|
+
from ._spoutgl import *
|
|
Binary file
|
SpoutGL/enums.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from ._spoutgl.enums import *
|
SpoutGL/helpers.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from ._spoutgl.helpers import *
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
Version: 1.13.2
|
|
2
|
+
Arguments: ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-g2gzcfbx\\cp315-win_amd64\\build\\venv\\Scripts\\delvewheel', 'repair', '--add-path', './vendor/SpoutGL/Binaries/x64;./vendor/SpoutGL/Binaries/Win32', '-w', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-g2gzcfbx\\cp315-win_amd64\\repaired_wheel', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-g2gzcfbx\\cp315-win_amd64\\built_wheel\\spoutgl-0.1.2-cp315-cp315-win_amd64.whl']
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: SpoutGL
|
|
3
|
+
Version: 0.1.2
|
|
4
|
+
Summary: Wrapper around Spout frame streaming library for Windows
|
|
5
|
+
Home-page: https://github.com/jlai/Python-SpoutGL
|
|
6
|
+
Author: Jason Lai
|
|
7
|
+
License: BSD-3-Clause
|
|
8
|
+
Classifier: Development Status :: 3 - Alpha
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
11
|
+
Classifier: Topic :: Multimedia :: Graphics :: Capture
|
|
12
|
+
Classifier: Topic :: Multimedia :: Graphics :: Viewers
|
|
13
|
+
Requires-Python: >=3.11
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
License-File: LICENSE
|
|
16
|
+
Provides-Extra: test
|
|
17
|
+
Dynamic: author
|
|
18
|
+
Dynamic: classifier
|
|
19
|
+
Dynamic: description
|
|
20
|
+
Dynamic: description-content-type
|
|
21
|
+
Dynamic: home-page
|
|
22
|
+
Dynamic: license
|
|
23
|
+
Dynamic: license-file
|
|
24
|
+
Dynamic: provides-extra
|
|
25
|
+
Dynamic: requires-python
|
|
26
|
+
Dynamic: summary
|
|
27
|
+
|
|
28
|
+
SpoutGL for Python
|
|
29
|
+
==================
|
|
30
|
+
|
|
31
|
+
An unofficial Python wrapper for [Spout](https://leadedge.github.io/) using [pybind11](https://github.com/pybind/pybind11)
|
|
32
|
+
|
|
33
|
+
Key features compared to some previous wrappers:
|
|
34
|
+
- Covers more of the SpoutGL API, including sendImage/receiveImage, setFrameSync/waitFrameSync and data sharing
|
|
35
|
+
- pybind11 instead of Boost Python which should make it easier to build for multiple Python versions
|
|
36
|
+
- pip/wheel support for Python 3.11+ on both 64-bit and 32-bit Windows
|
|
37
|
+
- No external dependencies
|
|
38
|
+
|
|
39
|
+
# Installation
|
|
40
|
+
|
|
41
|
+
`pip install SpoutGL`
|
|
42
|
+
|
|
43
|
+
# Documentation
|
|
44
|
+
|
|
45
|
+
For now, refer to the [Spout SDK C++ documentation](https://spoutgl-site.netlify.app/#CClass:Spout)
|
|
46
|
+
and the examples in the [examples](https://github.com/jlai/Python-SpoutGL/tree/main/examples/) directory.
|
|
47
|
+
|
|
48
|
+
# Extras
|
|
49
|
+
|
|
50
|
+
These helper utilities are not part of the Spout SDK but added for convenience and performance.
|
|
51
|
+
|
|
52
|
+
## SpoutGL.helpers
|
|
53
|
+
|
|
54
|
+
Adds several functions that are useful in Blender and other environments
|
|
55
|
+
|
|
56
|
+
- getBytesPerPixel
|
|
57
|
+
- isBufferEmpty
|
|
58
|
+
- copyToFloat32
|
|
59
|
+
- copyToByteBuffer
|
|
60
|
+
|
|
61
|
+
## SpoutGL.enums
|
|
62
|
+
|
|
63
|
+
Exports supported GL format enums as integers:
|
|
64
|
+
|
|
65
|
+
- GL_RGBA
|
|
66
|
+
- GL_BGRA_EXT
|
|
67
|
+
- GL_RGB
|
|
68
|
+
- GL_BGR_EXT
|
|
69
|
+
|
|
70
|
+
# License & Disclaimer
|
|
71
|
+
|
|
72
|
+
Licensed under the BSD license. See the LICENSE file for details.
|
|
73
|
+
|
|
74
|
+
This is not an officially supported Google product.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
SpoutGL/enums.py,sha256=uXcOkOS5t9P9XIB-FVWMN3U_awUZsN2PTj7U8zxiUJY,31
|
|
2
|
+
SpoutGL/helpers.py,sha256=DOeCR0o8bR3Inb_pHKgNcW4TxjXACuAukirocn7euBY,33
|
|
3
|
+
SpoutGL/Spout.dll,sha256=iK0K8Kk2v4sBTgDg8mJuvTEZ6HXh69d2B5NSwqckKiw,500736
|
|
4
|
+
SpoutGL/_spoutgl.cp315-win_amd64.pyd,sha256=3i2heZCGQPNEsv0tJLSccbJxl7a3gC-DulVpuDy7nTU,274432
|
|
5
|
+
SpoutGL/__init__.py,sha256=BLxfD9eAka0j3gyVdhDegw-7NmH3opRbRfLZN2mbkiY,354
|
|
6
|
+
spoutgl-0.1.2.dist-info/DELVEWHEEL,sha256=I81Fr8MMZj7PXAKU93iI89-iuEYiQu-nEKFs1jDCwMY,479
|
|
7
|
+
spoutgl-0.1.2.dist-info/METADATA,sha256=1wCYVSsopfOETJenPFA-D2K8jOEkaty5Y1aH1pktBZ0,2177
|
|
8
|
+
spoutgl-0.1.2.dist-info/RECORD,,
|
|
9
|
+
spoutgl-0.1.2.dist-info/top_level.txt,sha256=Yk1WdRUm5lddHQivjl4u_hb-TBNFcsi6sEJtX2thw0s,8
|
|
10
|
+
spoutgl-0.1.2.dist-info/WHEEL,sha256=0gLwYZa0C2fhgCxWR2c8HahwUiopqonVCV0wVwEg6fE,101
|
|
11
|
+
spoutgl-0.1.2.dist-info/licenses/LICENSE,sha256=tuWfGG6QmbJhor3kfk_Jx9WY0MuOG5zatQ4sTY9eIZs,1475
|
|
12
|
+
spoutgl.libs/msvcp140-a4c2229bdc2a2a630acdc095b4d86008.dll,sha256=pMIim9wqKmMKzcCVtNhgCOXD47x3cxdDVPPaT1vrnN4,575056
|
|
13
|
+
spoutgl.libs/Spout-88ad0af0a936bf8b014e00e0f2626ebd.dll,sha256=iK0K8Kk2v4sBTgDg8mJuvTEZ6HXh69d2B5NSwqckKiw,500736
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Copyright 2021 Google LLC
|
|
2
|
+
|
|
3
|
+
Redistribution and use in source and binary forms, with or without
|
|
4
|
+
modification, are permitted provided that the following conditions are
|
|
5
|
+
met:
|
|
6
|
+
|
|
7
|
+
* Redistributions of source code must retain the above copyright
|
|
8
|
+
notice, this list of conditions and the following disclaimer.
|
|
9
|
+
* Redistributions in binary form must reproduce the above
|
|
10
|
+
copyright notice, this list of conditions and the following disclaimer
|
|
11
|
+
in the documentation and/or other materials provided with the
|
|
12
|
+
distribution.
|
|
13
|
+
* Neither the name of Google LLC nor the names of its
|
|
14
|
+
contributors may be used to endorse or promote products derived from
|
|
15
|
+
this software without specific prior written permission.
|
|
16
|
+
|
|
17
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
18
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
19
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
20
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
21
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
22
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
23
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
24
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
25
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
26
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
27
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
SpoutGL
|
|
Binary file
|
|
Binary file
|