<commit_before>About
=====
autopep8 formats Python code based on the output of the pep8 utility.


Install
=======

from pip::

    pip install --upgrade autopep8

from easy_install::

    easy_install -ZU autopep8

Require
=======
autopep8 is used pep8_ (via subprocess).

.. _pep8: https://github.com/jcrocholl/pep8


Usage
=====
execute tool::

    $ autopep8 TARGET.py

before::

    import sys, os


    print 1 


    def func1():
        print "A"
        
        return 0



    def func11():
        a = (1,2, 3,"a")
        b = [1, 2, 3,"b"]
        return 1





    def func2():
        pass
    def func22():
        pass

    def func3():
        pass


after::

    import sys
    import os


    print 1


    def func1():
        print "A"

        return 0


    def func11():
        a = (1, 2, 3, "a")
        b = [1, 2, 3, "b"]
        return 1


    def func2():
        pass


    def func22():
        pass


    def func3():
        pass
<commit_msg>Update README.rst.<commit_after>About
=====
autopep8 formats Python code based on the output of the pep8_ utility.


Installation
============
from pip::

    pip install --upgrade autopep8

from easy_install::

    easy_install -ZU autopep8

Requirements
============
autopep8 requires pep8_ (via subprocess).

.. _pep8: https://github.com/jcrocholl/pep8


Usage
=====
execute tool::

    $ autopep8 TARGET.py

before::

    import sys, os


    print 1 


    def func1():
        print "A"
        
        return 0



    def func11():
        a = (1,2, 3,"a")
        b = [1, 2, 3,"b"]
        return 1





    def func2():
        pass
    def func22():
        pass

    def func3():
        pass


after::

    import sys
    import os


    print 1


    def func1():
        print "A"

        return 0


    def func11():
        a = (1, 2, 3, "a")
        b = [1, 2, 3, "b"]
        return 1


    def func2():
        pass


    def func22():
        pass


    def func3():
        pass

{'fraction_non_alphanumeric': 0.12942366026289182, 'fraction_numerical': 0.041456016177957536, 'mean_word_length': 1.58355091383812, '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': '4167776', 'n_tokens_mistral': 769, 'n_tokens_neox': 659, 'n_words': 214}