<commit_before>{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
}:

buildPythonPackage rec {
  pname = "sabyenc3";
  version = "5.1.5";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-JwCzy3QRCzxT8B0VM5SXIIWlYi08tT8eLj/QKtMYLRE=";
  };

  # Tests are not included in pypi distribution
  doCheck = false;

  pythonImportsCheck = [<commit_msg>python310Packages.sabyenc3: 5.1.5 -> 5.1.6<commit_after>{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
}:

buildPythonPackage rec {
  pname = "sabyenc3";
  version = "5.1.6";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-DHHil9ZQsrKLgw5dje0Yo1J5FZAFrY1tn5y3mdBJHWg=";
  };

  # Tests are not included in pypi distribution
  doCheck = false;

  pythonImportsCheck = [
{'fraction_non_alphanumeric': 0.1134020618556701, 'fraction_numerical': 0.049255441008018326, 'mean_word_length': 3.88268156424581, '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': '1883873', 'n_tokens_mistral': 379, 'n_tokens_neox': 346, 'n_words': 68}