Skip to main content

NativeHTMLKit Demo

Development preview: not stable and not production-ready. NativeHTMLKit development is currently focused on Core. The Demo is under development: it can change without notice and is not supported. For supported use, build on the NativeHTMLKit Python SDK or PowerShell SDK. Project status: https://nativehtmlkit.github.io/status/

One window with every NativeHTMLKit example. Pick an example, read its Python, PowerShell, HTML and CSS source, and press Run Python or Run PowerShell to start it as its own native desktop app. No browser, no web server.

NativeHTMLKit renders HTML and CSS in a native window and drives it from Python or PowerShell. See the documentation.

Install and start

Python, with uv (uv provides Python 3.10 or later if needed):

uvx nativehtmlkit-demo                    # run it without installing
uv tool install nativehtmlkit-demo        # or install the command
nativehtmlkit-demo

PowerShell (7.x, or Windows PowerShell 5.1):

Install-Module NativeHTMLKit.Demo -Scope CurrentUser
Start-NativeHTMLKitDemo

Each package contains the launcher and all the examples. The Python package installs the nativehtmlkit SDK and nativehtmlkit_ui; the PowerShell module installs the NativeHTMLKit and NativeHTMLKit.UI modules. To run the examples of the other language as well, install that language's package too. The launcher finds Python and PowerShell on PATH and tells you what is missing.

Supported platforms are those of the SDKs: Linux (KDE Plasma on Wayland is the primary desktop) and Windows 10/11 or Server 2022, x64.

What is in the window

  • Examples on the left, each with a one-line summary. All / SDK / UI narrows the list to the SDK examples (direct HTML/CSS plus events) or the NativeHTMLKit UI examples (reactive components), with the number of matches; the filter box searches titles, summaries and topics. Up/Down moves through the list (also from the filter box), Esc clears the filter.
  • Source tabs (always dark): Python and PowerShell show the code only, with the page's HTML and CSS left to their own tabs; Full script shows the single file exactly as it ships. HTML and CSS show the page: for SDK examples the page embedded in the code or loaded from index.html, for UI examples the markup NativeHTMLKit UI generates for the first render.
  • Run Python / Run PowerShell start the example in a new process. Examples run from a working folder under your temporary directory (nativehtmlkit-demo/). The log viewer gets a sample log file that grows while it runs.
  • Running examples at the bottom: Stop, or open the Output tab to see what an example printed and why it exited.

The examples come from the Python SDK and PowerShell SDK repositories, whose guides explain each one, and from NativeHTMLKit UI (also a development preview).

Self-test

nativehtmlkit-demo --self-test (or uvx nativehtmlkit-demo --self-test) and Start-NativeHTMLKitDemo -SelfTest run the launcher headless, check every example and its source tabs, start a few examples in each installed language and stop them again. They print PASS/FAIL/SKIP lines and exit with code 0 when nothing failed.

Development

uv run scripts/sync_examples.py                          # copy the examples from sibling SDK/UI checkouts, write content/catalog.json
uv run --with pytest --with-editable ./python pytest -q tests   # content checks
uv run --with-editable ./python -m nativehtmlkit_demo     # run from the checkout
pwsh -File powershell/NativeHTMLKit.Demo/Demo.ps1         # (needs the NativeHTMLKit modules)
uv run scripts/build.py                                   # dist/: wheel, module zip, SHA256SUMS

content/examples/ is generated; change an example in its own repository, then sync again.

License

MIT. The examples keep the licenses of their repositories (copies in content/examples/LICENSES/).

Metadata

Release files for nativehtmlkit-demo 0.1.2

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

Built distribution (wheel)

Table of built distributions (wheels) for nativehtmlkit-demo 0.1.2
File Interpreter ABI Platform Actions
nativehtmlkit_demo-0.1.2-py3-none-any.whl Python 3 none any Details for nativehtmlkit_demo-0.1.2-py3-none-any.whl

Release files / nativehtmlkit_demo-0.1.2-py3-none-any.whl

Download URL nativehtmlkit_demo-0.1.2-py3-none-any.whl
Size 312.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab100967a31849ad8e08123ed71c10242bed4cab1fbf68e0276b3fb71df8497c
BLAKE2b-256 checksum
How to use checksums
2be257cf2270ad75a9d90ddce72f7633badd19f4a199cdfdded123245053043a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 21, 2026.

Transparency log

Security for nativehtmlkit-demo 0.1.2

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

1 file in this release has been uploaded with provenance metadata.

Attestation for nativehtmlkit_demo-0.1.2-py3-none-any.whl

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 Nov 21, 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.

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