<commit_before>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
    "nbsphinx": "hidden"
   },
   "source": [
    "This notebook is part of the `nbsphinx` documentation: https://nbsphinx.readthedocs.io/."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Installation\n",
    "\n",
    "Note that some packages may be out of date.\n",
    "You can always get the newest `nbsphinx` release from [PyPI](https://pypi.org/project/nbsphinx) (using `pip`).\n",
    "If you want to try the latest development version, have a look at the file [CONTRIBUTING.rst](https://github.com/spatialaudio/nbsphinx/blob/master/CONTRIBUTING.rst).\n",
    "\n",
    "## nbsphinx Packages\n",
    "\n",
    "[![Anaconda Badge](https://anaconda.org/conda-forge/nbsphinx/badges/version.svg)](https://anaconda.org/conda-forge/nbsphinx)\n",
    "\n",
    "If you are using the `conda` package manager (e.g. with [Anaconda](https://www.anaconda.com/distribution/) for Linux/macOS/Windows), you can install `nbsphinx` from the [conda-forge](https://conda-forge.org/) channel:\n",
    "\n",
    "    conda install -c conda-forge nbsphinx\n",
    "\n",
    "If you are using Linux, there are packages available for many distributions.\n",
    "\n",
    "[![Packaging status](https://repology.org/badge/vertical-allrepos/python:nbsphinx.svg)](https://repology.org/project/python:nbsphinx/versions)\n",
    "\n",
    "[![PyPI version](https://badge.fury.io/py/nbsphinx.svg)](https://pypi.org/project/nbsphinx)\n",
    "\n",
    "On any platform, you can also install `nbsphinx` with `pip`, Python's own package manager:\n",
    "\n",
    "    python3 -m pip install nbsphinx --user\n",
    "\n",
    "If you want to install it system-wide for all users (assuming you have the necessary rights), just drop the `--user` flag.\n",
    "\n",
    "To upgrade an existing `nbsphinx` installation to the newest release, use the `--upgrade` flag:\n",<commit_msg>DOC: Use PNG badge because SVG badge made problems when converting to PDF<commit_after>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
    "nbsphinx": "hidden"
   },
   "source": [
    "This notebook is part of the `nbsphinx` documentation: https://nbsphinx.readthedocs.io/."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Installation\n",
    "\n",
    "Note that some packages may be out of date.\n",
    "You can always get the newest `nbsphinx` release from [PyPI](https://pypi.org/project/nbsphinx) (using `pip`).\n",
    "If you want to try the latest development version, have a look at the file [CONTRIBUTING.rst](https://github.com/spatialaudio/nbsphinx/blob/master/CONTRIBUTING.rst).\n",
    "\n",
    "## nbsphinx Packages\n",
    "\n",
    "[![Anaconda Badge](https://anaconda.org/conda-forge/nbsphinx/badges/version.svg)](https://anaconda.org/conda-forge/nbsphinx)\n",
    "\n",
    "If you are using the `conda` package manager (e.g. with [Anaconda](https://www.anaconda.com/distribution/) for Linux/macOS/Windows), you can install `nbsphinx` from the [conda-forge](https://conda-forge.org/) channel:\n",
    "\n",
    "    conda install -c conda-forge nbsphinx\n",
    "\n",
    "If you are using Linux, there are packages available for many distributions.\n",
    "\n",
    "[![Packaging status](https://repology.org/badge/vertical-allrepos/python:nbsphinx.svg)](https://repology.org/project/python:nbsphinx/versions)\n",
    "\n",
    "[![PyPI version](https://badge.fury.io/py/nbsphinx.png)](https://pypi.org/project/nbsphinx)\n",
    "\n",
    "On any platform, you can also install `nbsphinx` with `pip`, Python's own package manager:\n",
    "\n",
    "    python3 -m pip install nbsphinx --user\n",
    "\n",
    "If you want to install it system-wide for all users (assuming you have the necessary rights), just drop the `--user` flag.\n",
    "\n",
    "To upgrade an existing `nbsphinx` installation to the newest release, use the `--upgrade` flag:\n",
{'fraction_non_alphanumeric': 0.1754254254254254, 'fraction_numerical': 0.0005005005005005005, 'mean_word_length': 3.302475780409042, 'pattern_counts': {'":': 16, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 22, 'lorem ipsum': 0, 'www.': 2, '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': '1741364', 'n_tokens_mistral': 1440, 'n_tokens_neox': 1380, 'n_words': 355}