<commit_before># -*- coding: utf-8
import os
import wx
import random
import string

from InputDialogCtrl import InputDialog
from validators.KeyValidator import KeyValidator

import platform

ID_NOTEBOOK_CTRL = 2000
ID_BUTTON_SAVE = 2001
ID_BUTTON_CANCEL_SAVE = 2002
ID_TAB_ONE = 2003
ID_TAB_ONE_CRYPTO_CHECKBOX = 2004
ID_TAB_ONE_INPUT_USER_FOLDER = 2005
ID_TAB_ONE_INPUT_USER_BUTTON = 2006
ID_TAB_ONE_INPUT_CRYPT_PSW = 2007
ID_TAB_ONE_INPUT_CRYPT_BUTTON = 2008


class TabPanelBasics(wx.Panel):
    def __init__(self, parent):
        wx.Panel.__init__(self, parent=parent, id=ID_TAB_ONE)

        # Mac OS X
        if platform.system() == 'Darwin':
            ComboBoxPos = (175, 10)
            InputTextCtrlPos = (145, 45)
            InputButtonPos = (365, 40)
            ErrorLabelFontSize = 10
            ErrorLabelPos =(15, 105)
        # Windows/Linux
        else:
            ComboBoxPos = (160, 10)
            InputTextCtrlPos = (130, 40)
            InputButtonPos = (350, 40)
            ErrorLabelFontSize = 7
            ErrorLabelPos =(15, 155)

        self.parent = parent

        self.LabelCrypto = wx.StaticText(self, label='Алгоритм шифрования:', pos=(15, 15))

        self.crypto = ['AES-256',]
        self.ComboBox = wx.ComboBox(self, choices=self.crypto, style=wx.CB_READONLY, pos=ComboBoxPos, value=self.crypto[0])

        self.LabelUserFolder = wx.StaticText(self, label='Текущий каталог:', pos=(15, 45))
        self.InputUserFolder = wx.TextCtrl(self, ID_TAB_ONE_INPUT_USER_FOLDER, size=(214, -1), pos=InputTextCtrlPos, style=wx.TE_READONLY)
        self.InputUserFolder.SetBackgroundColour('#D9D9D9')
        self.InputButton = wx.Button(self, id=ID_TAB_ONE_INPUT_USER_BUTTON, label='..', size=(25, 23), pos=InputButtonPos)<commit_msg>Added additional params into crypto algorithm selector<commit_after># -*- coding: utf-8
import os
import wx
import random
import string

from InputDialogCtrl import InputDialog
from validators.KeyValidator import KeyValidator

import platform

ID_NOTEBOOK_CTRL = 2000
ID_BUTTON_SAVE = 2001
ID_BUTTON_CANCEL_SAVE = 2002
ID_TAB_ONE = 2003
ID_TAB_ONE_CRYPTO_CHECKBOX = 2004
ID_TAB_ONE_INPUT_USER_FOLDER = 2005
ID_TAB_ONE_INPUT_USER_BUTTON = 2006
ID_TAB_ONE_INPUT_CRYPT_PSW = 2007
ID_TAB_ONE_INPUT_CRYPT_BUTTON = 2008


class TabPanelBasics(wx.Panel):
    def __init__(self, parent):
        wx.Panel.__init__(self, parent=parent, id=ID_TAB_ONE)

        # Mac OS X
        if platform.system() == 'Darwin':
            ComboBoxPos = (175, 10)
            InputTextCtrlPos = (145, 45)
            InputButtonPos = (365, 40)
            ErrorLabelFontSize = 10
            ErrorLabelPos =(15, 105)
        # Windows/Linux
        else:
            ComboBoxPos = (160, 10)
            InputTextCtrlPos = (130, 40)
            InputButtonPos = (350, 40)
            ErrorLabelFontSize = 7
            ErrorLabelPos =(15, 155)

        self.parent = parent

        self.LabelCrypto = wx.StaticText(self, label='Алгоритм шифрования:', pos=(15, 15))

        self.crypto = ['AES-256', 'Twofish', 'Serpent']
        self.ComboBox = wx.ComboBox(self, choices=self.crypto, style=wx.CB_READONLY, pos=ComboBoxPos, value=self.crypto[0])

        self.LabelUserFolder = wx.StaticText(self, label='Текущий каталог:', pos=(15, 45))
        self.InputUserFolder = wx.TextCtrl(self, ID_TAB_ONE_INPUT_USER_FOLDER, size=(214, -1), pos=InputTextCtrlPos, style=wx.TE_READONLY)
        self.InputUserFolder.SetBackgroundColour('#D9D9D9')
        self.InputButton = wx.Button(self, id=ID_TAB_ONE_INPUT_USER_BUTTON, label='..', size=(25, 23), pos=InputButtonPos)
{'fraction_non_alphanumeric': 0.1028270509977827, 'fraction_numerical': 0.05709534368070954, 'mean_word_length': 3.291319857312723, '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': '1989228', 'n_tokens_mistral': 1410, 'n_tokens_neox': 1202, 'n_words': 247}