Skip to main content

Wrapper around Spout frame streaming library for Windows

Project description

SpoutGL for Python

An unofficial Python wrapper for Spout using pybind11

Key features compared to some previous wrappers:

  • Covers more of the SpoutGL API, including sendImage/receiveImage, setFrameSync/waitFrameSync and data sharing
  • pybind11 instead of Boost Python which should make it easier to build for multiple Python versions
  • pip/wheel support for Python 3.7+ on both 64-bit and 32-bit Windows
  • No external dependencies

Installation

pip install SpoutGL

Documentation

For now, refer to the Spout SDK C++ documentation and the examples in the examples directory.

Extras

These helper utilities are not part of the Spout SDK but added for convenience and performance.

SpoutGL.helpers

Adds several functions that are useful in Blender and other environments

  • getBytesPerPixel
  • isBufferEmpty
  • copyToFloat32
  • copyToByteBuffer

SpoutGL.enums

Exports supported GL format enums as integers:

  • GL_RGBA
  • GL_BGRA_EXT
  • GL_RGB
  • GL_BGR_EXT

License & Disclaimer

Licensed under the BSD license. See the LICENSE file for details.

This is not an officially supported Google product.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SpoutGL-0.0.6.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distributions

SpoutGL-0.0.6-pp310-pypy310_pp73-win_amd64.whl (284.3 kB view hashes)

Uploaded PyPy Windows x86-64

SpoutGL-0.0.6-pp39-pypy39_pp73-win_amd64.whl (284.3 kB view hashes)

Uploaded PyPy Windows x86-64

SpoutGL-0.0.6-pp38-pypy38_pp73-win_amd64.whl (284.3 kB view hashes)

Uploaded PyPy Windows x86-64

SpoutGL-0.0.6-pp37-pypy37_pp73-win_amd64.whl (284.1 kB view hashes)

Uploaded PyPy Windows x86-64

SpoutGL-0.0.6-cp312-cp312-win_amd64.whl (285.6 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

SpoutGL-0.0.6-cp312-cp312-win32.whl (243.0 kB view hashes)

Uploaded CPython 3.12 Windows x86

SpoutGL-0.0.6-cp311-cp311-win_amd64.whl (286.3 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

SpoutGL-0.0.6-cp311-cp311-win32.whl (244.6 kB view hashes)

Uploaded CPython 3.11 Windows x86

SpoutGL-0.0.6-cp310-cp310-win_amd64.whl (285.1 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

SpoutGL-0.0.6-cp310-cp310-win32.whl (243.5 kB view hashes)

Uploaded CPython 3.10 Windows x86

SpoutGL-0.0.6-cp39-cp39-win_amd64.whl (283.5 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

SpoutGL-0.0.6-cp39-cp39-win32.whl (243.5 kB view hashes)

Uploaded CPython 3.9 Windows x86

SpoutGL-0.0.6-cp38-cp38-win_amd64.whl (285.1 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

SpoutGL-0.0.6-cp38-cp38-win32.whl (243.3 kB view hashes)

Uploaded CPython 3.8 Windows x86

SpoutGL-0.0.6-cp37-cp37m-win_amd64.whl (285.5 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

SpoutGL-0.0.6-cp37-cp37m-win32.whl (244.0 kB view hashes)

Uploaded CPython 3.7m Windows x86

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page