Open-source project
qtile/qtile avatar
qtile/qtile

Qtile's Python config, two backends, and the build system behind them

:cookie: A full-featured, hackable tiling window manager written and configured in Python (X11 + Wayland)

5,318 stars734 forksPythonMIT

At a glance

What is it?
Qtile is a tiling window manager whose entire configuration is a Python file, and the same install ships an X11 window manager and a Wayland compositor. The packaging metadata explains what that costs in dependencies and what the test matrix has to cover.
Who is it for?
Qtile suits people who already write Python and want their window manager to be a program instead of a settings file. It fits badly if you need a working desktop on day one with no keybinding reference at hand, since the README carries no install command and no default shortcut list.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 3 days ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 10, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • qtile/qtile5,318 ★ · +17
Star history
Repository2026-09-232026-11-10
qtile/qtile5.3k5.3k

17 Stars in the last 48 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

requires-python 3.12 rules out older interpreters

The packaging metadata sets the floor at `requires-python = ">=3.13"`, and the classifiers only name Python 3.13, 3.14 and 3.15, both under `Programming Language :: Python :: 3 :: Only`. Two implementations are declared, CPython and PyPy. The runtime dependency list is deliberately short: `cairocffi >= 1.7.0`, `cffi >= 1.1.0` and `xcffib >= 1.4.0`.

toml
dependencies = [
    "cairocffi >= 1.7.0",
    "cffi >= 1.1.0",
    "xcffib >= 1.4.0",
]

Operating system classifiers cover POSIX Linux and POSIX BSD, including FreeBSD, and the topic classifier is `Desktop Environment :: Window Managers`.

The build backend is a checked-in builder.py

Most projects delegate packaging to setuptools out of the box. This one does not. The build system sets `backend-path=["."]` with `build-backend = "builder"`, pointing at a `builder.py` file in the repository root, and its `requires` list is `cffi>=1.1.0`, `cairocffi[xcb]>=1.6.0`, `setuptools>=61` and `setuptools-scm>=7.0`. Version and readme are both dynamic, so `setuptools-scm` derives the version from git state rather than a hardcoded string. A `CHANGELOG` and a `Makefile` sit alongside those files at the root.

One entry point serves both the X11 and Wayland sides

The console script is declared once, as `qtile = "libqtile.scripts.main:main"`, so installing the package gives you a single `qtile` command regardless of which backend you intend to run.

toml
[project.scripts]
qtile = "libqtile.scripts.main:main"

That command acts as an X11 window manager or as a Wayland compositor, and the same Python configuration drives both. The Wayland side lives under `libqtile/backend/wayland/` and is built through a separate script, `libqtile/backend/wayland/cffi/build.py`, which the Makefile runs with `--debug` before the test suite. Inspiration for that backend came from SwayWM, LabWC and DWL, whose implementations the maintainers credit for protocol work and architectural patterns.

The test matrix runs two backends against a Fedora container

The Makefile parameterizes the suite rather than committing to one backend. An unset `QTILE_CI_BACKEND` produces an empty argument, while any value becomes `--backend=$(QTILE_CI_BACKEND)` for pytest, and `QTILE_CI_PYTHON` becomes `--python=` for `uv`. `make check` depends on `make deps`, which runs `uv sync --all-extras`, then builds the Wayland cffi module, runs pytest, and reports coverage. Under GitHub Actions the runner switches to `coverage run -m pytest` and dumps gdb backtraces from any `coredumps/core*` left behind. The `Dockerfile` shows what that environment needs: Fedora 44 with `xorg-x11-server-Xorg`, `Xephyr`, `Xvfb`, `Xwayland`, `wlroots`, `wayland-protocols-devel` and `xterm`, then uv installed into `/usr/local/bin`.

Features split into extras that are easy to miss

The optional dependency groups decide what a given install can actually do. `optional_core` holds `dbus-fast`, `libcst >= 1.0.0`, `setproctitle` and `prompt_toolkit`. The `widgets` group holds `imaplib2`, `keyring`, `mailbox`, `psutil` among others, which decide whether mail, keyring and process widgets import cleanly.

make
.PHONY: deps
deps: ## Install all of qtile's dependencies.
	uv sync $(UV_PYTHON_ARG) --all-extras

Because that sync command pulls every extra, local development runs with all of them present while a plain install may not, so a config importing a widget can work on your machine and fail on a system package built without that extra.

The README hands you no install command and no default keymap

Worth stating plainly, because it changes what a first session looks like. There is no `pip install` line and no keybinding table anywhere in the README file. What it does give you is a PyPI badge pointing at pypi.org/project/qtile, a documentation badge linking docs.qtile.org, and a pointer to the `qtile-examples` repository, which holds users' configurations, scripts and links. Help arrives through a mailing list, IRC at `irc://irc.oftc.net:6667/qtile`, a discussions board under Q&A, and a Discord bridge.

Recent tags land on a two to three month cadence

The last recorded release is v0.37.1 on 2026-09-20, following v0.37.0 on 2026-08-08 and v0.36.0 on 2026-05-22, so minor versions ship on a scale of weeks to months. Four maintainers are listed with GPG keys, `@tych0`, `@elParaguayo`, `@jwijenbergh` and `@richcarni`, with four more as emeritus including `@cortesi` and `@ramnes`. The repository root shows the supporting machinery: `flake.nix` and `flake.lock` for Nix, `.pre-commit-config.yaml`, `stubs/`, `docs/`, `test/` and `resources/`. Licensing is MIT. Ways into the internals are the hacking tips at docs.qtile.org/en/latest/manual/hacking.html and the contribution guidelines beside it, and the project attributes its unit test coverage to how easily it can be driven by remote scripts.

Editorial conclusion

Qtile suits people who already write Python and want their window manager to be a program instead of a settings file. It fits badly if you need a working desktop on day one with no keybinding reference at hand, since the README carries no install command and no default shortcut list. Before committing, confirm your Python is 3.13 or newer, read the backend you intend to run in the docs, and check which extras your widgets need.

Frequently asked questions

What is a Qtile?

A full-featured, hackable tiling window manager written and configured in Python, licensed MIT, which runs either as an X11 window manager or as a Wayland compositor.

How do I install qtile?

The README carries no install command. It points to the PyPI project page for the `qtile` package and to docs.qtile.org, and the package requires Python 3.13 or newer with cairocffi, cffi and xcffib.

How do I use qtile?

Configuration is written in Python, so layouts, widgets and commands can be authored as code. A command shell manages and inspects all aspects of the running window manager, and remote scriptability lets scripts set up workspaces, manipulate windows and update status bar widgets.

How do I install qtile extras?

Dependencies are declared as optional groups in pyproject.toml: `optional_core` for dbus-fast, libcst, setproctitle and prompt_toolkit, and `widgets` for imaplib2, keyring, mailbox, psutil and others. Development installs pull everything with `uv sync --all-extras`.

Official sources

  1. License: MIT
  2. Project website
  3. qtile/qtile on GitHub
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/qtile-qtile.svg)](https://hysenlabs.com/projects/qtile-qtile)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/qtile-qtile.svg)](https://hysenlabs.com/projects/qtile-qtile)

Was this useful?