<commit_before>{ lib
, buildPythonPackage
, fetchFromGitHub
, ptable
, click
, requests
, prompt_toolkit
, pygments
, urllib3
, pytest
, pytestcov
, mock
, sphinx
, testtools
}:

buildPythonPackage rec {
  pname = "softlayer-python";
  version = "5.8.4";

  propagatedBuildInputs = [ ptable click requests prompt_toolkit pygments urllib3 ];

  checkInputs = [ pytest pytestcov mock sphinx testtools ptable click requests prompt_toolkit pygments urllib3 ];

  checkPhase = ''
    pytest
  '';

  src = fetchFromGitHub {
    owner = "softlayer";
    repo = pname;
    rev = "v${version}";
    sha256 = "10kzi7kvvifr21a46q2xqsibs0bx5ys22nfym0bg605ka37vcz88";
  };

  meta = with lib; {
    description = "A set of Python libraries that assist in calling the SoftLayer API.";
    homepage = "https://github.com/softlayer/softlayer-python";
    license = licenses.mit;
  };
}<commit_msg>pythonPackages.softlayer: disable python2<commit_after>{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, ptable
, click
, requests
, prompt_toolkit
, pygments
, urllib3
, pytest
, pytestcov
, mock
, sphinx
, testtools
}:

buildPythonPackage rec {
  pname = "softlayer-python";
  version = "5.8.4";
  disabled = isPy27;

  propagatedBuildInputs = [ ptable click requests prompt_toolkit pygments urllib3 ];

  checkInputs = [ pytest pytestcov mock sphinx testtools ptable click requests prompt_toolkit pygments urllib3 ];

  checkPhase = ''
    pytest
  '';

  src = fetchFromGitHub {
    owner = "softlayer";
    repo = pname;
    rev = "v${version}";
    sha256 = "10kzi7kvvifr21a46q2xqsibs0bx5ys22nfym0bg605ka37vcz88";
  };

  meta = with lib; {
    description = "A set of Python libraries that assist in calling the SoftLayer API.";
    homepage = "https://github.com/softlayer/softlayer-python";
    license = licenses.mit;
  };
}
{'fraction_non_alphanumeric': 0.1026344676180022, 'fraction_numerical': 0.03457738748627882, 'mean_word_length': 3.9137466307277626, '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': '6609550', 'n_tokens_mistral': 673, 'n_tokens_neox': 637, 'n_words': 149}