Python MIT

automata

A Python library for simulating finite automata, pushdown automata, and Turing machines

C

caleb531

Dernière activité 25 juin 2026
caleb531/automata

410

étoiles

72

forks

11

issues ouvertes

automataautomatonfinite-state-machinefsmpushdown-automatapythonturing-machineturing-machines

Ce README est souvent en anglais.

Automata

Copyright 2016-2026 Caleb Evans
Released under the MIT license

PyPI version tests docs Coverage Status Project Status: Active – The project has reached a stable, usable state and is being actively developed. PyPI - Python Version status pyOpenSci

Links:

Automata is a Python 3 library implementing structures and algorithms for manipulating finite automata, pushdown automata, and Turing machines. The algorithms have been optimized and are capable of processing large inputs. Visualization logic has also been implemented. This package is suitable for both researchers wishing to manipulate automata and for instructors teaching courses on theoretical computer science.

The library requires Python 3.9 or newer.

Huge thanks to @eliotwrobson, @YtvwlD, @dengl11, @Tagl, @lewiuberg, @CamiloMartinezM, @abhinavsinha‑adrino, @EduardoGoulart1, @khoda81, and @christopher-hampson for their invaluable code contributions to this project! 🎉

Installing

You can install the latest version of Automata via pip:

pip install automata-lib

To install the optional visual dependencies, use the visual extra:

pip install 'automata-lib[visual]'

If you encounter errors building pygraphviz, you may need to install graphviz. See the instructions here.

Contributing

Contributions are always welcome! Take a look at the contributing guide.

Projets similaires

Expressive statecharts and FSMs for modern Python.

Pythonautomatafinite-state-machinefsm
Ffgmacedo
1,3 k étoiles114

Django friendly finite state machine support

Pythondjangofinite-state-machinefsm
Kkmmbvnr
2,3 k étoiles300

Finite State Machine for Go

Gofinite-state-machinefsmgo
Llooplab
3,4 k étoiles331