<commit_before>kthresher
=========

Tool to remove unused kernels that were installed automatically in Debian/Ubuntu.

This tool removes those kernel packages marked as candidate for autoremoval. Those packages are generally installed via Unattended upgrade or meta-packages. By default the latest kernel and manual installations are marked to Never Auto Remove.

*thresher - A device that first separates the head of a stalk of grain from the straw, and then further separates the kernel from the rest of the head.*


-----

|version| |downloads| |versions| |license|

-----

.. contents:: Table of Contents
        :local:
        :depth: 1
        :backlinks: none

-----

Supported Operating Systems
---------------------------

* Debian (Tested on Version(s))
    * `8 <https://www.debian.org/releases/jessie/>`__
* Ubuntu (Tested on Version(s))
    * `12.04 <http://releases.ubuntu.com/precise/`__
    * `14.04 <http://releases.ubuntu.com/trusty/>`__
    * `15.10 <http://releases.ubuntu.com/wily/>`__
    * `16.04(development branch/Beta 2) <http://releases.ubuntu.com/xenial/>`__


Installation
------------
script
~~~~~~

.. code-block:: bash

    wget -O kthresher https://raw.githubusercontent.com/rackerlabs/kthresher/master/kthresher/kthresher.py
    chmod u+x kthresher

pip
~~~

.. code-block:: bash

    pip install kthresher

or<commit_msg>Fixing typo in the README file.<commit_after>kthresher
=========

Tool to remove unused kernels that were installed automatically in Debian/Ubuntu.

This tool removes those kernel packages marked as candidate for autoremoval. Those packages are generally installed via Unattended upgrade or meta-packages. By default the latest kernel and manual installations are marked to Never Auto Remove.

*thresher - A device that first separates the head of a stalk of grain from the straw, and then further separates the kernel from the rest of the head.*


-----

|version| |downloads| |versions| |license|

-----

.. contents:: Table of Contents
        :local:
        :depth: 1
        :backlinks: none

-----

Supported Operating Systems
---------------------------

* Debian (Tested on Version(s))
    * `8 <https://www.debian.org/releases/jessie/>`__
* Ubuntu (Tested on Version(s))
    * `12.04 <http://releases.ubuntu.com/precise/>`__
    * `14.04 <http://releases.ubuntu.com/trusty/>`__
    * `15.10 <http://releases.ubuntu.com/wily/>`__
    * `16.04(development branch/Beta 2) <http://releases.ubuntu.com/xenial/>`__


Installation
------------
script
~~~~~~

.. code-block:: bash

    wget -O kthresher https://raw.githubusercontent.com/rackerlabs/kthresher/master/kthresher/kthresher.py
    chmod u+x kthresher

pip
~~~

.. code-block:: bash

    pip install kthresher

or
{'fraction_non_alphanumeric': 0.15001829491401392, 'fraction_numerical': 0.013904134650567142, 'mean_word_length': 2.9912408759124087, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 12, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3976746', 'n_tokens_mistral': 929, 'n_tokens_neox': 816, 'n_words': 262}