Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

224.4. python3-pyatspi-2.58.2

The AT-SPI2 accessibility API as a Python module, over Atspi's introspection

2.58.2-1 · LGPL-2.0-or-later · 0.1 SBU · 412.5 KiB, 50 files · 42_graphics, 154 of 189 · ports/core/python-gui/python3-pyatspi

Homepage: https://gitlab.gnome.org/GNOME/pyatspi2

pyatspi is the Python API to AT-SPI2 that assistive tools and test drivers are written against: the accessibility tree of every running application, its states and actions, and keyboard and event synthesis. It is a thin layer over the Atspi library of at-spi2-core, reached through that library’s introspection data with python3-gobject. selenium-webdriver-at-spi is written on it.

Depends on: python3, meson, ninja, python3-gobject, at-spi2-core.

Required by (1): selenium-webdriver-at-spi.

Sources: python3-pyatspi-2.58.2.tar.xz (80.7 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install python3-pyatspi'

build.sh:

meson setup build --prefix=/usr --libdir=lib --buildtype=release \
	--wrap-mode=nofallback \
	-Denable_tests=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

test -f "$(find "$PKG"/usr/lib/python3*/site-packages/pyatspi -maxdepth 1 -name __init__.py | head -n 1)"

Directories: /usr/lib/python3.14/site-packages/pyatspi, /usr/share/licenses/python3-pyatspi.

The configure looks up pygobject-3.0.pc, which python3-gobject installs; Python’s gi module alone does not satisfy it.