{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/6"},{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics"},{"label":"Physics","url":"https://skillfed.io/packages/category/scientific-engineering-physics"}],"enrichment":{"capability":"PyGLM provides Python bindings to OpenGL Mathematics (GLM), a C++ library for vector and matrix operations commonly used in graphics programming, physics simulations, and 3D applications.","skillfed_tags":["graphics-math","glm-bindings","performance-critical"],"use_cases":["Building OpenGL or DirectX rendering pipelines where you need fast matrix transformations and vector math","Physics simulations requiring quaternion rotations, cross products, and dot products for collision detection","3D graphics applications needing perspective and view matrix calculations for camera control","Game engines or graphics tools where performance-critical math operations must run faster than NumPy equivalents","Converting between graphics library APIs (e.g., passing GLM matrices to OpenGL via ctypes pointers)"],"what_it_does":"PyGLM is a Python extension written in C++ that wraps the GLM (OpenGL Mathematics) library, bringing high-performance vector and matrix operations to Python. It provides types like vec2, vec3, vec4, mat2, mat3, mat4, and quaternions, along with functions for geometric operations (cross product, dot product, rotation, perspective transforms) commonly needed in graphics pipelines, physics engines, and 3D applications. The library is designed to be mostly compatible with GLM's C++ API, adapted for Python syntax (using periods instead of double colons for namespacing).\n\nPyGLM supports the buffer protocol, making it interoperable with NumPy arrays and other buffer-compatible objects. It ships with prebuilt wheels for modern Python versions (3.9\u20133.14) on Windows, macOS, and Linux, reducing installation friction. The package includes typing stubs for IDE support and is marked as Production/Stable, though the last release was several months ago. It has no runtime dependencies, keeping the installation lightweight.","worth_installing":"Yes, if you are building graphics or physics applications in Python and need fast, GLM-compatible math operations. The permissive license, zero runtime dependencies, and broad platform support make it low-friction to adopt. The aging maintenance status (261 days since release) is a minor concern but not a blocker for stable, well-established functionality. Verify that the specific GLM features you need are supported (some experimental extensions are not)."},"id":"pyglm","links":{"html":"https://skillfed.io/packages/pyglm","md":"https://skillfed.io/packages/pyglm.md","pypi":"https://pypi.org/project/pyglm/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-11-26","license_spdx":null,"license_treatment":"permissive","name":"pyglm","python_support":"unspecified","summary":"OpenGL Mathematics library for Python"},"popularity":{"monthly_downloads":304484,"position":7804,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.8.3"}
