<commit_before>Gamepad and joystick support for the Jupyter notebook
=====================================================

License
-------

BSD License. Copyright 2015 - <NAME>

Installation
------------

- Install the Python package

.. code-block:: python

    pip install gamepad

of for a development install:

.. code-block:: python

    git clone https://github.com/SylvainCorlay/gamepad.git
    pip install -e gamepad

- Install and register the notebook extension

.. code-block:: python

    python -m gamepad.install

or for a development install:

.. code-block:: python

    python -m gamepad.install --user --symlink

Usage
-----

See example notebook.<commit_msg>link to example in rst<commit_after>Gamepad and joystick support for the Jupyter notebook
=====================================================

License
-------

BSD License. Copyright 2015 - <NAME>

Installation
------------

- Install the Python package

.. code-block:: python

    pip install gamepad

of for a development install:

.. code-block:: python

    git clone https://github.com/SylvainCorlay/gamepad.git
    pip install -e gamepad

- Install and register the notebook extension

.. code-block:: python

    python -m gamepad.install

or for a development install:

.. code-block:: python

    python -m gamepad.install --user --symlink

Usage
-----

See the `example notebook <https://github.com/SylvainCorlay/gamepad/blob/master/examples/demo.ipynb>`_.
{'fraction_non_alphanumeric': 0.18313752591568763, 'fraction_numerical': 0.0055286800276434, 'mean_word_length': 3.101983002832861, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 3, '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': '5229569', 'n_tokens_mistral': 419, 'n_tokens_neox': 393, 'n_words': 135}