<commit_before>{ lib, buildPythonPackage, fetchPypi, isPy27
, requests
, websocket-client
}:

buildPythonPackage rec {
  pname = "samsungtvws";
  version = "2.5.0";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-AFCN1b80GZ24g3oWe1qqc72yWQy4+/sorL8zwOYM7vo=";
  };

  propagatedBuildInputs = [
    websocket-client
    requests
  ];

  # no tests<commit_msg>python3Packages.samsungtvws: propagate async extra dependencies<commit_after>{ lib, buildPythonPackage, fetchPypi, isPy27
, aiohttp
, requests
, websocket-client
, websockets
}:

buildPythonPackage rec {
  pname = "samsungtvws";
  version = "2.5.0";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-AFCN1b80GZ24g3oWe1qqc72yWQy4+/sorL8zwOYM7vo=";
  };

  propagatedBuildInputs = [
    aiohttp
    requests
    websocket-client
    websockets
  ];

  # no tests
{'fraction_non_alphanumeric': 0.10222222222222223, 'fraction_numerical': 0.056666666666666664, 'mean_word_length': 3.8440860215053765, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '369598', 'n_tokens_mistral': 380, 'n_tokens_neox': 344, 'n_words': 61}