<commit_before>#-*- coding: utf-8 -*-
"""
Helpers to install many modules for a specific usage.
"""
from __future__ import print_function
from ..installhelper.install_cmd_helper import add_shortcut_to_desktop_for_module
from ..installhelper.install_manual import get_install_list
from .packaged_config import complete_installation, small_installation, installation_cubes, installation_huge_datasets, installation_azure
from .packaged_config import installation_ensae, installation_teachings
from ..installhelper.install_custom_scite import install_scite, add_shortcut_to_desktop_for_scite
from ..installhelper.install_custom_pandoc import install_pandoc
from ..setuphelper.ipython_helper import setup_ipython, add_shortcut_to_desktop_for_ipython
from ..installhelper.install_custom_sqlitespy import install_sqlitespy, add_shortcut_to_desktop_for_sqlitespy


def datascientist(folder="install",
                  modules=True,
                  azure=False,
                  teachings=False,
                  website=False,
                  scite=False,
                  pandoc=False,
                  ipython=False,
                  sqlitespy=False,
                  shortcuts=False,
                  ipython_folder=".",
                  fLOG=print,
                  browser=None,
                  skip=None,
                  full=False,
                  additional_path=None):
    """

    install all necessary modules for a data scientist

    @param      additional_path     additional paths to add to ipython (a list)
    @param      folder              where to install everything
    @param      modules             go through the list of necessary modules
    @param      azure               add modules for Azure (Blob Storage)
    @param      teachings           add modules for teachings
    @param      ensae               add modules for ENSAE
    @param      website             open website when the routine to install a software is not implemented yet
    @param      scite               install Scite (and modify the config file to remove tab, adjust python path)<commit_msg>add a missing parameter to function datascientist<commit_after>#-*- coding: utf-8 -*-
"""
Helpers to install many modules for a specific usage.
"""
from __future__ import print_function
from ..installhelper.install_cmd_helper import add_shortcut_to_desktop_for_module
from ..installhelper.install_manual import get_install_list
from .packaged_config import complete_installation, small_installation, installation_cubes, installation_huge_datasets, installation_azure
from .packaged_config import installation_ensae, installation_teachings
from ..installhelper.install_custom_scite import install_scite, add_shortcut_to_desktop_for_scite
from ..installhelper.install_custom_pandoc import install_pandoc
from ..setuphelper.ipython_helper import setup_ipython, add_shortcut_to_desktop_for_ipython
from ..installhelper.install_custom_sqlitespy import install_sqlitespy, add_shortcut_to_desktop_for_sqlitespy


def datascientist(folder="install",
                  modules=True,
                  azure=False,
                  teachings=False,
                  website=False,
                  scite=False,
                  pandoc=False,
                  ipython=False,
                  sqlitespy=False,
                  shortcuts=False,
                  ipython_folder=".",
                  fLOG=print,
                  browser=None,
                  skip=None,
                  full=False,
                  ensae=False,
                  additional_path=None):
    """

    install all necessary modules for a data scientist

    @param      additional_path     additional paths to add to ipython (a list)
    @param      folder              where to install everything
    @param      modules             go through the list of necessary modules
    @param      azure               add modules for Azure (Blob Storage)
    @param      teachings           add modules for teachings
    @param      ensae               add modules for ENSAE
    @param      website             open website when the routine to install a software is not implemented yet
    @param      scite               install Scite (and modify the config file to remove tab, adjust python path)
{'fraction_non_alphanumeric': 0.049099836333878884, 'fraction_numerical': 0.00046761748889408465, 'mean_word_length': 2.3111455108359134, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3740626', 'n_tokens_mistral': 1095, 'n_tokens_neox': 1041, 'n_words': 318}