<commit_before>{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy3k
, pytestCheckHook
, pyyaml
, requests
, requests-mock
, sqlite-utils
}:

buildPythonPackage rec {
  pname = "github-to-sqlite";
  version = "2.8.2";
  disabled = !isPy3k;

  src = fetchFromGitHub {
    owner = "dogsheep";
    repo = pname;
    rev = version;
    sha256 = "16mw429ppnhgsa98qs3fhprqvdpqbr5q1biq3ql8rsf38difdbl8";
  };

  propagatedBuildInputs = [
    sqlite-utils
    pyyaml
    requests
  ];

  checkInputs = [
    pytestCheckHook
    requests-mock
  ];

  disabledTests = [
    "test_scrape_dependents"
  ];

  meta = with lib; {
    description = "Save data from GitHub to a SQLite database";<commit_msg>github-to-sqlite: 2.8.2 -> 2.8.3<commit_after>{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy3k
, pytestCheckHook
, pyyaml
, requests
, requests-mock
, sqlite-utils
}:

buildPythonPackage rec {
  pname = "github-to-sqlite";
  version = "2.8.3";
  disabled = !isPy3k;

  src = fetchFromGitHub {
    owner = "dogsheep";
    repo = pname;
    rev = version;
    sha256 = "sha256-4wkwtcChcR7XH421wa3dGdIPhwgeaTFk247zIRX98xo=";
  };

  propagatedBuildInputs = [
    sqlite-utils
    pyyaml
    requests
  ];

  checkInputs = [
    pytestCheckHook
    requests-mock
  ];

  disabledTests = [
    "test_scrape_dependents"
  ];

  meta = with lib; {
    description = "Save data from GitHub to a SQLite database";
{'fraction_non_alphanumeric': 0.10928571428571429, 'fraction_numerical': 0.03642857142857143, 'mean_word_length': 3.169642857142857, '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': '935393', 'n_tokens_mistral': 568, 'n_tokens_neox': 532, 'n_words': 99}