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

  desc "Pipes video from streaming services into a player such as VLC"
  homepage "https://livestreamer.io/"
  url "https://files.pythonhosted.org/packages/ee/d6/efbe3456160a2c62e3dd841c5d9504d071c94449a819148bb038b50d862a/livestreamer-1.12.2.tar.gz"
  sha256 "ef3e743d0cabc27d8ad906c356e74370799e25ba46c94d3b8d585af77a258de0"
  license "BSD-2-Clause"
  revision 5

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "5e2e04a90df81ab82d3fe1d44640c2b4400ddec952797f44e1c005c0ab8d8c4d"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "5e2e04a90df81ab82d3fe1d44640c2b4400ddec952797f44e1c005c0ab8d8c4d"
    sha256 cellar: :any_skip_relocation, monterey:       "f479bd547db6c63cb62ad292c9ef75d18299fd7102d72d82a5b61352d3d720fa"
    sha256 cellar: :any_skip_relocation, big_sur:        "f479bd547db6c63cb62ad292c9ef75d18299fd7102d72d82a5b61352d3d720fa"
    sha256 cellar: :any_skip_relocation, catalina:       "f479bd547db6c63cb62ad292c9ef75d18299fd7102d72d82a5b61352d3d720fa"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "acc79d143599e834180032898376d7ceb4cdb0077da250b8db0aaac55e7434e9"
  end

  # https://github.com/chrippa/livestreamer/issues/1427
  deprecate! date: "2022-11-07", because: :unmaintained

  depends_on "python@3.10"

  resource "certifi" do
    url "https://files.pythonhosted.org/packages/6c/ae/d26450834f0acc9e3d1f74508da6df1551ceab6c2ce0766a593362d6d57f/certifi-2021.10.8.tar.gz"
    sha256 "78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872"
  end

  resource "charset-normalizer" do
    url "https://files.pythonhosted.org/packages/56/31/7bcaf657fafb3c6db8c787a865434290b726653c912085fbd371e9b92e1c/charset-normalizer-2.0.12.tar.gz"
    sha256 "2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597"
  end<commit_msg>livestreamer: update 1.12.2_5 bottle.<commit_after>class Livestreamer < Formula
  include Language::Python::Virtualenv

  desc "Pipes video from streaming services into a player such as VLC"
  homepage "https://livestreamer.io/"
  url "https://files.pythonhosted.org/packages/ee/d6/efbe3456160a2c62e3dd841c5d9504d071c94449a819148bb038b50d862a/livestreamer-1.12.2.tar.gz"
  sha256 "ef3e743d0cabc27d8ad906c356e74370799e25ba46c94d3b8d585af77a258de0"
  license "BSD-2-Clause"
  revision 5

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_ventura:  "f5c39ee8034638a1c7a05fc2b9e0a12f58b16489f7eb7ce1e658f47dbe1e53e6"
    sha256 cellar: :any_skip_relocation, arm64_monterey: "5e2e04a90df81ab82d3fe1d44640c2b4400ddec952797f44e1c005c0ab8d8c4d"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "5e2e04a90df81ab82d3fe1d44640c2b4400ddec952797f44e1c005c0ab8d8c4d"
    sha256 cellar: :any_skip_relocation, monterey:       "f479bd547db6c63cb62ad292c9ef75d18299fd7102d72d82a5b61352d3d720fa"
    sha256 cellar: :any_skip_relocation, big_sur:        "f479bd547db6c63cb62ad292c9ef75d18299fd7102d72d82a5b61352d3d720fa"
    sha256 cellar: :any_skip_relocation, catalina:       "f479bd547db6c63cb62ad292c9ef75d18299fd7102d72d82a5b61352d3d720fa"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "acc79d143599e834180032898376d7ceb4cdb0077da250b8db0aaac55e7434e9"
  end

  # https://github.com/chrippa/livestreamer/issues/1427
  deprecate! date: "2022-11-07", because: :unmaintained

  depends_on "python@3.10"

  resource "certifi" do
    url "https://files.pythonhosted.org/packages/6c/ae/d26450834f0acc9e3d1f74508da6df1551ceab6c2ce0766a593362d6d57f/certifi-2021.10.8.tar.gz"
    sha256 "78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872"
  end

  resource "charset-normalizer" do
    url "https://files.pythonhosted.org/packages/56/31/7bcaf657fafb3c6db8c787a865434290b726653c912085fbd371e9b92e1c/charset-normalizer-2.0.12.tar.gz"
    sha256 "2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597"
  end
{'fraction_non_alphanumeric': 0.07503828483920368, 'fraction_numerical': 0.293517100561511, 'mean_word_length': 6.729783037475345, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 10, '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': '884983', 'n_tokens_mistral': 2406, 'n_tokens_neox': 1830, 'n_words': 175}