<commit_before>{ stdenv, buildPythonPackage, fetchPypi, six }:
buildPythonPackage rec {
  pname = "websocket_client";
  version = "0.47.0";

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

  prePatch = ''
    # ssl.match_hostname exists in python2.7 version maintained in nixpkgs,
    # the dependency is not necessary.
    sed -e "s/\['backports.ssl_match_hostname'\]/\[\]/" -i setup.py
  '';

  propagatedBuildInputs = [ six ];

  meta = with stdenv.lib; {
    homepage = https://github.com/liris/websocket-client;
    description = "Websocket client for python";
    license = licenses.lgpl2;
  };
}
<commit_msg>python: websocket_client: 0.47.0 -> 0.48.0<commit_after>{ stdenv, buildPythonPackage, fetchPypi, six }:
buildPythonPackage rec {
  pname = "websocket_client";
  version = "0.48.0";

  src = fetchPypi {
    inherit version pname;
    sha256 = "18f1170e6a1b5463986739d9fd45c4308b0d025c1b2f9b88788d8f69e8a5eb4a";
  };

  prePatch = ''
    # ssl.match_hostname exists in python2.7 version maintained in nixpkgs,
    # the dependency is not necessary.
    sed -e "s/\['backports.ssl_match_hostname'\]/\[\]/" -i setup.py
  '';

  propagatedBuildInputs = [ six ];

  meta = with stdenv.lib; {
    homepage = https://github.com/liris/websocket-client;
    description = "Websocket client for python";
    license = licenses.lgpl2;
  };
}

{'fraction_non_alphanumeric': 0.12825933756166313, 'fraction_numerical': 0.06483439041578576, 'mean_word_length': 3.522292993630573, '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': '4891405', 'n_tokens_mistral': 582, 'n_tokens_neox': 536, 'n_words': 105}