<commit_before>===============================
What the What?
===============================

.. image:: https://badge.fury.io/py/whatthewhat.png
    :target: http://badge.fury.io/py/whatthewhat
    
.. image:: https://travis-ci.org/dhellmann/whatthewhat.png?branch=master
        :target: https://travis-ci.org/dhellmann/whatthewhat

.. image:: https://pypip.in/d/whatthewhat/badge.png
        :target: https://crate.io/packages/whatthewhat?version=latest


Launch a Google search for exceptions from Python apps

* Free software: BSD license
* Documentation: http://whatthewhat.rtfd.org.

Features
--------

* TODO<commit_msg>clean up readme<commit_after>==============
What the What?
==============

Launch a Google search for exceptions from Python apps.

::

    $ wtw ./tester.py
    Caught a <type 'exceptions.TypeError'> exception: unhashable type: 'list'
    Traceback (most recent call last):
      File Users/dhellmann/Envs/whatthewhat/bin/wtw line 10, in <module>
        sys.exit(main())
      File Users/dhellmann/Devel/whatthewhat/whatthewhat/main.py line 64, in main
        sys.argv,
      File Users/dhellmann/Devel/whatthewhat/whatthewhat/execfile.py line 120, in run_python_file
        exec_code_object(code, main_mod.__dict__)
      File exec_function> line 2, in exec_code_object
      File /tester.py line 7, in <module>
        f()
      File /tester.py line 5, in f
        return {['a', 'b']: ['c', 'd']}
    TypeError: unhashable type: 'list'

* Free software: BSD license
* Documentation: http://whatthewhat.rtfd.org.
{'fraction_non_alphanumeric': 0.17970265029088558, 'fraction_numerical': 0.006464124111182934, 'mean_word_length': 3.422857142857143, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 7, 'https://': 5, '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': '850393', 'n_tokens_mistral': 525, 'n_tokens_neox': 498, 'n_words': 118}