<commit_before>.. _installation:

Installation
************

Installing via `conda`
======================

The simplest way to install YANK is via the `conda <http://www.continuum.io/blog/conda>`_  package manager.
Packages are provided on the `omnia Anaconda Cloud channel <http://anaconda.org/omnia>`_ for Linux, OS X, and Win platforms.
The `yank Anaconda Cloud page <https://anaconda.org/omnia/yank>`_ has useful instructions and `download statistics <https://anaconda.org/omnia/yank/files>`_`.

If you are using the `anaconda <https://www.continuum.io/downloads/>`_ scientific Python distribution, you already have the ``conda`` package manager installed.
If not, the quickest way to get started is to install the `miniconda <http://conda.pydata.org/miniconda.html>`_ distribution, a lightweight minimal installation of Anaconda Python.

On `linux`, you can install the Python 2.7 version into `$HOME/miniconda2` with (on `bash` systems):
.. code-block:: bash

   $ wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
   $ bash ./Miniconda2-latest-Linux-x86_64.sh -b -p $HOME/miniconda2
   $ export PATH="$HOME/miniconda2/bin:$PATH"

On `osx`, you want to use the `osx` binary
.. code-block:: bash<commit_msg>Fix code blocks<commit_after>.. _installation:

Installation
************

Installing via `conda`
======================

The simplest way to install YANK is via the `conda <http://www.continuum.io/blog/conda>`_  package manager.
Packages are provided on the `omnia Anaconda Cloud channel <http://anaconda.org/omnia>`_ for Linux, OS X, and Win platforms.
The `yank Anaconda Cloud page <https://anaconda.org/omnia/yank>`_ has useful instructions and `download statistics <https://anaconda.org/omnia/yank/files>`_`.

If you are using the `anaconda <https://www.continuum.io/downloads/>`_ scientific Python distribution, you already have the ``conda`` package manager installed.
If not, the quickest way to get started is to install the `miniconda <http://conda.pydata.org/miniconda.html>`_ distribution, a lightweight minimal installation of Anaconda Python.

On `linux`, you can install the Python 2.7 version into `$HOME/miniconda2` with (on `bash` systems):

.. code-block:: bash

   $ wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
   $ bash ./Miniconda2-latest-Linux-x86_64.sh -b -p $HOME/miniconda2
   $ export PATH="$HOME/miniconda2/bin:$PATH"

On `osx`, you want to use the `osx` binary

.. code-block:: bash
{'fraction_non_alphanumeric': 0.14516129032258066, 'fraction_numerical': 0.012096774193548387, 'mean_word_length': 4.625850340136054, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6472182', 'n_tokens_mistral': 833, 'n_tokens_neox': 780, 'n_words': 253}