<commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-

# If you encounter any problems please make an issue on https://github.com/fixpls/8chanDumper/issues/new or make a new thread on /test/

import requests, time, os, sys, math, argparse
from os import listdir
from os.path import isfile, join
from requests_toolbelt import MultipartEncoder, MultipartEncoderMonitor

parser = argparse.ArgumentParser(description="Directory dump to 8chan with multiple-file posts")

parser.add_argument('directory', action="store", type=str, help="Path to the directory with the files you wish to dump")<commit_msg>Add issue and /test/ link<commit_after>#!/usr/bin/python
# -*- coding: utf-8 -*-

# If you encounter any problems please make an issue on https://github.com/fixpls/8chanDumper/issues/new or make a new thread on /test/ (https://8ch.net/test)

import requests, time, os, sys, math, argparse
from os import listdir
from os.path import isfile, join
from requests_toolbelt import MultipartEncoder, MultipartEncoderMonitor

parser = argparse.ArgumentParser(description="Directory dump to 8chan with multiple-file posts")

parser.add_argument('directory', action="store", type=str, help="Path to the directory with the files you wish to dump")
{'fraction_non_alphanumeric': 0.1026677445432498, 'fraction_numerical': 0.005658852061438965, 'mean_word_length': 5.252525252525253, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '1945363', 'n_tokens_mistral': 353, 'n_tokens_neox': 346, 'n_words': 132}