<commit_before>---

# Python

- name: Installing PIP
  pacman:
    state: latest
    name:
      - python-pip
      - python2-pip

- name: Checking Pythonz installation
  register: pythonz
  stat: path=/usr/local/pythonz

- name: Downloading Pythonz installer
  when: pythonz.stat.exists == False
  get_url:
    url: https://raw.github.com/saghul/pythonz/master/pythonz-install
    dest: /tmp/pythonz-install.sh
    mode: 0444

- name: Installing Pythonz
  when: pythonz.stat.exists == False
  become: yes
  become_user: "{{username}}"
  command: /bin/bash /tmp/pythonz-install.sh

- name: Installing Python tools
  pip:
    name:
      - ipython
      - virtualenvwrapper<commit_msg>[python] add pyenv and pipenv (#124)<commit_after>---

# Python

- name: Installing Python
  pacman:
    state: latest
    name:
      - python
      - python-pip
      - python2
      - python2-pip

- name: Installing 'pyenv'
  aur:
    name: pyenv
  become: yes
  become_user: aur_builder

- name: Installing Python tools
  pip:
    state: latest
    extra_args: --user
    name:
      - ipython
      - pipenv
  become: yes
  become_user: "{{ username }}"
{'fraction_non_alphanumeric': 0.11033274956217162, 'fraction_numerical': 0.008756567425569177, 'mean_word_length': 2.474164133738602, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6705251', 'n_tokens_mistral': 406, 'n_tokens_neox': 395, 'n_words': 97}