<commit_before>Futurify - Manage your __future__ statements
============================================

<NAME> - `Cart Logic <http://www.cartlogic.com>`_

``futurify`` is a simple tool for managing forward-compatible
``from __future__ import...`` statements in your Python projects.


Installation
============

Install with pip::

    $ pip install futurify


Example Usage
=============

Add some future statements to a file tree::

    $ futurify +absolute_import +print_function myproject/

Add some, remove others::

    $ futurify -print_function +division myproject/


API Usage
=========

.. code-block:: python

    import futurify
<commit_msg>Include --dry-run example in README<commit_after>Futurify - Manage your __future__ statements
============================================

<NAME> - `Cart Logic <http://www.cartlogic.com>`_

``futurify`` is a simple tool for managing forward-compatible
``from __future__ import...`` statements in your Python projects.


Installation
============

Install with pip::

    $ pip install futurify


Example Usage
=============

Add some future statements to a file tree::

    $ futurify +absolute_import +print_function myproject/

Add some, remove others::

    $ futurify -print_function -with_statement +division hello.py

Dry run::

    $ futurify --dry-run -with_statement +absolute_import +print_function myproject/


API Usage
=========

.. code-block:: python

    import futurify

{'fraction_non_alphanumeric': 0.18711018711018712, 'fraction_numerical': 0.0, 'mean_word_length': 4.388059701492537, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3538548', 'n_tokens_mistral': 426, 'n_tokens_neox': 389, 'n_words': 133}