Skip to main content

No project description provided

Project description

PyFSA

Build status badge Release status badge PyPI version badge PyPI Status Badge

Python versions badge License Downloads per month

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

no_start_end

fsa state -f examples/states.csv -s x

start_state

fsa state -f examples/states.csv -e z

end_state

fsa state -f examples/states.csv -s x -e z

both

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 details)

Uploaded Source

Built Distribution

pyfsa-0.2-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file pyfsa-0.2.tar.gz.

File metadata

  • Download URL: pyfsa-0.2.tar.gz
  • Upload date:
  • Size: 5.9 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

Hashes for pyfsa-0.2.tar.gz
Algorithm Hash digest
SHA256 e6510801db60b2e41f355ba5997d3d191f90a94997e2a678a26c58a1f733879f
MD5 5e5ed0497b8b5a401cc3e910a442244f
BLAKE2b-256 3c9e996fd6e5a0387cb08bc23df407b7696aeac36d32a40e1ac7f780dcdce921

See more details on using hashes here.

File details

Details for the file pyfsa-0.2-py3-none-any.whl.

File metadata

  • Download URL: pyfsa-0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.9 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

Hashes for pyfsa-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cf9089e8f084a9708ba1bc589c035d11cf188676a20eef2ed794fc81ef34897b
MD5 015942db8e17ed806778669c69f7e484
BLAKE2b-256 4dbd48e593afc7f3f89894c2994ffad322e330043f1df327256cb4a2100ddbbc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page