<commit_before>class Jc < Formula
  include Language::Python::Virtualenv

  desc "Serializes the output of command-line tools to structured JSON output"
  homepage "https://github.com/kellyjonbrazil/jc"
  url "https://files.pythonhosted.org/packages/bc/71/9c459fa977d83ee25f8cb7bf306271b86e4e7f305ec4f29424b4328f0f25/jc-1.11.5.tar.gz"
  sha256 "57d96f62ae8bc883685617a83c9f8e165c7fc786fff5de870fb34f96b00bab3a"

  bottle do
    cellar :any_skip_relocation
    sha256 "b4b54d42c73854f4f7b3095f64525d6916806df7f7d6bae3914f20b203bad29e" => :catalina
    sha256 "47330285fe83656ca934b805b1eda1af15d077bee16e609aca6bb0a4de6bc0dd" => :mojave
    sha256 "8c12e044fcb64ee1cabe4653054240184ead847d655392a1a6d5b82b19ce9b55" => :high_sierra
  end

  depends_on "python@3.8"

  resource "ruamel.yaml" do
    url "https://files.pythonhosted.org/packages/16/8b/54a26c1031595e5edd0e616028b922d78d8ffba8bc775f0a4faeada846cc/ruamel.yaml-0.16.10.tar.gz"
    sha256 "099c644a778bf72ffa00524f78dd0b6476bca94a1da344130f4bf3381ce5b954"
  end

  resource "ruamel.yaml.clib" do
    url "https://files.pythonhosted.org/packages/92/28/612085de3fae9f82d62d80255d9f4cf05b1b341db1e180adcf28c1bf748d/ruamel.yaml.clib-0.2.0.tar.gz"
    sha256 "b66832ea8077d9b3f6e311c4a53d06273db5dc2db6e8a908550f3c14d67e718c"
  end

  resource "xmltodict" do
    url "https://files.pythonhosted.org/packages/58/40/0d783e14112e064127063fbf5d1fe1351723e5dfe9d6daad346a305f6c49/xmltodict-0.12.0.tar.gz"
    sha256 "50d8c638ed7ecb88d90561beedbf720c9b4e851a9fa6c47ebd64e99d166d8a21"
  end

  resource "Pygments" do
    url "https://files.pythonhosted.org/packages/6e/4d/4d2fe93a35dfba417311a4ff627489a947b01dc0cc377a3673c00cf7e4b2/Pygments-2.6.1.tar.gz"
    sha256 "647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44"
  end

  def install<commit_msg>jc: update 1.11.5 bottle.<commit_after>class Jc < Formula
  include Language::Python::Virtualenv

  desc "Serializes the output of command-line tools to structured JSON output"
  homepage "https://github.com/kellyjonbrazil/jc"
  url "https://files.pythonhosted.org/packages/bc/71/9c459fa977d83ee25f8cb7bf306271b86e4e7f305ec4f29424b4328f0f25/jc-1.11.5.tar.gz"
  sha256 "57d96f62ae8bc883685617a83c9f8e165c7fc786fff5de870fb34f96b00bab3a"

  bottle do
    cellar :any_skip_relocation
    sha256 "6e2692f8e4f9fec6919de95290e6ad986af61eae20b5cd5f6914f88d75c16002" => :catalina
    sha256 "7833ba2cb69b6665ac34f0e509839cca8c329934ff2dd7f04aafc27e6a1ce691" => :mojave
    sha256 "d38aadb509aa6a6944dae777bf99fe2ec7bcae308676f5f6832487525d8f9255" => :high_sierra
  end

  depends_on "python@3.8"

  resource "ruamel.yaml" do
    url "https://files.pythonhosted.org/packages/16/8b/54a26c1031595e5edd0e616028b922d78d8ffba8bc775f0a4faeada846cc/ruamel.yaml-0.16.10.tar.gz"
    sha256 "099c644a778bf72ffa00524f78dd0b6476bca94a1da344130f4bf3381ce5b954"
  end

  resource "ruamel.yaml.clib" do
    url "https://files.pythonhosted.org/packages/92/28/612085de3fae9f82d62d80255d9f4cf05b1b341db1e180adcf28c1bf748d/ruamel.yaml.clib-0.2.0.tar.gz"
    sha256 "b66832ea8077d9b3f6e311c4a53d06273db5dc2db6e8a908550f3c14d67e718c"
  end

  resource "xmltodict" do
    url "https://files.pythonhosted.org/packages/58/40/0d783e14112e064127063fbf5d1fe1351723e5dfe9d6daad346a305f6c49/xmltodict-0.12.0.tar.gz"
    sha256 "50d8c638ed7ecb88d90561beedbf720c9b4e851a9fa6c47ebd64e99d166d8a21"
  end

  resource "Pygments" do
    url "https://files.pythonhosted.org/packages/6e/4d/4d2fe93a35dfba417311a4ff627489a947b01dc0cc377a3673c00cf7e4b2/Pygments-2.6.1.tar.gz"
    sha256 "647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44"
  end

  def install
{'fraction_non_alphanumeric': 0.08250825082508251, 'fraction_numerical': 0.3107810781078108, 'mean_word_length': 6.230616302186879, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '5234439', 'n_tokens_mistral': 2340, 'n_tokens_neox': 1790, 'n_words': 146}