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.1
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.1.tar.gz | 433.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opngl-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 876.0 kB
Release files / opngl-0.1.1.tar.gz
| Download URL | opngl-0.1.1.tar.gz |
|---|---|
| Size | 433.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f326df4c3bad8be46e95f9701fe27bab9bb05add7090a9c493d1018e459b38bb
|
|
BLAKE2b-256 checksum How to use checksums |
22a7f14a1ef2e280dfed3af4fd4424422f3d65ab69425a752567472affad00d3
|
| 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.1-py3-none-any.whl
| Download URL | opngl-0.1.1-py3-none-any.whl |
|---|---|
| Size | 442.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
750fe6cec1de5b1df6fe2c5924c33cb3b7f754bbe1b9d0e60f07721d48806043
|
|
BLAKE2b-256 checksum How to use checksums |
2dbc2dd27a38bad6eb16bdcedcfd8e966370a22e754c0fb915455e4c59bbecf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|