Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mishakorzik/heconsole
My pip library for customisation console
https://github.com/mishakorzik/heconsole
console custom customization done error logging logs pip pypi python terminal termux termux-hacking warn
Last synced: about 1 month ago
JSON representation
My pip library for customisation console
- Host: GitHub
- URL: https://github.com/mishakorzik/heconsole
- Owner: mishakorzik
- License: mit
- Created: 2022-08-06T13:36:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-07T10:10:34.000Z (over 2 years ago)
- Last Synced: 2023-05-24T23:52:30.009Z (over 1 year ago)
- Topics: console, custom, customization, done, error, logging, logs, pip, pypi, python, terminal, termux, termux-hacking, warn
- Language: Python
- Homepage:
- Size: 378 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# heconsole
#### Perfect pip module to design and display your terminal, great customization## Installation
```
// Installation this module is not difficult,
// just write the command below.pip install heconsole
```## Usage
#### this pip module has a lot of useful things for customization and logging```python
from heconsole import console
console.setTimeFormat(timeFormat='%H:%M:%S')console.log(0, "log")
console.warn(0, "warn")
console.error(0, "error")
console.success(0, "success")
console.info(0, "info")
console.revers(0, "revers log + detail")
console.detail(0, "detailed log")
console.dir(0, "this log with dir")console.arrowLog(0, "arrow log")
console.arrowWarn(0, "arrow warn")
console.arrowError(0, "arrow error")
console.arrowSuccess(0, "arrow success")
console.arrowInfo(0, "arrow info")
console.arrowRevers(0, "arrow revers")
console.arrowDetail(0, "arrow detail")
console.arrowDir(0, "arrow dir ")console.log(0, "no .GREENdate.WHITE time ;-)", showTime=False)
console.success(0, ".YELLOWyellow & .GREENgreen color.WHITE MAGENTABGmagenta bg ", showTime=False)console.bold(0, "bold text")
console.italic(0, "italic text")
console.inverse(0, "inverse text")
console.underline(0, " underline text")
console.log(2, "wait 2 secons to print") # times 2 secs# or
console.arrowLog(0, ".BOLD bold .ITALICitalic .INVERSE inverse .UNDERLINE underline")# example
console.arrowLog(0, ".BOLD Lorem .GREENipsum dolor .ITALIC sit amet,.BLACK REDBGconsectetur adipiscing .BLUEelit...")
```## Output
customizing the log entry terminal.