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()
Metadata
Release files for consoledev 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| consoledev-1.0.4.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| consoledev-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / consoledev-1.0.4.tar.gz
| Download URL | consoledev-1.0.4.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db13d81a74f104982b44c8a248740f3427350631cea0117f434f58f6263f952d
|
|
BLAKE2b-256 checksum How to use checksums |
7b865f106de9017892b486116389eff41bb731d9faf3a612c188580b741c8472
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / consoledev-1.0.4-py3-none-any.whl
| Download URL | consoledev-1.0.4-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ae7a36f52ae63eca0f43f61cc1909003cba73a09f17b05e726823e4812e9304
|
|
BLAKE2b-256 checksum How to use checksums |
3ed78212b7483252de3830256ce196fdab819887b9687f0c9d87eaf6ce909396
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|