Collection of GUI tools, built with Streamlit, to create and interact with finite automata.
- Python 3.12.9 or newer
- Miniconda or Anaconda (optional)
- Graphviz (required for visualization)
-
Clone the repository
git clone https://github.com/emberfox205/finite-automata-toolkit.git cd finite-automata-toolkit
-
Install Graphviz (system dependency)
On Windows:
# Download and install from https://graphviz.org/download/ # Make sure to add Graphviz to your PATH during installation
On macOS:
brew install graphviz
On Ubuntu/Debian:
sudo apt update sudo apt install graphviz
-
Set up environment (choose one option):
Option A: Using Python's venv
python -m venv venv # On Windows venv\Scripts\activate # On macOS/Linux source venv/bin/activate
Option B: Using Conda (optional)
conda create -n finite-automata python=3.12.9 conda activate finite-automata
-
Install required dependencies
pip install -r requirements.txt
-
Run the application
streamlit run main.py