A NEW WINDOW FOR PYTHON

Desktop apps,
written in Python.

One file per component.
Rendered with Qt Quick.

Each component keeps its logic, its template and its styles in one .janel file. Everything between braces is Python, and the window follows your state. Your app runs as a native desktop application on Windows, macOS and Linux.

pip install janelkitPython 3.10+
FIG. 001 — ONE COMPONENT, ONE FILE
script · template · style−   □   ×
App.janel−   □   ×
PYTHON IN. A WINDOW OUT.
Hello,
window.
Python logicRendered by Qt ↗
Everything in braces is Python.
WINDOWS · MACOS · LINUX
PYTHON LOGIC+.JANEL COMPONENTS+QT QUICK RENDERING→A NATIVE DESKTOP APP
01 / ONE FILE PER COMPONENT

Logic, template and style.
In one file.

Everything between { and } is Python, and the interface follows your state: when a value changes, only what depends on it is updated.

● ONE COMPONENT. ALL PYTHON.
src / App.janel
<script lang="python">
from janelkit import state

count = state(0)

def increment():
    count.value += 1
</script>

<window title="Hello, JanelKit">
  <column class="page">
    <text>Count: {count}</text>
    <button on:click={increment}>
      Add one
    </button>
  </column>
</window>

<style>
.page { padding: 24px; gap: 16px; }
</style>
Copy
INTERACTIVE WEB PREVIEW
Hello, JanelKit−   □   ×
COUNT = STATE(0)0

Each click changes count. The text follows.

Go on, give it a click. This preview runs in your browser to show the behavior; the .janel file runs as a native desktop window, with Python.

Learn how state works ↗
02 / WHY JANELKIT

One language.
From the logic to the window.

01

Python for everything you write.

Logic, template expressions and tests are Python. You never write JavaScript or QML: the compiler generates the QML.

↗
02

Your libraries, in the same process.

A NumPy array, an OpenCV frame or a model’s result goes straight to the interface, with no server in between. Video frames pushed from any thread reach the screen in 17 ms at 1080p (median, measured on a 2013 laptop).

↗
03

Errors that point at your code.

janel build checks every component before anything runs, and errors come back with the .janel file, line and column. janel dev reloads the window when you save, and keeps its state.

↗
YOUR NEXT IDEA STARTS HERE

Open a new window.

Made for desktop tools that work with live data, cameras or models, for internal tools, and for any application whose logic is already in Python.

Build your first app ↗
ALPHA 0.2 / Each series (0.1, 0.2…) may change the public API, always with migration notes and janel migrate. Open source, MIT licensed.