<commit_before>Installing the MPF Monitor
==========================

Here's how you install the MPF Monitor. These instructions are a bit rough
since MPF Monitor is an early prototype.

Windows
-------

1. Install PyQt5.  Open a command prompt and run:

.. code-block:: console

   pip install PyQt5
   
.. note::  

If this does not work, you can also try to download and install from here: https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.5.1/
Just choose all the defaults and you should be ok.
   
2. Open a command prompt and run: (You can run this from any folder)

.. code-block:: console

   pip install mpf-monitor

.. note::

   If you originally ran "pip" in a different way, perhaps with ``pip3`` or
   ``python3 -m pip``, then do that again here instead of the plain "pip".

To update MPF Monitor to the latest version at any time, run:

.. code-block:: console

   pip install mpf-monitor --upgrade

Note that since MPF Monitor is a separate app from MPF and MPF-MC, the version
numbers of the Monitor and MPF are not the same. (For example, the same version
of MPF Monitor can work across several versions of MPF.)

Mac
---

Open a terminal window and run the following command: (You can run this from
any folder)

.. code-block:: console

   pip3 install mpf-monitor

To update MPF Monitor to the latest version at any time, run:

.. code-block:: console

   pip3 install mpf-monitor --upgrade

Note that since MPF Monitor is a separate app from MPF and MPF-MC, the version
numbers of the Monitor and MPF are not the same. (For example, the same version
of MPF Monitor can work across several versions of MPF.)

Linux
-----

Note that these instructions assume you're running Python 3.5. If you're
running Python 3.4, you'll need to first manually download and install
`PyQt5 <https://sourceforge.net/projects/pyqt/files/PyQt5>`_. You could also
potentially run ``apt-get install python3-pyqt5``.

Install mpf-monitor via pip:

.. code-block:: console

   pip install mpf-monitor

To update MPF Monitor to the latest version at any time, run:

.. code-block:: console

   pip install mpf-monitor --upgrade

Note that since MPF Monitor is a separate app from MPF and MPF-MC, the version
numbers of the Monitor and MPF are not the same. (For example, the same version
of MPF Monitor can work across several versions of MPF.)
<commit_msg>fix indent<commit_after>Installing the MPF Monitor
==========================

Here's how you install the MPF Monitor. These instructions are a bit rough
since MPF Monitor is an early prototype.

Windows
-------

1. Install PyQt5.  Open a command prompt and run:

.. code-block:: console

   pip install PyQt5
   
.. note::  

   If this does not work, you can also try to download and install from here: https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.5.1/
   Just choose all the defaults and you should be ok.
   
2. Open a command prompt and run: (You can run this from any folder)

.. code-block:: console

   pip install mpf-monitor

.. note::

   If you originally ran "pip" in a different way, perhaps with ``pip3`` or
   ``python3 -m pip``, then do that again here instead of the plain "pip".

To update MPF Monitor to the latest version at any time, run:

.. code-block:: console

   pip install mpf-monitor --upgrade

Note that since MPF Monitor is a separate app from MPF and MPF-MC, the version
numbers of the Monitor and MPF are not the same. (For example, the same version
of MPF Monitor can work across several versions of MPF.)

Mac
---

Open a terminal window and run the following command: (You can run this from
any folder)

.. code-block:: console

   pip3 install mpf-monitor

To update MPF Monitor to the latest version at any time, run:

.. code-block:: console

   pip3 install mpf-monitor --upgrade

Note that since MPF Monitor is a separate app from MPF and MPF-MC, the version
numbers of the Monitor and MPF are not the same. (For example, the same version
of MPF Monitor can work across several versions of MPF.)

Linux
-----

Note that these instructions assume you're running Python 3.5. If you're
running Python 3.4, you'll need to first manually download and install
`PyQt5 <https://sourceforge.net/projects/pyqt/files/PyQt5>`_. You could also
potentially run ``apt-get install python3-pyqt5``.

Install mpf-monitor via pip:

.. code-block:: console

   pip install mpf-monitor

To update MPF Monitor to the latest version at any time, run:

.. code-block:: console

   pip install mpf-monitor --upgrade

Note that since MPF Monitor is a separate app from MPF and MPF-MC, the version
numbers of the Monitor and MPF are not the same. (For example, the same version
of MPF Monitor can work across several versions of MPF.)

{'fraction_non_alphanumeric': 0.08472781190425757, 'fraction_numerical': 0.008472781190425757, 'mean_word_length': 3.43796992481203, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, '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': '3373287', 'n_tokens_mistral': 1388, 'n_tokens_neox': 1328, 'n_words': 701}