<commit_before>While describing the differences between bpython and ipython with Scott,
I asserted that you couldn't keep normal scrollback with cool bpython
autocompletion, because curses. This is a proof of concept of why
he was right when he disagreed.

I'd like to create a bpython frontend that does this, or use it as
a ipython frontend, but right now just reimplementing features to
get a sense for how they're implemented in bpython.

Things to do:

Terminal Wrapper Library
------------------------

* Context manager for putting stdin in raw mode
* Library for symbolically processing input into keys
* get_event function that blocks, returning window change events, keypresses<commit_msg>install instructions<commit_after>While describing the differences between bpython and ipython with Scott,
I asserted that you couldn't keep normal scrollback with cool bpython
autocompletion, because curses. This is a proof of concept of why
he was right when he disagreed.

I'd like to create a bpython frontend that does this, or use it as
a ipython frontend, but right now just reimplementing features to
get a sense for how they're implemented in bpython.

Installation
------------

It's ready for people to start to use it a teensy bit!

* `git clone https://github.com/thomasballinger/scottwasright.git`
* `cd scottwasright`
* (these are optional suggested virtualenv step)
  * `virtualenv venv`
  * `source venv/bin/activate`
* `pip install -e . -r requirements.txt`


Things to do:

Terminal Wrapper Library
------------------------

* Context manager for putting stdin in raw mode
* Library for symbolically processing input into keys
* get_event function that blocks, returning window change events, keypresses
{'fraction_non_alphanumeric': 0.07611853573503777, 'fraction_numerical': 0.0, 'mean_word_length': 3.991304347826087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '2159841', 'n_tokens_mistral': 452, 'n_tokens_neox': 437, 'n_words': 235}