Instalación
Requiere Python 3.9+, drivers de Vulkan (libvulkan.so.1) y
glslangValidator en el PATH.
pip install opngl # sonido opcional: pip install "opngl[audio]"
Para instalarlo desde este repositorio:
git clone https://github.com/aminbena010-ai/OpnGL.git
cd OpnGL
pip install .
Uso mínimo
from opngl import App
app = App(title="Mi App")
app.label(text="Motor OpnGL activo (Vulkan puro)", font_size=22)
app.button(text="Cerrar", id="btn_close")
app.on_click("btn_close", lambda b: app.quit())
app.run()
También puedes definir la UI declarativamente desde XML: App("ui.xml").
Demo integrada: python -m opngl o el comando opngl.
Licencia
OpnGL se distribuye bajo la Licencia MIT con cláusula de atribución a
BluePanda. Texto completo en LICENSE.
Copyright (c) 2026 BluePanda
Metadata
Release files for opngl 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opngl-0.1.2.tar.gz | 433.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opngl-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 875.6 kB
Release files / opngl-0.1.2.tar.gz
| Download URL | opngl-0.1.2.tar.gz |
|---|---|
| Size | 433.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd5b402e24cc381ba44a36049f0aa8077ee6f63101240dd0c086ed8e427ddef8
|
|
BLAKE2b-256 checksum How to use checksums |
54771d78018cf4636a4bb8b907ef3d7b23d2e7a7b3e9837c8afd979ab16e388e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / opngl-0.1.2-py3-none-any.whl
| Download URL | opngl-0.1.2-py3-none-any.whl |
|---|---|
| Size | 442.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fcc9bf7c11b504959c72b2348fa93d704d800a199c73f6bba58296e9aa6dc5b0
|
|
BLAKE2b-256 checksum How to use checksums |
fb28da44ecc21624de68fdce61424cb053a9a9af9190d4e78c32c4ca61169aac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|