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.1.tar.gz (107.7 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.1-py3-none-any.whl (80.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for automata_lib-9.1.1.tar.gz
Algorithm Hash digest
SHA256 21f22729482e5cbc45990675c6de0e124b3def69e5fbf528ab1bf6f61ccb6ce8
MD5 83cfaabbfe92bf8a9ce809a5c30039b8
BLAKE2b-256 669459843538ff80baed0914c5527773fdedeec385eb4b848102ccbfd2b49e23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for automata_lib-9.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e14a2030375ec56f0e75aadfb7a43a80c9fb2afecdd08b42cdde4fd11bdf35b2
MD5 2d8c519145695cfeaf79bd73eebc9278
BLAKE2b-256 efbca8e0bd7b40b14f701a8310938acead6522b0183d8852f469873305af137c

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