<commit_before>class HachoirMetadata < Formula
  desc "Extract metadata from video, music and other files"
  homepage "https://bitbucket.org/haypo/hachoir/wiki/Home"
  url "https://cheeseshop.python.org/packages/source/h/hachoir-metadata/hachoir-metadata-1.3.3.tar.gz"
  sha256 "ec403f13a44e2cf3d26001f8f440cdc4329a316a4c971035944bfadacc90eb3c"

  bottle do
    cellar :any
    sha1 "ec6cfcfab8086753ad2dbac9712065b47cc6756f" => :mavericks
    sha1 "5cf33ff05b0dbea792f1e8030a24ee550f4a59fa" => :mountain_lion
    sha1 "f828b984aa92ccd7d9c99b93a3c64732a02690d6" => :lion
  end

  depends_on :python if MacOS.version <= :snow_leopard

  resource "hachoir-core" do
    url "https://cheeseshop.python.org/packages/source/h/hachoir-core/hachoir-core-1.3.3.tar.gz"
    sha256 "ecf5d16eccc76b22071d6062e54edb67595f70d827644d3a6dff04289b4058df"
  end

  resource "hachoir-parser" do
    url "https://cheeseshop.python.org/packages/source/h/hachoir-parser/hachoir-parser-1.3.4.tar.gz"
    sha256 "775be5e10d72c6122b1ba3202dfce153c09ebcb60080d8edbd51aa89aa4e6b3f"
  end

  resource "hachoir-regex" do
    url "https://cheeseshop.python.org/packages/source/h/hachoir-regex/hachoir-regex-1.0.5.tar.gz"
    sha256 "a35b2bb0ff11418230fffbb97605adba012bf65d2aba3e5e7d8295774d5ba986"
  end

  def install
    ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python2.7/site-packages"<commit_msg>hachoir-metadata: update 1.3.3 bottle.<commit_after>class HachoirMetadata < Formula
  desc "Extract metadata from video, music and other files"
  homepage "https://bitbucket.org/haypo/hachoir/wiki/Home"
  url "https://cheeseshop.python.org/packages/source/h/hachoir-metadata/hachoir-metadata-1.3.3.tar.gz"
  sha256 "ec403f13a44e2cf3d26001f8f440cdc4329a316a4c971035944bfadacc90eb3c"

  bottle do
    cellar :any_skip_relocation
    revision 1
    sha256 "b2a11194217ff9b97338b9c10147fd25f3e83213d0579bc88cef9689895025a3" => :el_capitan
    sha256 "316c9a2496302aef88844f80b8c7f63f69dd991c1f183b46228636b4780c7d7a" => :yosemite
    sha256 "73c9aaf96521afa7bac1942ea16a5af6c0baaba1537c399c22e493ea24ae7186" => :mavericks
  end

  depends_on :python if MacOS.version <= :snow_leopard

  resource "hachoir-core" do
    url "https://cheeseshop.python.org/packages/source/h/hachoir-core/hachoir-core-1.3.3.tar.gz"
    sha256 "ecf5d16eccc76b22071d6062e54edb67595f70d827644d3a6dff04289b4058df"
  end

  resource "hachoir-parser" do
    url "https://cheeseshop.python.org/packages/source/h/hachoir-parser/hachoir-parser-1.3.4.tar.gz"
    sha256 "775be5e10d72c6122b1ba3202dfce153c09ebcb60080d8edbd51aa89aa4e6b3f"
  end

  resource "hachoir-regex" do
    url "https://cheeseshop.python.org/packages/source/h/hachoir-regex/hachoir-regex-1.0.5.tar.gz"
    sha256 "a35b2bb0ff11418230fffbb97605adba012bf65d2aba3e5e7d8295774d5ba986"
  end

  def install
    ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python2.7/site-packages"
{'fraction_non_alphanumeric': 0.09996564754379939, 'fraction_numerical': 0.19409137753349365, 'mean_word_length': 5.143459915611814, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '6627452', 'n_tokens_mistral': 1574, 'n_tokens_neox': 1297, 'n_words': 136}