<commit_before>=====================
Conda kapsel tutorial
=====================

Conda kapsel automates setup steps such as installing the right
packages, downloading files, and configuring passwords so that
anyone who wants to look at your notebooks, Bokeh plots or other
analysis code can type ``conda kapsel run`` and have it Just
Work(tm).

Even if you never share your project with others, you will find it
more convenient to use ``conda kapsel`` than to manually maintain
an environment with commands such as ``conda install``.

In this tutorial, you will create a kapsel containing a Bokeh
application, then package it up as a zip file and "send" it to an
imaginary colleague. Your colleague will then be able to unpack it
and run it with a single command. You do not need to know Bokeh to
do this tutorial.

This tutorial is for all platforms: Windows, OS X and Linux.

NOTE: You must have `conda installed
<http://conda.pydata.org/docs/install/quick.html>`_ before
beginning this tutorial.

====================
Install conda kapsel
====================

Create and activate a conda environment for this tutorial, naming
it "kapsel-tutorial".

**On Windows**::

  conda create -n kapsel-tutorial python
  activate kapsel-tutorial

**On OS X or Linux**::

  conda create -n kapsel-tutorial python
  source activate kapsel-tutorial

Next, use conda to install conda-kapsel::

  conda install conda-kapsel

Test your installation by running the "version" command::

  conda kapsel --version<commit_msg>Update tutorial with the channel to install from<commit_after>=====================
Conda kapsel tutorial
=====================

Conda kapsel automates setup steps such as installing the right
packages, downloading files, and configuring passwords so that
anyone who wants to look at your notebooks, Bokeh plots or other
analysis code can type ``conda kapsel run`` and have it Just
Work(tm).

Even if you never share your project with others, you will find it
more convenient to use ``conda kapsel`` than to manually maintain
an environment with commands such as ``conda install``.

In this tutorial, you will create a kapsel containing a Bokeh
application, then package it up as a zip file and "send" it to an
imaginary colleague. Your colleague will then be able to unpack it
and run it with a single command. You do not need to know Bokeh to
do this tutorial.

This tutorial is for all platforms: Windows, OS X and Linux.

NOTE: You must have `conda installed
<http://conda.pydata.org/docs/install/quick.html>`_ before
beginning this tutorial.

====================
Install conda kapsel
====================

Create and activate a conda environment for this tutorial, naming
it "kapsel-tutorial".

**On Windows**::

  conda create -n kapsel-tutorial python
  activate kapsel-tutorial

**On OS X or Linux**::

  conda create -n kapsel-tutorial python
  source activate kapsel-tutorial

Next, use conda to install conda-kapsel from the conda-kapsel channel::

  conda install -c conda-kapsel conda-kapsel

Test your installation by running the "version" command::

  conda kapsel --version
{'fraction_non_alphanumeric': 0.10680864795095192, 'fraction_numerical': 0.0, 'mean_word_length': 4.646630236794171, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '6132538', 'n_tokens_mistral': 893, 'n_tokens_neox': 842, 'n_words': 432}