Skip to main content
ISKG logo

ISKG

IFAZ Widget Toolkit — Python GUI framework ligero

CI Python License Release Platform


ISKG renders native-looking widgets as HTML/CSS/JS inside a native window via pywebview.

No browser, no HTTP server — just a Python process and a lightweight WebView.

What's new in 0.4.12

  • padx/pady now accept tkinter-style tuples in pack(), grid() and Box: pady=(0, 8) means top 0, bottom 8. Before, tuples were interpolated straight into CSS (padding-top:(0, 8)px), which the browser silently dropped — so every example using them lost its spacing. A single int still means "both sides", and 0 still emits nothing so class-level padding keeps working.
  • PadValue is exported from iskg for annotating your own helpers.
  • 869 tests pass (2 skipped).

What's new in 0.4.11

  • Fixed blank/white window after the 2026-10 Arch update (WebKitGTK 2.54): ISKG now also sets WEBKIT_DISABLE_DMABUF_RENDERER=1, the documented workaround for GBM/dmabuf allocation failures on NVIDIA proprietary drivers. Set the variable yourself before launching to override.
  • Application(icon=...) with a missing file no longer hangs: the path is validated up front — ISKG warns on stderr and starts without an icon instead of blocking forever in run().
  • Examples fixed (async_task icon, data_widgets_demo ListBox callback).
  • iskg themes now lists the 16 runtime themes accepted by app.set_theme() instead of only the base CSS asset.
  • Features section corrected: 71 widgets (real names, real families) and 16 themes. 858 tests pass.

What's new in 0.4.10

  • macOS CI fix: tests/test_cli.py::test_run_non_python no longer relies on /etc/hostname (which does not exist on macOS). 854 tests pass on Linux, macOS, and Windows.

See CHANGELOG.md for the full history.

Features

  • 71 widgets across 5 families: inputs (Button, Entry, CheckBox, RadioButton, ComboBox, Slider, Scale, SpinBox, ToggleSwitch, RangeSlider, SearchCtrl, ColorPicker, FontPicker, DirectoryPicker, ImagePicker, DatePicker, TimePicker, DateTimePicker, Calendar), display (Label, IconLabel, ImageBox, ProgressBar, ProgressCircle, RadialGauge, Knob, LEDDisplay, IndicatorLED, StatusBar, Spinner, Clock, Badge, Avatar, Carousel, RichText, Text, LogViewer, Tooltip, MarkdownViewer), charts (BarChart, PieChart, ScatterPlot, Heatmap, Sparkline, TimeSeriesGraph, Canvas, GraphicsView), containers (Frame, ScrolledFrame, Notebook, TabBar, PanedWindow, Box, HBox, VBox, Spacer, Separator, ToolBar, MdiArea, MdiSubWindow, Modal, DropTarget, FileBrowser, ScrollBar), data & infra (ListBox, DataGrid, TreeView, MenuBar, MessageDialog, PropertyGrid, CommandPalette).
  • 16 built-in themes (app.set_theme("dracula"), iskg themes), switchable at runtime — plus a custom theme registry.
  • iskg CLI with iskg new, iskg run, iskg check, iskg bundle --standalone|--exe, and introspection commands (iskg info, iskg widgets, iskg themes).
  • Form validation (Form + 8 validators: Required, Range, Length, Pattern, Email, URL, Number, Custom).
  • I18n / L10n: tr() / _() with JSON or .mo catalogues, format_number / format_date, use_language() context manager.
  • Debug tools: qDebug / qInfo / qWarning / qCritical print helpers, WidgetInspector (Alt+I), fps_meter, enable_hot_reload for CSS.
  • Cross-platform: Linux, Windows, macOS, BSD (same codebase). XDG paths on Linux, ~/Library/Application Support on macOS, %APPDATA% on Windows.
  • Zero HTTP: no server, no ports, no browser tabs — just a window.
  • JS bridge: bidirectional Python ↔ JavaScript calls for real-time UI updates.
  • .tooltip on every widget: set via property or config().
  • after() timers: cancellable timer objects with .cancel() and .running.
  • Window flags for overlays: Application(on_top=True, frameless=True, easy_drag=True, x=..., y=...), live on_top() toggle, real geometry() position, and pywebview.api.resize(w, h) / pywebview.api.pause_drag() for custom HTML resize grips on frameless windows.
  • 7 embedded fonts (SIL OFL): Inter, JetBrains Mono, Nunito, Manrope, Space Grotesk, Fira Sans, Playfair Display — no CDN, todo embebido.

Quick start

# desde PyPI
pip install iskg

# from GitHub Releases
pip install https://github.com/Iskander-mlander/ISKG/releases/download/v0.4.15/iskg-0.4.15-py3-none-any.whl
from iskg import (
    Application,
    Button,
    Entry,
    Label,
    Frame,
    Slider,
    ComboBox,
    ProgressBar,
    ToggleSwitch,
)

app = Application(title="ISKG Quick Start", width=560, height=420)

# Root frame with a stretchable column 0
root = Frame(parent=None)
root.grid_columnconfigure(0, weight=1)

Label(parent=root, text="ISKG QUICK START", anchor="center", font="bold 16px").grid(
    row=0, column=0, columnspan=2, pady=4
)

# Greet: Entry in column 0, Button in column 1
name = Entry(parent=root, text="world")
name.grid(row=1, column=0, sticky="we", padx=8)

greeting = Label(parent=root, text="Hello, world!")
greeting.grid(row=2, column=0, sticky="w", padx=8)


def on_greet():
    greeting.config(text=f"Hello, {name.text or 'world'}!")


Button(parent=root, text="Greet", command=on_greet).grid(row=1, column=1, padx=8)

