No project description provided
Project description
PyFSA
A python CLI to render finite state graphs.
This application takes a CSV file with state information, and uses it to either produce the finite state graph, and verify that strings are valid given the state information, a start state, and a desired state. The string
subcommand is also able to render the traversal graph of a string through the state machine.
Installation
You can install this project directly from github with pip
, but it is also available in pypi
. Install it like so:
python3 -m pip install pyfsa
Examples
State file:
trigger,source,target
a,x,y
b,x,z
a,y,x
b,y,z
a,z,z
b,z,z
fsa state -f examples/states.csv
fsa state -f examples/states.csv -s x
fsa state -f examples/states.csv -e z
fsa state -f examples/states.csv -s x -e z
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
pyfsa-0.2.1.tar.gz
(6.1 kB
view hashes)
Built Distribution
pyfsa-0.2.1-py3-none-any.whl
(10.0 kB
view hashes)