Skip to main content

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

Reason this release was yanked:

Please use v9.1.2, which fixes type checking and import errors

Project description

Automata

Copyright 2016-2025 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

automata_lib-9.1.0.tar.gz (45.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

automata_lib-9.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file automata_lib-9.1.0.tar.gz.

File metadata

  • Download URL: automata_lib-9.1.0.tar.gz
  • Upload date:
  • Size: 45.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.19

File hashes

Hashes for automata_lib-9.1.0.tar.gz
Algorithm Hash digest
SHA256 5580a1569d6ce6bce13463dfc967c81c6e579c1e3966a9c6adb5cdc10789f25e
MD5 d0480f108f9b33b01c60862609852e9d
BLAKE2b-256 013ce6cd0fb6e4fe45c42d53b36c0c4943a019fef1744a810adfab3a04643238

See more details on using hashes here.

File details

Details for the file automata_lib-9.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for automata_lib-9.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7b362f02c08caf1a499e3a9bda930b88b9c92d1f3d46900e7ec594641f53987
MD5 c5de3a15ca59bd3f76e6f3e31b85bc24
BLAKE2b-256 c928efdddbff2da661a26cb5349417539f8b03f395ccd5a7744e5080f842c814

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page