<commit_before>How to install
==============

This page describes how to download, install and use the basic functionality of cclib.

Requirements
------------

Before you install cclib, you need to make sure that you have the following:
 * Python (at least version 3.4 is recommended, although 2.7 is still tested)
 * NumPy (at least version 1.5 is recommended)

Python is an open-source programming language available from https://www.python.org. It is available for Windows as well as being included in most Linux distributions. In Debian/Ubuntu it is installed as follows (as root):

.. code-block:: bash

    apt-get install python python-dev

NumPy (Numerical Python) adds a fast array facility and linear algebra routines to Python. It is available from https://www.numpy.org. Windows users should use the most recent NumPy installation for the Python version they have (e.g. numpy-1.0.3.1.win32-py2.4.exe for Python 2.4). Linux users are recommended to find a binary package for their distribution rather than compiling it themselves. In Debian/Ubuntu it is installed as follows (as root):

.. code-block:: bash

    apt-get install python-numpy

To test whether Python is on the ``PATH``, open a command prompt window and type:

.. code-block:: bash

    python

If Python is not on the ``PATH`` and you use Windows, add the full path to the directory containing it to the end of the ``PATH`` variable under Control Panel/System/Advanced Settings/Environment Variables. If you use Linux and Python is not on the ``PATH``, put/edit the appropriate line in your .bashrc or similar startup file.
<commit_msg>Fix Typo (numpy version in doc)<commit_after>How to install
==============

This page describes how to download, install and use the basic functionality of cclib.

Requirements
------------

Before you install cclib, you need to make sure that you have the following:
 * Python (at least version 3.4 is recommended, although 2.7 is still tested)
 * NumPy (at least version 1.15 is recommended)

Python is an open-source programming language available from https://www.python.org. It is available for Windows as well as being included in most Linux distributions. In Debian/Ubuntu it is installed as follows (as root):

.. code-block:: bash

    apt-get install python python-dev

NumPy (Numerical Python) adds a fast array facility and linear algebra routines to Python. It is available from https://www.numpy.org. Windows users should use the most recent NumPy installation for the Python version they have (e.g. numpy-1.0.3.1.win32-py2.4.exe for Python 2.4). Linux users are recommended to find a binary package for their distribution rather than compiling it themselves. In Debian/Ubuntu it is installed as follows (as root):

.. code-block:: bash

    apt-get install python-numpy

To test whether Python is on the ``PATH``, open a command prompt window and type:

.. code-block:: bash

    python

If Python is not on the ``PATH`` and you use Windows, add the full path to the directory containing it to the end of the ``PATH`` variable under Control Panel/System/Advanced Settings/Environment Variables. If you use Linux and Python is not on the ``PATH``, put/edit the appropriate line in your .bashrc or similar startup file.

{'fraction_non_alphanumeric': 0.08007391438250692, 'fraction_numerical': 0.010163227594702803, 'mean_word_length': 3.891566265060241, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 2, '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': '4306236', 'n_tokens_mistral': 863, 'n_tokens_neox': 804, 'n_words': 467}