Skip to main content

Python wrapper for the GPU texture sharing framework Syphon.

Project description

Syphon for Python

Documentation Build PyPI

⚠️ 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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

syphon_python-0.1.0-cp312-cp312-macosx_10_9_universal2.whl (458.9 kB view details)

Uploaded CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64)

syphon_python-0.1.0-cp311-cp311-macosx_10_9_universal2.whl (458.9 kB view details)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

syphon_python-0.1.0-cp310-cp310-macosx_10_9_universal2.whl (459.0 kB view details)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

syphon_python-0.1.0-cp39-cp39-macosx_10_9_universal2.whl (458.8 kB view details)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)

syphon_python-0.1.0-cp38-cp38-macosx_10_9_universal2.whl (459.0 kB view details)

Uploaded CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file syphon_python-0.1.0-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for syphon_python-0.1.0-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f87ffffab140e3836724848f77bf473e530d64d098ef54aa0efa098d9cb8a654
MD5 80ecf383ed6969fcf0d88224a8d1bac7
BLAKE2b-256 a437be51038f0eac4e9fe3feb61c35a3a7f8ea78b5c65623e4e5ce9efac5d8f6

See more details on using hashes here.

File details

Details for the file syphon_python-0.1.0-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for syphon_python-0.1.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d0064100cdd661f8648464cec61a5776f64cce5724d6eb4cfa478d1bcda30426
MD5 3d3c75ec35ea5e8965319d09d482ae36
BLAKE2b-256 127ffe2584146c4c29c5393277fcebb5aff1356973b0b53839db2234f5728499

See more details on using hashes here.

File details

Details for the file syphon_python-0.1.0-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for syphon_python-0.1.0-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3bea753f80c84ccb42c031656fad5bdd33867670a0e8074222efc22214dac9d6
MD5 1ba38e8512161f261465d40d561d737e
BLAKE2b-256 19bf060b8a505f9def72e9e1008533099325f94fdb08980b92dd37137a973b4a

See more details on using hashes here.

File details

Details for the file syphon_python-0.1.0-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for syphon_python-0.1.0-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2bdb985948fc02cd9f40361d2ae82dd9f862d2dd37bbae776de8b4f59e69bd25
MD5 5dec98848140c8d2a2babe0fd6a5d079
BLAKE2b-256 21085d2d4426d3c4d309315df706777c559a37b3c18dac1ceef199a57fc472d7

See more details on using hashes here.

File details

Details for the file syphon_python-0.1.0-cp38-cp38-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for syphon_python-0.1.0-cp38-cp38-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 106c2b40ab42df84b91f4f39221fc9b6428d3f9bfbd8bc10b0088bf9775b31d8
MD5 ac93046860c8a96bc3d982e7150195e2
BLAKE2b-256 c30b0ee9918be31f0cda75b0735994d15a7aa6e06165a3c924f0f7d7cc4676c5

See more details on using hashes here.

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