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.
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.tar.gz
(5.9 kB
view hashes)
Built Distribution
pyfsa-0.2-py3-none-any.whl
(9.9 kB
view hashes)