Skip to main content

Python wrapper for Ygl

Ygl, developed by Fred Hucht, emulates a significant subset of SGI’s IRIS GL on X11. IRIS GL was a precursor to OpenGL. Ygl is an easy to use library. This package provides a ctypes-based, Python wrapper for Ygl. It also provides a convenient and rather simple plotting interface.

It is perhaps a lot more convenient to use OpenGL via PyOpenGL, however, I am providing this wrapper for legacy support for applications that have used Ygl. I used to provide a SWIG based wrapper but a ctypes based wrapper is a lot easier to build and install.

Installation

You will require to have Ygl installed. Under Debian/Ubuntu, this is easily done by installing libygl4 like so:

$ sudo apt-get install libygl4

If you are not on Debian or Ubuntu you would need to install Ygl from the sources downloadable from the Ygl webpage.

To install the wrapper you should be able to simply do:

$ easy_install ygl

Examples

There are a few sample examples in the examples directory of the source package. These should show you how to use both the ygl module and the yplot module. A simple example of how to use yplot is in examples/plot.py.

Metadata

Release files for ygl 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ygl 1.0
File Size Uploaded
ygl-1.0.tar.gz 21.6 kB Details

Release files / ygl-1.0.tar.gz

Download URL ygl-1.0.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
86b06108557e5d35e53d1a3d70505b52eb20eee6a82c3204a5b015c39236fe24
BLAKE2b-256 checksum
How to use checksums
9404d0a84055aa68b10b1073b6f2883c23bd84aa1dc346e6a90e8dcb82a89ccb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page