Skip to main content

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

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.2.tar.gz (107.8 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.2-py3-none-any.whl (80.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for automata_lib-9.1.2.tar.gz
Algorithm Hash digest
SHA256 a45b137d7b4759f0e9d425337cdb559feaeb38b07b58bdaf1b2d5b6381bf2e33
MD5 29adc29504d3e8f418ef17ac02370318
BLAKE2b-256 e23bb21d8d69991a283c7c4dab291fec0d48cdd29b8482bcfc14d1a9e36ea860

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for automata_lib-9.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5325b0ab1b98140b4fae73dd3f1b42059a8a312daaa10e9ae413cab1ef7ae1f4
MD5 24f03dcb44c970e8946c474c5217c511
BLAKE2b-256 76ddedd9a39fb0e7cb0366e51b5b8d46a36edd722762e04bfe8d25cf3442c5a6

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