<commit_before># -*- coding: utf-8 -*-
import pysftp
import stat
from ftplib import FTP, FTP_TLS


class FtpLibWrapper(object):
    def __init__(self, host, user, password, is_pasv=True, is_ssl=False):
        if is_ssl:
            self.__ftp = FTP_TLS(host, user, password)
            self.__ftp.prot_p()
        else:
            self.__ftp = FTP(host, user, password)<commit_msg>maintenance<commit_after># -*- coding: utf-8 -*-
import pysftp
from ftplib import FTP, FTP_TLS


class FtpLibWrapper(object):
    def __init__(self, host, user, password, is_pasv=True, is_ssl=False):
        if is_ssl:
            self.__ftp = FTP_TLS(host, user, password)
            self.__ftp.prot_p()
        else:
            self.__ftp = FTP(host, user, password)
{'fraction_non_alphanumeric': 0.11671087533156499, 'fraction_numerical': 0.002652519893899204, 'mean_word_length': 2.682926829268293, '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': '2443270', 'n_tokens_mistral': 263, 'n_tokens_neox': 251, 'n_words': 63}