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.0
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.0.tar.gz | 431.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opngl-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 871.1 kB
Release files / opngl-0.1.0.tar.gz
| Download URL | opngl-0.1.0.tar.gz |
|---|---|
| Size | 431.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
956cacb76dad3214ef21abbd4a70f66a6c0b10c7ef38fce1b3b3a15928aedd06
|
|
BLAKE2b-256 checksum How to use checksums |
11a96803f6224dd7af5044be2ac638afd92c58ac362278bacc081a2c976bf57a
|
| 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.0-py3-none-any.whl
| Download URL | opngl-0.1.0-py3-none-any.whl |
|---|---|
| Size | 440.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f70a220296c055aefddc517cfdddeae0aa5899bf5e81a429468e6638b7bd674
|
|
BLAKE2b-256 checksum How to use checksums |
d08217954653b8e3375c8c4ba662abc472740fcadebd64dc9478882802d9f8a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|