<commit_before>========
spark.py
========

Python clone of https://github.com/holman/spark

Takes series data via stdin and prints a sparkline representation.

Utilizes utf-8 encoded characters in output.

Usage: sparkline 1 2 3 4
Or: echo "1.1 2.2 3.3 4.4" | sparkline
Or: import spark; print sparkify([1.0, 2.0, 3.0, 4.0]).encode('utf-8')<commit_msg>rst formatting for inline data<commit_after>========
spark.py
========

Python clone of https://github.com/holman/spark

Takes series data via stdin and prints a sparkline representation.

Utilizes utf-8 encoded characters in output.

Usage: ``sparkline 1 2 3 4``
Or: ``echo "1.1 2.2 3.3 4.4" | sparkline``
Or: ``import spark; print sparkify([1.0, 2.0, 3.0, 4.0]).encode('utf-8')``
{'fraction_non_alphanumeric': 0.17189631650750342, 'fraction_numerical': 0.06002728512960437, 'mean_word_length': 4.280575539568345, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '850317', 'n_tokens_mistral': 282, 'n_tokens_neox': 252, 'n_words': 89}