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

  desc "Intercept, modify, replay, save HTTP/S traffic"
  homepage "https://mitmproxy.org"
  url "https://github.com/mitmproxy/mitmproxy/archive/refs/tags/9.0.1.tar.gz"
  sha256 "2acd2c16e5bc02cd1dab8c58003254a71a2ee0ec0366001f624f85c980a2b43a"
  license "MIT"
  head "https://github.com/mitmproxy/mitmproxy.git", branch: "main"

  bottle do
    sha256 cellar: :any,                 arm64_ventura:  "b0c074212d152e98d9f89724b6797721dcc1359f7f37147ee82953c0a3837d82"
    sha256 cellar: :any,                 arm64_monterey: "c45bdc993ba38119396a5d35aba17cb367371c869e3eefb16d94651cd1111aab"
    sha256 cellar: :any,                 arm64_big_sur:  "f41edfb745c049a82a805586cf95d8a9281adf25a8059f2f3d3710eb629513fd"
    sha256 cellar: :any,                 monterey:       "e735158361a098f037e0c3c7da9d30f7c37ce1220f546c2e346f0c056d5076fe"
    sha256 cellar: :any,                 big_sur:        "e881ce9f1faed790bbe5150ffebd1148ae02d7ab93415b7b80fdf8818734abfb"
    sha256 cellar: :any,                 catalina:       "c04eef96f1e2bb1a57e7fc536b51af61a642779535b78778dd93a125e06f25e2"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "aa23a62240421a5e002e613f94acaa53dc8e1b1e4fcf0bb4e4ad70873cceabad"
  end

  depends_on "rust" => :build # for cryptography
  depends_on "openssl@1.1"
  depends_on "protobuf"
  depends_on "python@3.10"
  depends_on "six"

  uses_from_macos "libffi"

  on_linux do
    depends_on "pkg-config" => :build
  end

  resource "asgiref" do
    url "https://files.pythonhosted.org/packages/1f/35/e7d59b92ceffb1dc62c65156278de378670b46ab2364a3ea7216fe194ba3/asgiref-3.5.2.tar.gz"
    sha256 "4a29362a6acebe09bf1d6640db38c1dc3d9217c68e6f9f6204d72667fc19a424"
  end

  resource "Brotli" do
    url "https://files.pythonhosted.org/packages/2a/18/70c32fe9357f3eea18598b23aa9ed29b1711c3001835f7cf99a9818985d0/Brotli-1.0.9.zip"
    sha256 "4d1b810aa0ed773f81dceda2cc7b403d01057458730e309856356d4ef4188438"
  end

  resource "certifi" do<commit_msg>mitmproxy: update 9.0.1 bottle.<commit_after>class Mitmproxy < Formula
  include Language::Python::Virtualenv

  desc "Intercept, modify, replay, save HTTP/S traffic"
  homepage "https://mitmproxy.org"
  url "https://github.com/mitmproxy/mitmproxy/archive/refs/tags/9.0.1.tar.gz"
  sha256 "2acd2c16e5bc02cd1dab8c58003254a71a2ee0ec0366001f624f85c980a2b43a"
  license "MIT"
  head "https://github.com/mitmproxy/mitmproxy.git", branch: "main"

  bottle do
    sha256 cellar: :any,                 arm64_ventura:  "b0c074212d152e98d9f89724b6797721dcc1359f7f37147ee82953c0a3837d82"
    sha256 cellar: :any,                 arm64_monterey: "c45bdc993ba38119396a5d35aba17cb367371c869e3eefb16d94651cd1111aab"
    sha256 cellar: :any,                 arm64_big_sur:  "f41edfb745c049a82a805586cf95d8a9281adf25a8059f2f3d3710eb629513fd"
    sha256 cellar: :any,                 ventura:        "19a18d9932f81c1c938643451ea94881987c7e374631d6a64f60b020009b1387"
    sha256 cellar: :any,                 monterey:       "e735158361a098f037e0c3c7da9d30f7c37ce1220f546c2e346f0c056d5076fe"
    sha256 cellar: :any,                 big_sur:        "e881ce9f1faed790bbe5150ffebd1148ae02d7ab93415b7b80fdf8818734abfb"
    sha256 cellar: :any,                 catalina:       "c04eef96f1e2bb1a57e7fc536b51af61a642779535b78778dd93a125e06f25e2"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "aa23a62240421a5e002e613f94acaa53dc8e1b1e4fcf0bb4e4ad70873cceabad"
  end

  depends_on "rust" => :build # for cryptography
  depends_on "openssl@1.1"
  depends_on "protobuf"
  depends_on "python@3.10"
  depends_on "six"

  uses_from_macos "libffi"

  on_linux do
    depends_on "pkg-config" => :build
  end

  resource "asgiref" do
    url "https://files.pythonhosted.org/packages/1f/35/e7d59b92ceffb1dc62c65156278de378670b46ab2364a3ea7216fe194ba3/asgiref-3.5.2.tar.gz"
    sha256 "4a29362a6acebe09bf1d6640db38c1dc3d9217c68e6f9f6204d72667fc19a424"
  end

  resource "Brotli" do
    url "https://files.pythonhosted.org/packages/2a/18/70c32fe9357f3eea18598b23aa9ed29b1711c3001835f7cf99a9818985d0/Brotli-1.0.9.zip"
    sha256 "4d1b810aa0ed773f81dceda2cc7b403d01057458730e309856356d4ef4188438"
  end

  resource "certifi" do
{'fraction_non_alphanumeric': 0.07945463093559003, 'fraction_numerical': 0.26657263751763044, 'mean_word_length': 4.365699873896595, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5589495', 'n_tokens_mistral': 2490, 'n_tokens_neox': 1908, 'n_words': 211}