Skip to main content

Light tool for creating interactive colored consoles.

Project description

Quick Introduction: Version 1.0.4

Installation

You can install the module from pypi's website, or directly via the pip manager:
pip install consoledev

Should I install?

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.

Examples of usages:

First, you need to import consolekit: from consoledev.consolekit import *
Example 1 - Basic Python Console:
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()
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.
def echo(word: str):
    return word
    
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()
if __name__ == '__main__': main()

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

consoledev-1.0.4.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

consoledev-1.0.4-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

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