Metadata-Version: 1.1
Name: ssfsm
Version: 0.6.0
Summary: ssfsm is a constructive library implementing deterministic finite state machines. The fun thing is, that it has a stupidly simple API.
Home-page: https://github.com/maweki/ssfsm
Author: Mario Wenzel
Author-email: maweki@gmail.com
License: GPL 2.0
Description: 
        ssfsm is a constructive library implementing deterministic finite state machines. The fun thing is, that it has a stupidly simple API.
        Example::
        
            # A FSM that accepts b*a(ab)*
            import ssfsm
            A = ssfsm.Machine()
            A.One['a'] = A.Two
            A.One['b'] = A.One
            A.Two['ab'] = A.Two # a and b transition
            A.Two = True # Set state Two to accepting
            A().reset(A.One)
        
        And transitions are done this way::
        
            A('a') # a-Transition
            A('ab') # a-Transition followed by b-Transition
            bool(A) # is A in an accepting state
        
        Some helpers to make construction even easier so the first example can be written as::
        
            import ssfsm
            A = ssfsm.Machine('One')
            A().alphabet = 'ab'
            A.One['b'] = A.One
            A().polyfill(A.Two)
            A.Two = True
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.0
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Education
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
Classifier: Topic :: Software Development :: Libraries :: Python Modules
