Python wrapper for the GPU texture sharing framework Syphon.
Project description
Syphon for Python
⚠️ This library is still under development.
Python wrapper for the GPU texture sharing framework Syphon. This library has been created to support the Metal backend as well as the deprecated OpenGL backend.
The implementation is based on PyObjC to wrap the Syphon-Framework directly from within Python. This approach removes the need of a native wrapper and allows Python developers to extend the library if needed.
State of Development
- Syphon Server Discovery
- Metal Server
- Metal Client
- OpenGL Server
- OpenGL Client
- Syphon Client On Frame Callback
Installation
# clone the repository and it's submodules
git clone --recurse-submodules https://github.com/cansik/syphon-python.git
# install dependencies
pip install -r dev-requirements.txt
pip install -r requirements.txt
# for some examples the following dependencies are needed
pip install numpy
pip install opencv-python
Build
Build the Syphon-Framework on your machine:
python setup.py build
Distribute
Create a wheel package (also runs build
automatically)
python setup.py bdist_wheel
Generate Documentation
# create documentation into "./docs
python setup.py doc
# launch pdoc webserver
python setup.py doc --launch
About
MIT License - Copyright (c) 2023 Florian Bruggisser
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file syphon_python-0.1.0-cp312-cp312-macosx_10_9_universal2.whl
.
File metadata
- Download URL: syphon_python-0.1.0-cp312-cp312-macosx_10_9_universal2.whl
- Upload date:
- Size: 458.9 kB
- Tags: CPython 3.12, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f87ffffab140e3836724848f77bf473e530d64d098ef54aa0efa098d9cb8a654 |
|
MD5 | 80ecf383ed6969fcf0d88224a8d1bac7 |
|
BLAKE2b-256 | a437be51038f0eac4e9fe3feb61c35a3a7f8ea78b5c65623e4e5ce9efac5d8f6 |
File details
Details for the file syphon_python-0.1.0-cp311-cp311-macosx_10_9_universal2.whl
.
File metadata
- Download URL: syphon_python-0.1.0-cp311-cp311-macosx_10_9_universal2.whl
- Upload date:
- Size: 458.9 kB
- Tags: CPython 3.11, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0064100cdd661f8648464cec61a5776f64cce5724d6eb4cfa478d1bcda30426 |
|
MD5 | 3d3c75ec35ea5e8965319d09d482ae36 |
|
BLAKE2b-256 | 127ffe2584146c4c29c5393277fcebb5aff1356973b0b53839db2234f5728499 |
File details
Details for the file syphon_python-0.1.0-cp310-cp310-macosx_10_9_universal2.whl
.
File metadata
- Download URL: syphon_python-0.1.0-cp310-cp310-macosx_10_9_universal2.whl
- Upload date:
- Size: 459.0 kB
- Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bea753f80c84ccb42c031656fad5bdd33867670a0e8074222efc22214dac9d6 |
|
MD5 | 1ba38e8512161f261465d40d561d737e |
|
BLAKE2b-256 | 19bf060b8a505f9def72e9e1008533099325f94fdb08980b92dd37137a973b4a |
File details
Details for the file syphon_python-0.1.0-cp39-cp39-macosx_10_9_universal2.whl
.
File metadata
- Download URL: syphon_python-0.1.0-cp39-cp39-macosx_10_9_universal2.whl
- Upload date:
- Size: 458.8 kB
- Tags: CPython 3.9, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bdb985948fc02cd9f40361d2ae82dd9f862d2dd37bbae776de8b4f59e69bd25 |
|
MD5 | 5dec98848140c8d2a2babe0fd6a5d079 |
|
BLAKE2b-256 | 21085d2d4426d3c4d309315df706777c559a37b3c18dac1ceef199a57fc472d7 |
File details
Details for the file syphon_python-0.1.0-cp38-cp38-macosx_10_9_universal2.whl
.
File metadata
- Download URL: syphon_python-0.1.0-cp38-cp38-macosx_10_9_universal2.whl
- Upload date:
- Size: 459.0 kB
- Tags: CPython 3.8, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 106c2b40ab42df84b91f4f39221fc9b6428d3f9bfbd8bc10b0088bf9775b31d8 |
|
MD5 | ac93046860c8a96bc3d982e7150195e2 |
|
BLAKE2b-256 | c30b0ee9918be31f0cda75b0735994d15a7aa6e06165a3c924f0f7d7cc4676c5 |