<commit_before>* consolor

[[https://travis-ci.org/paetzke/consolor][https://travis-ci.org/paetzke/consolor.png?branch=master]]
[[https://coveralls.io/r/paetzke/consolor?branch=master][https://coveralls.io/repos/paetzke/consolor/badge.png?branch=master]]

Copyright (c) 2013, <NAME> (<EMAIL>)
All rights reserved.

Consolor provides highlighting functions for terminals.

It comes with there 3 functions:

- get_line :: Returns a string with the given formatting.
- print_line :: Prints a string with the given formatting.
- update_line :: Overwrites the output of the current line and prints s on the same line without a new line.

All these functions accept the following formatting parameters:

- /bold/: bool, default False
- /underline/: bool, default False
- /blinking/: bool, default False
- /color/: str, default None
- /bgcolor/: str, default None

Some examples:

#+BEGIN_SRC python
import consolor

consolor.print_line('light green', color=consolor.Color.LightGreen)
consolor.print_line('underline', underline=True)
consolor.print_line('green bg', bgcolor=consolor.BgColor.Green)
consolor.update_line('0%')
consolor.update_line('100%')
print()
#+END_SRC

For more colors and background colors see /consolor.Color/ and /consolor.BgColor/.

To install =consolor= use pip.

#+BEGIN_SRC python
pip install consolor
#+END_SRC

** Links

- [[http://ascii-table.com/ansi-escape-sequences-vt-100.php]]
- [[http://wiki.ubuntuusers.de/Bash/Prompt]]<commit_msg>Add Bitdeli.<commit_after>* consolor

[[https://travis-ci.org/paetzke/consolor][https://travis-ci.org/paetzke/consolor.png?branch=master]]
[[https://coveralls.io/r/paetzke/consolor?branch=master][https://coveralls.io/repos/paetzke/consolor/badge.png?branch=master]]

Copyright (c) 2013, <NAME> (<EMAIL>)
All rights reserved.

Consolor provides highlighting functions for terminals.

It comes with there 3 functions:

- get_line :: Returns a string with the given formatting.
- print_line :: Prints a string with the given formatting.
- update_line :: Overwrites the output of the current line and prints s on the same line without a new line.

All these functions accept the following formatting parameters:

- /bold/: bool, default False
- /underline/: bool, default False
- /blinking/: bool, default False
- /color/: str, default None
- /bgcolor/: str, default None

Some examples:

#+BEGIN_SRC python
import consolor

consolor.print_line('light green', color=consolor.Color.LightGreen)
consolor.print_line('underline', underline=True)
consolor.print_line('green bg', bgcolor=consolor.BgColor.Green)
consolor.update_line('0%')
consolor.update_line('100%')
print()
#+END_SRC

For more colors and background colors see /consolor.Color/ and /consolor.BgColor/.

To install =consolor= use pip.

#+BEGIN_SRC python
pip install consolor
#+END_SRC

** Links

- [[http://ascii-table.com/ansi-escape-sequences-vt-100.php]]
- [[http://wiki.ubuntuusers.de/Bash/Prompt]]


[[https://bitdeli.com/free][https://d2weczhvl823v0.cloudfront.net/paetzke/consolor/trend.png]]
{'fraction_non_alphanumeric': 0.133532140490391, 'fraction_numerical': 0.009609012591119947, 'mean_word_length': 5.01394422310757, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 10, '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': '3331569', 'n_tokens_mistral': 1060, 'n_tokens_neox': 980, 'n_words': 259}