# Slider drives the ProgressBar
slider = Slider(parent=root, from_=0, to=100, value=30)
slider.grid(row=3, column=0, sticky="we", padx=8)

progress = ProgressBar(parent=root, max_=100, value=30)
progress.grid(row=4, column=0, sticky="we", padx=8)


def on_slider_change(_data):
    progress.value = slider.value


slider.bind("change", on_slider_change)

# Theme picker + a toggle
combo = ComboBox(
    parent=root,
    values=["ifaz", "desert", "cyberdusk", "night", "warm", "cold", "light"],
    command=lambda _d: app.set_theme(combo.value),
)
combo.grid(row=5, column=0, sticky="we", padx=8)

ToggleSwitch(parent=root, text="Extra").grid(row=5, column=1, padx=8)

Label(parent=root, text="Ready", anchor="center").grid(
    row=6, column=0, columnspan=2, pady=(0, 8)
)

app.add(root)
app.run()

Installation

pip install iskg          # desde PyPI (Python 3.10+)

Platform-specific dependencies (pywebview backends)

ISKG uses pywebview which delegates to a native WebView. You need:

Linux (any distro) — install WebKit2GTK + GTK3 + GObject Introspection:

# Arch / Manjaro
sudo pacman -S gtk3 webkit2gtk-4.1 python-gobject

# Debian / Ubuntu
sudo apt install python3-gi gir1.2-webkit2-4.1

# Fedora
sudo dnf install gtk3 webkit2gtk4.1 python3-gobject

# openSUSE
sudo zypper install gtk3 libwebkit2gtk-4_1-0 python3-gobject

Windows — pywebview ships with a bundled Edge WebView2 runtime. No additional system dependencies required. Python 3.10+ (32 or 64 bit). If Edge WebView2 is not installed (older Windows 10 builds), download it from microsoft.com.

macOS — uses the system WKWebView (no install needed). Python 3.10+. pyobjc is installed automatically by pywebview.

BSD — same as Linux, but install via your package manager (webkit2-gtk3, gtk3, py3-gobject3 on FreeBSD).

Window opens blank/white on Linux

WebKitGTK ≥ 2.54 renders through GBM/dmabuf buffers; on drivers that cannot allocate them (NVIDIA proprietary is the usual case) the window opens but stays white and stderr shows Failed to create GBM buffer .... ISKG sets WEBKIT_DISABLE_DMABUF_RENDERER=1 for you (with setdefault, so an explicit value you export always wins):

WEBKIT_DISABLE_DMABUF_RENDERER=1 python app.py   # manual override
WEBKIT_DISABLE_DMABUF_RENDERER=0 python app.py   # force the dmabuf path back on

Arch Linux — PEP 668

Arch's Python is externally-managed, so a bare pip install iskg fails. Pick one:

# 1. Virtualenv (recommended)
python -m venv .venv && .venv/bin/pip install iskg

# 2. pipx (cleanest for a CLI tool)
pipx install iskg

# 3. System-wide, at your own risk
pip install --break-system-packages iskg

From source

git clone https://github.com/Iskander-mlander/ISKG.git
cd ISKG
pip install -e .

CLI

Once installed, iskg is on your PATH:

iskg --version           # 0.4.12
iskg info                # environment, Python, backends
iskg widgets             # list all public classes
iskg themes              # list runtime themes (set_theme names)
iskg check app.py        # syntax-check a script
iskg run app.py          # run a script
iskg new mytool          # scaffold a "tool" project
iskg new myapp --template dashboard
iskg new myform --template form
iskg new myview --template viewer
iskg bundle app.py --standalone   # produce a self-contained .html
iskg bundle app.py --exe          # print a PyInstaller onefile command

Scaffold a new project

$ iskg new mytool
creating /home/you/mytool from template 'tool'…
  + app.py
  + README.md
  + requirements.txt
  + assets/README.md
  + themes/README.md

Done. Next steps:
  cd mytool
  iskg run app.py

Each template includes a working app.py, README, and the standard assets/ + themes/ directories. Replace the stub logic with your own.

Bundle for distribution

# Single HTML file (drop into a USB stick, open in any browser)
iskg bundle app.py --standalone

# Standalone executable
pip install pyinstaller
iskg bundle app.py --exe
# then run the printed pyinstaller command

Documentation

Full API reference: github-pages

License

GPLv3 — see LICENSE.

Metadata

Release files for iskg 0.4.15

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

Source distribution (sdist)

Source distribution for iskg 0.4.15
File Size Uploaded Provenance Actions
iskg-0.4.15.tar.gz 329.4 kB With provenance Details for iskg-0.4.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iskg 0.4.15
File Interpreter ABI Platform Actions
iskg-0.4.15-py3-none-any.whl Python 3 none any Details for iskg-0.4.15-py3-none-any.whl

Total release size: 630.8 kB

Release files / iskg-0.4.15.tar.gz

Download URL iskg-0.4.15.tar.gz
Size 329.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4010313c4a26e102c9fc6bb57c0817b32716ec34c3a2a425d37d4f25773d6107
BLAKE2b-256 checksum
How to use checksums
b58fdaa332a1728d83af44e851111e2baeb17fd034062698b3bbb0ec79e74032
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / iskg-0.4.15-py3-none-any.whl

Download URL iskg-0.4.15-py3-none-any.whl
Size 301.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7476d4002d2fee444a074728e6632f2bcf6a04b96b68a206104c5710232ad6e5
BLAKE2b-256 checksum
How to use checksums
5752d0a3c16a4eb2cbf5bf27148bb3d99c91fc7f1f6ae7aaa17b115fab0cc227
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Security for iskg 0.4.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for iskg-0.4.15.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.15 This release

2 release files Full provenance

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