<commit_before>..
   SPDX-FileCopyrightText: 2020-2021 <NAME>
   SPDX-License-Identifier: AGPL-3.0-or-later

###############
IntelMQ Manager
###############

**IntelMQ Manager** is a graphical interface to manage configurations for IntelMQ.
Its goal is to provide an intuitive tool to allow non-programmers to specify the data flow in IntelMQ.

.. contents::

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

For the `intelmq-manager` webinterface any operating system that can serve HTML pages is supported.
`intelmq-manager` can be installed via Python pip or via the operating systems package manager.
We provide packages for the `intelmq-manager` for the same operating systems as we do for the `intelmq` package itself.
For the list of supported distributions, please see the IntelMQ :doc:`installation` page.

Our repository page gives `installation instructions for various operating systems <https://software.opensuse.org/download.html?project=home:sebix:intelmq&package=intelmq-manager>`_.
No additional set-up steps are needed if you use these packages.

To use the `intelmq-manager` webinterface, you have to have a working `intelmq` installation which provides access to the :doc:`intelmq-api`.

When using distribution packages, the webserver configuration (which is also shown below) for Apache will be automatically installed and the HTML files are stored under ``/usr/share/intelmq-manager/html``.
The webinterface is then available at ``http://localhost/intelmq-manager``.

Installation using pip
^^^^^^^^^^^^^^^^^^^^^^

For installation via pip, the situation is more complex.
The packages install the HTML files in ``${PREFIX}/usr/share/intelmq-manager/html``.<commit_msg>DOC: intelmq-manager: add command for pip installation<commit_after>..
   SPDX-FileCopyrightText: 2020-2021 <NAME>
   SPDX-License-Identifier: AGPL-3.0-or-later

###############
IntelMQ Manager
###############

**IntelMQ Manager** is a graphical interface to manage configurations for IntelMQ.
Its goal is to provide an intuitive tool to allow non-programmers to specify the data flow in IntelMQ.

.. contents::

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

For the `intelmq-manager` webinterface any operating system that can serve HTML pages is supported.
`intelmq-manager` can be installed via Python pip or via the operating systems package manager.
We provide packages for the `intelmq-manager` for the same operating systems as we do for the `intelmq` package itself.
For the list of supported distributions, please see the IntelMQ :doc:`installation` page.

Our repository page gives `installation instructions for various operating systems <https://software.opensuse.org/download.html?project=home:sebix:intelmq&package=intelmq-manager>`_.
No additional set-up steps are needed if you use these packages.

To use the `intelmq-manager` webinterface, you have to have a working `intelmq` installation which provides access to the :doc:`intelmq-api`.

When using distribution packages, the webserver configuration (which is also shown below) for Apache will be automatically installed and the HTML files are stored under ``/usr/share/intelmq-manager/html``.
The webinterface is then available at ``http://localhost/intelmq-manager``.

Installation using pip
^^^^^^^^^^^^^^^^^^^^^^

For installation via pip, the situation is more complex.
``pip3 install intelmq-manager`` installs the HTML files in ``${PREFIX}/usr/share/intelmq-manager/html``.
{'fraction_non_alphanumeric': 0.11617046117921774, 'fraction_numerical': 0.006129597197898424, 'mean_word_length': 5.322878228782288, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '5298283', 'n_tokens_mistral': 924, 'n_tokens_neox': 864, 'n_words': 390}