<commit_before>{ stdenv, buildPythonPackage, fetchPypi
, python, pytest, sortedcontainers }:

buildPythonPackage rec {
  version = "3.0.2";
  pname = "intervaltree";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0wz234g6irlm4hivs2qzmnywk0ss06ckagwh15nflkyb3p462kyb";
  };

  buildInputs = [ pytest ];

  propagatedBuildInputs = [ sortedcontainers ];

  checkPhase = ''
    runHook preCheck
    rm build -rf
    ${python.interpreter} nix_run_setup test
    runHook postCheck
  '';

  meta = with stdenv.lib; {
    description = "Editable interval tree data structure for Python 2 and 3";
    homepage =  "https://github.com/chaimleib/intervaltree";
    license = [ licenses.asl20 ];
    maintainers =  [ maintainers.bennofs ];
  };
}
<commit_msg>python: intervaltree: 3.0.2 -> 3.1.0<commit_after>{ stdenv, buildPythonPackage, fetchPypi
, python, pytest, sortedcontainers }:

buildPythonPackage rec {
  version = "3.1.0";
  pname = "intervaltree";

  src = fetchPypi {
    inherit pname version;
    sha256 = "902b1b88936918f9b2a19e0e5eb7ccb430ae45cde4f39ea4b36932920d33952d";
  };

  buildInputs = [ pytest ];

  propagatedBuildInputs = [ sortedcontainers ];

  checkPhase = ''
    runHook preCheck
    rm build -rf
    ${python.interpreter} nix_run_setup test
    runHook postCheck
  '';

  meta = with stdenv.lib; {
    description = "Editable interval tree data structure for Python 2 and 3";
    homepage =  "https://github.com/chaimleib/intervaltree";
    license = [ licenses.asl20 ];
    maintainers =  [ maintainers.bennofs ];
  };
}

{'fraction_non_alphanumeric': 0.10918432883750803, 'fraction_numerical': 0.05330764290301863, 'mean_word_length': 3.5823529411764707, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '7246375', 'n_tokens_mistral': 599, 'n_tokens_neox': 553, 'n_words': 113}