Metadata-Version: 2.1
Name: txtoflow
Version: 0.2.0
Summary: Library to generate flowcharts from pseudo code
Home-page: https://krishkasula.github.io/txtoflow
Author: Krishna
Author-email: krishna.vijay4444@gmail.com
License: MIT License
Description: # txtoflow (Translate To Flowchart)
        
        The Python library can be used to generate flowcharts from pseudocode.
        
        ## Installation
        
          `pip install txtoflow`
        
        ## Usage
        
        ```python3
        from txtoflow import txtoflow
        
        txtoflow.generate(
            '''
            if (A) {
                B;
            } else {
                C;
                D;
                while (E) {
                    F;
                }
                G;
            }
            H;
            '''
        )
        ```
        
        Will generate an image named `flowchart.jpg` in current dir that looks like below
        
        ![](https://raw.githubusercontent.com/KrishKasula/txtoflow/master/examples/flowchart.jpg "Simple FlowChart")
        
        All the conditions and states can be arbitrary strings too
        
        ```python3
        from txtoflow import txtoflow
        
        txtoflow.generate(
            '''
            First Node;
            if (A != 10) {
                B;
            } else if (Just a String) {
                Another String;
            } else {
                Else Body;
                More Statements;
                while (While also works) {
                    While Body;
                }
                Link back;
            }
            Final Node;
            '''
        )
        ```
        
        Will still generate image like below
        
        ![](https://raw.githubusercontent.com/KrishKasula/txtoflow/master/examples/strings.jpg "Strings FlowChart")
        
        ## Examples
        
        More examples can be found [here](https://github.com/KrishKasula/txtoflow/tree/master/examples)
        
Keywords: automatic flowchart,code2flow,text2flow,text to flowchart,txtoflow
Platform: any
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
