<commit_before>{ lib
, buildPythonPackage
, fetchPypi
, tox
, pytestCheckHook
, pygame
}:
buildPythonPackage rec {
  pname = "PyRect";
  version = "0.2.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-9lFV9t+bkptnyv+9V8CUfFrlRJ07WA0XgHS/+0egm3g=";
  };

  checkInputs = [ tox pytestCheckHook pygame ];
  pythonImportsCheck = [ "pyrect" ];
  preCheck = ''
    export LC_ALL="en_US.UTF-8"
  '';

  meta = with lib; {
    description = "Simple module with a Rect class for Pygame-like rectangular areas";
    homepage = "https://github.com/asweigart/pyrect";
    license = licenses.bsd3;
    maintainers = with maintainers; [ lucasew ];
  };
}
<commit_msg>python310Packages.pyrect: normalise pname, cleanup, remove tox dependency<commit_after>{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pygame
}:

buildPythonPackage rec {
  pname = "pyrect";
  version = "0.2.0";

  src = fetchPypi {
    pname = "PyRect";
    inherit version;
    sha256 = "sha256-9lFV9t+bkptnyv+9V8CUfFrlRJ07WA0XgHS/+0egm3g=";
  };

  checkInputs = [ pytestCheckHook pygame ];

  preCheck = ''
    export LC_ALL="en_US.UTF-8"
  '';

  pythonImportsCheck = [ "pyrect" ];

  meta = with lib; {
    description = "Simple module with a Rect class for Pygame-like rectangular areas";
    homepage = "https://github.com/asweigart/pyrect";
    license = licenses.bsd3;
    maintainers = with maintainers; [ lucasew ];
  };
}

{'fraction_non_alphanumeric': 0.12719606465214336, 'fraction_numerical': 0.030217849613492623, 'mean_word_length': 3.6233766233766236, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6339572', 'n_tokens_mistral': 561, 'n_tokens_neox': 525, 'n_words': 107}