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 details)
Built Distribution
pyfsa-0.2.1-py3-none-any.whl
(10.0 kB
view details)
File details
Details for the file pyfsa-0.2.1.tar.gz
.
File metadata
- Download URL: pyfsa-0.2.1.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19a81078743ae7a8c836da67649325017e6d89bd051095c018f5226531a267d7 |
|
MD5 | f23764b0235ca5b916e2de81f660a7a4 |
|
BLAKE2b-256 | 715024379e8183561a256f104464ae1013d47f61e6627a25ad7488a0665df1f2 |
File details
Details for the file pyfsa-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: pyfsa-0.2.1-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1195de930b98ad9123c06385000cfc6fb006541432a0c171a978f86841b2ed17 |
|
MD5 | 3d594b672a8b6ff69c8f0c49210ba6bc |
|
BLAKE2b-256 | 812b4e592319899598b2fe6ed8bf35eeeb9dbe75a1defe61507f78e50636f052 |