roma-console 1.0.3

Creator: railscoderz

Last updated:

0 purchases

roma-console 1.0.3 Image
roma-console 1.0.3 Images

Languages

Categories

Add to Cart

Description:

romaconsole 1.0.3

Console
This package provides necessary tools for printing text (with fancy styles
if specified) in terminal.
To use, import an instance of Console class by
from console import console

Text With Fancy Styles
Fancy texts are produced based on termcolor package.
The usage of this package is similar to termcolor:
console.write_line('Hello World!', color='yellow')

However, console provides another way to print text base on a simple syntax,
which is more flexible and powerful:
console.write_line('#{Hello}{red} #{World}{blue}{bold}!')

Here, the syntax is #{<text>}[{<text_color>}][<text_highlight>}][{<attributes_1>}]...[{<attributes_N>}].
Example of other fancy usages:
console.split('#{-}{red}#{-}{yellow}#{-}{blue}')

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.