<commit_before># PrettyPrinter
Pretty Printer package used for colorful console output support for Golang<commit_msg>readme update<commit_after># PrettyPrinter
Pretty Printer package used for colorful console output support for Golang

## Usage

Pretty Printer simpyfies writing colorful output to command line providing simple API which is more readable than:
```
	fmt.Printf("\x1b[47m\x1b[31;1mRed title: \x1b[0m%s: \n\x1b[32;1mBody: \x1b[0m%s\x1b[0m\n", "Sample title param", "Sample body param")
```

With this API you can do:
```
	fmt.Printf(prettyPrinter.New().BgYellow().BoldRed("Red title: ").Text("%s: \n").BoldGreen("Body: ").Text("%s\n").Format("Sample title param", "Sample body param").String())
```

Every text element (colorful or not) will reset background color
Sample above will have following output:
<span style="color:red; background-color: yellow">Red title: </span><span>Sample title param</span>
<span style="color:green;">Body: </span><span>Sample body param</span>
{'fraction_non_alphanumeric': 0.1414141414141414, 'fraction_numerical': 0.01717171717171717, 'mean_word_length': 6.286764705882353, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1477264', 'n_tokens_mistral': 327, 'n_tokens_neox': 310, 'n_words': 100}