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

71.54. python3-automat-25.4.16

Finite-state machines for Python, declared as states, inputs and outputs on a class

25.4.16-1 · MIT · 0.1 SBU · 401.0 KiB, 41 files · 40_lang, 135 of 186 · ports/core/python-libs/python3-automat

Homepage: https://github.com/glyph/automat

Automat writes finite-state machines in Python: states, inputs and outputs declared on a class, with the transitions between them checked when the class is defined. python3-twisted builds the state machine of its reconnecting ClientService with it.

Depends on: python3, python3-pip, python3-setuptools, python3-setuptools-scm.

Required by (1): python3-twisted.

Sources: python3-automat-25.4.16.tar.gz (126.9 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/40_lang/phase.env && kpkg install python3-automat'

build.sh:

pip3 install --ignore-installed --no-deps --no-index --no-build-isolation --root=$PKG --prefix=/usr .

Programs: automat-visualize.

Directories: /usr/lib/python3.14/site-packages/automat, /usr/lib/python3.14/site-packages/automat-25.4.16.dist-info, /usr/share/licenses/python3-automat.

Automat builds with setuptools and takes its version through python3-setuptools-scm, which reads the PKG-INFO in the release archive. Its pyproject.toml also lists hatch-vcs and wheel among the build requirements; the setuptools backend imports neither, and the install runs with --no-build-isolation, so neither is in depends. On the Python versions the tree has, Automat imports nothing outside the standard library.