<commit_before>from __future__ import print_function

import argparse
import hashlib
import logging
import os.path
import socket
import sys

from earthreader.web import app, spawn_worker
from waitress import serve

from libearth.compat.parallel import cpu_count
from libearth.crawler import crawl, CrawlError
from libearth.repository import FileSystemRepository
from libearth.session import Session
from libearth.stage import Stage

__all__ = 'crawl', 'main', 'server'


def crawl_command(args):<commit_msg>remove unused import<commit_after>from __future__ import print_function

import argparse
import hashlib
import os.path
import sys

from earthreader.web import app, spawn_worker
from waitress import serve

from libearth.compat.parallel import cpu_count
from libearth.crawler import crawl, CrawlError
from libearth.repository import FileSystemRepository
from libearth.session import Session
from libearth.stage import Stage

__all__ = 'crawl', 'main', 'server'


def crawl_command(args):
{'fraction_non_alphanumeric': 0.05040322580645161, 'fraction_numerical': 0.0, 'mean_word_length': 6.580152671755725, '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': '7118897', 'n_tokens_mistral': 287, 'n_tokens_neox': 268, 'n_words': 101}