Metadata-Version: 2.1
Name: consoledev
Version: 1.0.3
Summary: Light tool for creating interactive colored consoles.
Home-page: https://github.com/jonaprojects/consoledev
Author: Jonathan
Author-email: jojona1357@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown

<h1>Quick Introduction: Version 1.0.3</h1>
<h3>Installation</h3>
You can install the module from pypi's website, or 
directly via the pip manager: <br/>
<code>pip install consoledev</code>
<br/>
<h3>Should I install?</h3>
If you want to make a pretty and basic console project, without 
spending the extra time to do this the right way, and eventually end up
with a messy project, then this module is for you. <br/>

<h3>Examples of usages:</h3>
First, you need to import consolekit:
<code> from consoledev import consolekit</code>
<h5>Example 1 - Basic Python Console:</h5>
<pre lang="python">
header = Text("BASIC PYTHON CONSOLE V1.0 ", COLORS.WARNING)
python_console = JConsole(header=header, starting_message="hello and welcome !", ending_message=" goodbye !")
python_console.run()
</pre>
You can also define your own analysis function for the console, 
as long as it gets a string as a parameter and returns a string.
<pre  lang="python">
def echo(word: str):
    return word
    <br/>
def main():
    header = Text("ECHO CONSOLE", COLORS.OKCYAN)
    echo_console = JConsole(header=header,starting_message=Text("welcome!",COLORS.CYELLOW),analysis_function=echo)
    echo_console.run()
    <br/>
if __name__ == '__main__':
    main()
</pre>

