Skip to main content

A CFFI-based wrapper for GLFW3

Project description

pyglfw-cffi

Written by Fabrice Salvaire.


This Python package provides a CFFI wrapper for the GLFW library.

GLFW is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.

Look the file simple-test.py to learn how to use the wrapper.

Installation

Dependencies

pyglfw-cffi requires the following dependencies:

Installation from PyPi Repository

pyglfw-cffi is made available on the PyPI repository at https://pypi.python.org/pypi/pyglfw-cffi

Run this command to install the last release:

pip install pyglfw-cffi

Installation from Source

The pyglfw-cffi source code is hosted at https://github.com/FabriceSalvaire/pyglfw-cffi

To clone the Git repository, run this command in a terminal:

git clone git@github.com:FabriceSalvaire/pyglfw-cffi.git

Then to build and install pyglfw-cffi run these commands:

python setup.py build
python setup.py install

Testing

To test the wrapper run this script:

python simple-test.py

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

pyglfw-cffi-0.1.0.tar.gz (372.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page