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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file consoledev-1.0.4.tar.gz.

File metadata

  • Download URL: consoledev-1.0.4.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.2

File hashes

Hashes for consoledev-1.0.4.tar.gz
Algorithm Hash digest
SHA256 db13d81a74f104982b44c8a248740f3427350631cea0117f434f58f6263f952d
MD5 dc1e738e6aa42dcde4d26ea4475646f2
BLAKE2b-256 7b865f106de9017892b486116389eff41bb731d9faf3a612c188580b741c8472

See more details on using hashes here.

File details

Details for the file consoledev-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: consoledev-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.2

File hashes

Hashes for consoledev-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1ae7a36f52ae63eca0f43f61cc1909003cba73a09f17b05e726823e4812e9304
MD5 dd3767c49542cab1c70d0a5be95525e8
BLAKE2b-256 3ed78212b7483252de3830256ce196fdab819887b9687f0c9d87eaf6ce909396

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