<commit_before>{ buildPythonPackage, fetchPypi, h11, enum34 }:

buildPythonPackage rec {
  pname = "wsproto";
  version = "0.12.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1fcb726d448f1b9bcbea884e26621af5ddd01d2d502941a024f4c727828b6009";
  };

  propagatedBuildInputs = [ h11 enum34 ];

}<commit_msg>python: wsproto: 0.12.0 -> 0.13.0<commit_after>{ buildPythonPackage, fetchPypi, h11, enum34, pytest }:

buildPythonPackage rec {
  pname = "wsproto";
  version = "0.13.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "fd6020d825022247053400306448e161d8740bdd52e328e5553cd9eee089f705";
  };

  propagatedBuildInputs = [ h11 enum34 ];

  checkInputs = [ pytest ];

  checkPhase = ''
    py.test
  '';

}
{'fraction_non_alphanumeric': 0.11891891891891893, 'fraction_numerical': 0.17162162162162162, 'mean_word_length': 4.075342465753424, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '4934147', 'n_tokens_mistral': 376, 'n_tokens_neox': 300, 'n_words': 50}