wasabi
wasabi copied to clipboard
π£ A lightweight console printing and formatting toolkit
## Description This PR attempts to update the wasabi codebase so that it's compatible to Python 3.6 and above. Major changes include: - Added type hints to all modules -...
A bit brute-force on the exception handling, but I think this function should never crash if it all possible.
The [wrap](https://github.com/ines/wasabi#function-wrap) function takes a `wrap_max` argument that controls the maximum line width. When I'm using the typical functions for printing formatted messages like [good](https://github.com/ines/wasabi#method-printergood-printerfail-printerwarn-printerinfo), [fail](https://github.com/ines/wasabi#method-printergood-printerfail-printerwarn-printerinfo), [warn](https://github.com/ines/wasabi#method-printergood-printerfail-printerwarn-printerinfo), and [info](https://github.com/ines/wasabi#method-printergood-printerfail-printerwarn-printerinfo), they...
Hello, When I use `wasabi` and process bar package `tqdm` together, wasabi Printer's color will be invalid. Just like this:  code result:  How could it be like thisοΌ
Currently if I wish to print debug messages, the usage is something like this: ``` from wasabi import msg msg.info('Hello', show=is_verbose) ``` But now `is_verbose` is scattered everywhere in code....
Hello, I couldn't find anything in the docs about how to get rid of the "Loading..." text fully after the loading is "finished"? I tried it in a Jupyter Notebook...
Update to use `setup.cfg`
As of now, wasabi just calls `print()`, which by default prints to the stdout. In my opinion, this is wrong, as stdout (in the Unix ideology) should be used to...
https://github.com/explosion/wasabi/blob/514997965fbafc32b1fa5413c3bba0e29e7fb767/README.md?plain=1#L14