<commit_before># Hydrogen

This package lets you run your code directly in Atom using any [Jupyter](https://jupyter.org/) kernels you have installed.

Hydrogen was inspired by <NAME>'s ideas about the power of instantaneous feedback and the design of [Light Table](http://lighttable.com/). Running code inline and in real time is a more natural way to develop. By bringing the interactive style of Light Table to the rock-solid usability of Atom, Hydrogen makes it easy to write code the way you want to.

<img src="http://i.imgur.com/RFPD1c9.gif" width=600>


## Features

- execute a line, selection, or block at a time
- rich media support for plots, images, and video
- completions from the running kernel, just like autocomplete in the Chrome dev tools
- one kernel per language (so you can run snippets from several files, all in the same namespace)
- interrupt or restart the kernel if anything goes wrong


## Installation

### Dependencies

- [`pkg-config`](http://www.freedesktop.org/wiki/Software/pkg-config/): `brew install pkg-config`
- [ZeroMQ](http://zeromq.org/intro:get-the-software): `brew install zeromq`
- [IPython (Jupyter)](http://ipython.org/): needs to be installed and on your `$PATH`. `pip install "ipython[notebook]"`

### Install

`apm install hydrogen` or search for "hydrogen" in the Install pane of the Atom settings.<commit_msg>Load up the installation instructions.<commit_after># Hydrogen

This package lets you run your code directly in Atom using any [Jupyter](https://jupyter.org/) kernels you have installed.

Hydrogen was inspired by <NAME>'s ideas about the power of instantaneous feedback and the design of [Light Table](http://lighttable.com/). Running code inline and in real time is a more natural way to develop. By bringing the interactive style of Light Table to the rock-solid usability of Atom, Hydrogen makes it easy to write code the way you want to.

<img src="http://i.imgur.com/RFPD1c9.gif" width=600>


## Features

- execute a line, selection, or block at a time
- rich media support for plots, images, and video
- completions from the running kernel, just like autocomplete in the Chrome dev tools
- one kernel per language (so you can run snippets from several files, all in the same namespace)
- interrupt or restart the kernel if anything goes wrong

## Dependencies

For all systems, you'll need

- [ZeroMQ](http://zeromq.org/intro:get-the-software)
- IPython notebook `pip install ipython[notebook]`
- Python 2 (for builds - you can still run Python 3 code)

Each operating system has their own instruction set. Please read on down to save yourself time.

#### OS X

##### homebrew on OS X

- [`pkg-config`](http://www.freedesktop.org/wiki/Software/pkg-config/): `brew install pkg-config`
- [ZeroMQ](http://zeromq.org/intro:get-the-software): `brew install zeromq`
- [IPython (Jupyter)](http://ipython.org/install.html): needs to be installed and on your `$PATH`. `pip install "ipython[notebook]"`

#### Windows

- You'll need a compiler! [Visual Studio Community Edition](https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx) is recommended.
- Python (tread on your own or install [Anaconda](http://continuum.io/downloads))
- [IPython notebook](http://ipython.org/install.html) - If you installed Anaconda, you're already done

#### Linux

Depending on the distribution, you'll need to install `libzmq-dev` or `libzmq3-dev` with your favorite package manager.

If you have Python and pip setup, install the notebook directly:

```
pip install ipython[notebook]
```

## Installation

Assuming you followed the dependencies steps above, you can now `apm install hydrogen` or search for "hydrogen" in the Install pane of the Atom settings.
{'fraction_non_alphanumeric': 0.10048361096184846, 'fraction_numerical': 0.003492745835572273, 'mean_word_length': 4.475, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 3, 'lorem ipsum': 0, 'www.': 3, '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': '3763545', 'n_tokens_mistral': 1124, 'n_tokens_neox': 1051, 'n_words': 467}