aait 2.3.11__tar.gz → 2.3.11.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {aait-2.3.11 → aait-2.3.11.1}/PKG-INFO +1 -1
- {aait-2.3.11 → aait-2.3.11.1}/aait.egg-info/PKG-INFO +1 -1
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/llm/answers_llama.py +9 -2
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWEndLoop.py +1 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWExtraChunks.py +3 -3
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWFileSyncChecker.py +31 -2
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWFileWithPath.py +24 -7
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWFindFilesFromDir.py +29 -21
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWStartLoop.py +2 -1
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owfilewithpath.ui +54 -9
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owfindfilesfromdir.ui +57 -9
- {aait-2.3.11 → aait-2.3.11.1}/setup.py +1 -1
- {aait-2.3.11 → aait-2.3.11.1}/License.txt +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/aait.egg-info/SOURCES.txt +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/aait.egg-info/dependency_links.txt +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/aait.egg-info/entry_points.txt +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/aait.egg-info/namespace_packages.txt +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/aait.egg-info/requires.txt +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/aait.egg-info/top_level.txt +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/__init__.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/fix_torch/fix_torch_dll_error.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/fix_torch/libomp140.x86_64.dll +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/llm/__init__.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/llm/answers.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/llm/chunking.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/llm/embeddings.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/llm/lemmes.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/llm/lmstudio.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/llm/process_documents.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/llm/prompt_management.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/llm/translations.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/optimiser/__init__.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/optimiser/optuna_multi.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/MetManagement.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/OperationSystem.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/SimpleDialogQt.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/__init__.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/aait_repo_file.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/aait_table_viewer.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/base_widget.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/delta_local_shared_fodler.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/import_uic.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/initialize_from_ini.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/mac_utils.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/shared_functions.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/shared_variables.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/subprocess_management.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/thread_management.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/tools/__init__.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/tools/change_owcorpus.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/tools/concat_splitted_pypi.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/tools/first_time_check.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/tools/owcorpus_ok.txt +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/unlink_table_domain.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/utils/windows_utils.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWAAITResourcesManager.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWAccumulator.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWAddColumns.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWApplyRules.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWCN2rule_view.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWChunking.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWConcatRules.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWConverseLLM.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWCreateEmbeddings.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWDisplayMD.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWEditTable.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWEmptySwitch.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWExecuteScript.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWExtractTokens.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWFileMetadata.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWFusionNM.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWGenerateQuestions.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWGenerateSynthesis.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWGenerateWord.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWInputSelector.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWKeywords.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWKeywordsDetection.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWLLMEngine.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWLMStudio.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWLanguageDetection.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWLargeLanguageModel.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWLemmatizer.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWLoadDocuments.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_CE_MiniLML6.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_Falcon.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_HelsinkiEnFr.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_HelsinkiFrEn.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_MPNET.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_Mistral.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_Qwen.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_Qwen1B5_Q6.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_Qwen2_5_32B.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_Qwen3B_Q4.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_Qwen7B_Q4.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_Qwen7B_Q6.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_Solar.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_SolarUncensored.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_SpacyMD_EN.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWModel_SpacyMD_FR.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWOperationSystem.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWOptimisation.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWOptimisationSelection.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWOptimisationSendScore.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWProcessDocumentsFromPath.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWQueryLLM.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWRandomData.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWReranking.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWSaveFilepathEntry.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWSelectColumnDynamique.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWSelectRowsDynamic.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWSortAndSelect.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWTable2Corpus.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWTranslation.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWTrigger.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/OWUnzipFolder.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/POW_Wfactory.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/__init__.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owMarkdown.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/ow_OperationSystem.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/ow_in_or_out_path.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/ow_widget_random_data.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owaccumulator.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owaddcolumns.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owapplyrules.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owchunking.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owconcatrules.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owconversellm.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owedgellm.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owembeddings.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owemptyswitch.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owendloop.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owexecutescript.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owexecutescript_TEST.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owextrachunks.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owextracttokens.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owfilemetadata.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owfilesyncchecker.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owfusion_nm.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owgenerate_word.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owgeneratequestions.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owgeneratesynthesis.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owkeyword.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owkeywordsdetection.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owlangdetect.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owlargelanguagemodel.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owlemmatizer.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owllm4all.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owloaddocuments.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owloadworkflow.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_ce_minilml6.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_falcon.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_helsinki_en_fr.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_helsinki_fr_en.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_mistral.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_mpnet.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_qwen.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_qwen_2.5_32b.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_qwen_instruct_1.5b_q6.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_qwen_instruct_3b_q4.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_qwen_instruct_7b_q4.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_qwen_instruct_7b_q6.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_qwencoder_7b.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_solar.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_solar_uncensored.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_spacymd_en.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owmodel_spacymd_fr.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/ownumberpointinrules.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owprocessdocuments.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owqueryllm.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owreranking.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owsavewithpath.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owselect_column_dynamic.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owselect_row_dynamic.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owsortandselect.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owstartloop.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owtable2corpus.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owtranslation.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owtrigger.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/designer/owunzipfolder.ui +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/CN2RuleViewer.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/MDViewer.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/Mistral.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/apply_rules.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/blue_down_arrow.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/category.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/dark_green.txt +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/de.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/document_generator.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/documents.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/edge_llm.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/endloop.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/extra_chunks.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/green_check.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/in_or_out.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/input.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/languages.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/lm_studio.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/local_interf_img_multi_pull.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/local_interf_multi_pull.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/local_interf_pull.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/local_interf_push.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/local_interf_text_pull.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/logo_solar.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/logo_uncensoredsolar.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/logo_upload.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/models.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/operationSystem.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/optimisation.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/optimizer.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/output.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owCN2_intersect_rules.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owaccumulator.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owchunking.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owconversellm.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owedittable.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owembeddings.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owemptyswitch.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owenvinfo.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owexecutescript.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owextracttokens.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owfilemetadata.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owfilesfromdir.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owfilesyncchecker.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owfilewithpath.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owfusion_nm.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owgeneratequestions.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owgeneratesynthesis.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owkeywords.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owkeywordsdetection.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owlargelanguagemodel.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owlemmatizer.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owloaddocuments.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owmodel_ce_minilml6.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owmodel_falcon.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owmodel_helsinki_en_fr.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owmodel_helsinki_fr_en.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owmodel_mpnet.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owmodel_spacymd_en.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owmodel_spacymd_fr.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owoptimisation.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owoptimisationselection.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owqueryllm.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owreranking.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owsavefilepathentry.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owselectcolumndynamique.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owsortandselect.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owtable2corpus.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owtranslation.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/owtrigger.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/processdocuments.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/qwen-color.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/select_dynamic_row.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/startloop.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/tools.png +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/widgetFactory.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/AAIT/widgets/icons/zip.svg +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/orangecontrib/__init__.py +0 -0
- {aait-2.3.11 → aait-2.3.11.1}/setup.cfg +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import copy
|
|
2
2
|
import os
|
|
3
|
+
import re
|
|
3
4
|
try:
|
|
4
5
|
import GPUtil #sometimes errors occurs on gpu testing
|
|
5
6
|
except:
|
|
@@ -188,7 +189,12 @@ def generate_answers(table, model_path, use_gpu=False, n_ctx=4096, query_paramet
|
|
|
188
189
|
f"likely not supported yet.\n\nModel name: {ntpath.basename(model_path)}"
|
|
189
190
|
)
|
|
190
191
|
|
|
191
|
-
|
|
192
|
+
thinking = ""
|
|
193
|
+
matches = re.findall(r"<think>[\s\S]*?</think>", answer)
|
|
194
|
+
if matches:
|
|
195
|
+
thinking = matches[0]
|
|
196
|
+
answer = answer.replace(thinking, "").strip()
|
|
197
|
+
metas += [answer, thinking]
|
|
192
198
|
rows.append(features + metas)
|
|
193
199
|
|
|
194
200
|
if progress_callback is not None:
|
|
@@ -202,12 +208,13 @@ def generate_answers(table, model_path, use_gpu=False, n_ctx=4096, query_paramet
|
|
|
202
208
|
return
|
|
203
209
|
|
|
204
210
|
# Ajouter la colonne "Answer" en metas
|
|
205
|
-
answer_dom = [StringVariable("Answer")]
|
|
211
|
+
answer_dom = [StringVariable("Answer"), StringVariable("Thinking")]
|
|
206
212
|
|
|
207
213
|
domain = Domain(attributes=attr_dom, metas=metas_dom + answer_dom, class_vars=class_dom)
|
|
208
214
|
out_data = Table.from_list(domain=domain, rows=rows)
|
|
209
215
|
return out_data
|
|
210
216
|
|
|
217
|
+
|
|
211
218
|
class StopCallback:
|
|
212
219
|
def __init__(self, stop_sequences, widget_thread=None):
|
|
213
220
|
self.stop_sequences = stop_sequences
|
|
@@ -75,6 +75,7 @@ class EndLoopWidget(OWWidget):
|
|
|
75
75
|
self.reinitialize_iter()
|
|
76
76
|
self.Outputs.out_data.send(self.out_data)
|
|
77
77
|
self.out_data = None
|
|
78
|
+
self.in_pointer = None
|
|
78
79
|
return
|
|
79
80
|
# on boucle
|
|
80
81
|
ctypes.cast(int(self.in_pointer), ctypes.py_object).value.execute_iter_of_line_number()
|
|
@@ -74,19 +74,19 @@ class OWExtraChunks(widget.OWWidget):
|
|
|
74
74
|
|
|
75
75
|
domain = self.complete_data.domain
|
|
76
76
|
if "path" not in domain:
|
|
77
|
-
self.error(
|
|
77
|
+
self.error('You need a "path" column in your input tables.')
|
|
78
78
|
self.Outputs.concatenate_data.send(None)
|
|
79
79
|
self.Outputs.data.send(None)
|
|
80
80
|
return
|
|
81
81
|
|
|
82
82
|
if "Chunks index" not in domain:
|
|
83
|
-
self.error(
|
|
83
|
+
self.error('You need a "Chunks index" column in your input tables.')
|
|
84
84
|
self.Outputs.concatenate_data.send(None)
|
|
85
85
|
self.Outputs.data.send(None)
|
|
86
86
|
return
|
|
87
87
|
|
|
88
88
|
if "Chunks" not in domain:
|
|
89
|
-
self.error(
|
|
89
|
+
self.error('You need a "Chunks" column in your input tables.')
|
|
90
90
|
self.Outputs.concatenate_data.send(None)
|
|
91
91
|
self.Outputs.data.send(None)
|
|
92
92
|
return
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import os
|
|
2
2
|
from pathlib import Path
|
|
3
3
|
import sys
|
|
4
|
-
import platform
|
|
5
4
|
|
|
6
5
|
import Orange.data
|
|
7
6
|
from Orange.data import Table, Domain, StringVariable, ContinuousVariable
|
|
@@ -61,7 +60,7 @@ class OWFileSyncChecker(widget.OWWidget):
|
|
|
61
60
|
|
|
62
61
|
# Data Management
|
|
63
62
|
self.data = None
|
|
64
|
-
self.reference =
|
|
63
|
+
self.reference = "default"
|
|
65
64
|
self.autorun = True
|
|
66
65
|
self.thread = None
|
|
67
66
|
self.result = None
|
|
@@ -77,6 +76,13 @@ class OWFileSyncChecker(widget.OWWidget):
|
|
|
77
76
|
self.thread.safe_quit()
|
|
78
77
|
|
|
79
78
|
if self.data is None:
|
|
79
|
+
self.Outputs.data.send(None)
|
|
80
|
+
self.Outputs.processed.send(None)
|
|
81
|
+
return
|
|
82
|
+
|
|
83
|
+
if self.reference == "default":
|
|
84
|
+
self.Outputs.data.send(None)
|
|
85
|
+
self.Outputs.processed.send(None)
|
|
80
86
|
return
|
|
81
87
|
|
|
82
88
|
if self.reference is None:
|
|
@@ -140,6 +146,8 @@ class OWFileSyncChecker(widget.OWWidget):
|
|
|
140
146
|
paths_ref[p] = int(row["file size"].value)
|
|
141
147
|
ref_row_for_path[p] = i
|
|
142
148
|
|
|
149
|
+
progress_update(20, progress_callback)
|
|
150
|
+
|
|
143
151
|
# ---- Compute aligned roots once ----
|
|
144
152
|
def common_root(keys):
|
|
145
153
|
if not keys:
|
|
@@ -159,6 +167,9 @@ class OWFileSyncChecker(widget.OWWidget):
|
|
|
159
167
|
new = p
|
|
160
168
|
aligned_ref[new] = size
|
|
161
169
|
|
|
170
|
+
|
|
171
|
+
progress_update(50, progress_callback)
|
|
172
|
+
|
|
162
173
|
set_data = set(paths_data.keys())
|
|
163
174
|
set_ref = set(aligned_ref.keys())
|
|
164
175
|
|
|
@@ -180,13 +191,21 @@ class OWFileSyncChecker(widget.OWWidget):
|
|
|
180
191
|
if p in ref_row_for_path:
|
|
181
192
|
remove_indices.add(ref_row_for_path[p])
|
|
182
193
|
|
|
194
|
+
progress_update(60, progress_callback)
|
|
195
|
+
|
|
183
196
|
for p in only_data:
|
|
184
197
|
files_to_process.append([Path(p), paths_data[p]])
|
|
185
198
|
|
|
199
|
+
|
|
200
|
+
progress_update(70, progress_callback)
|
|
201
|
+
|
|
186
202
|
for p in only_ref:
|
|
187
203
|
if p in ref_row_for_path:
|
|
188
204
|
remove_indices.add(ref_row_for_path[p])
|
|
189
205
|
|
|
206
|
+
|
|
207
|
+
progress_update(80, progress_callback)
|
|
208
|
+
|
|
190
209
|
# ---- Build new reference table once ----
|
|
191
210
|
if remove_indices:
|
|
192
211
|
keep_rows = [i for i in range(len(reference)) if i not in remove_indices]
|
|
@@ -201,6 +220,8 @@ class OWFileSyncChecker(widget.OWWidget):
|
|
|
201
220
|
except Exception:
|
|
202
221
|
pass
|
|
203
222
|
|
|
223
|
+
progress_update(100, progress_callback)
|
|
224
|
+
|
|
204
225
|
# ---- Build output table ----
|
|
205
226
|
path_var = StringVariable("path")
|
|
206
227
|
size_var = ContinuousVariable("file size")
|
|
@@ -220,6 +241,8 @@ class OWFileSyncChecker(widget.OWWidget):
|
|
|
220
241
|
try:
|
|
221
242
|
self.Outputs.data.send(data)
|
|
222
243
|
self.Outputs.processed.send(processed_data)
|
|
244
|
+
self.data = None
|
|
245
|
+
self.reference = "default"
|
|
223
246
|
except Exception as e:
|
|
224
247
|
print("An error occurred when sending out_data:", e)
|
|
225
248
|
self.Outputs.data.send(None)
|
|
@@ -233,6 +256,12 @@ class OWFileSyncChecker(widget.OWWidget):
|
|
|
233
256
|
pass
|
|
234
257
|
|
|
235
258
|
|
|
259
|
+
def progress_update(value, progress_callback):
|
|
260
|
+
if progress_callback is not None:
|
|
261
|
+
progress_value = float(value)
|
|
262
|
+
progress_callback(progress_value)
|
|
263
|
+
|
|
264
|
+
|
|
236
265
|
def remove_from_table(filepath, table):
|
|
237
266
|
"""
|
|
238
267
|
Remove rows from the Orange table where 'path' matches the given filepath.
|
|
@@ -3,20 +3,21 @@ import sys
|
|
|
3
3
|
|
|
4
4
|
import Orange.data
|
|
5
5
|
from AnyQt.QtWidgets import QApplication
|
|
6
|
+
from Orange.data import StringVariable
|
|
6
7
|
from Orange.widgets import widget
|
|
7
8
|
from Orange.widgets.utils.signals import Input, Output
|
|
8
9
|
from AnyQt.QtWidgets import QCheckBox
|
|
9
10
|
from Orange.widgets.settings import Setting
|
|
10
11
|
if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
|
|
11
|
-
from Orange.widgets.orangecontrib.AAIT.utils
|
|
12
|
+
from Orange.widgets.orangecontrib.AAIT.utils import base_widget
|
|
12
13
|
from Orange.widgets.orangecontrib.AAIT.utils.initialize_from_ini import apply_modification_from_python_file
|
|
13
14
|
else:
|
|
14
|
-
from orangecontrib.AAIT.utils
|
|
15
|
+
from orangecontrib.AAIT.utils import base_widget
|
|
15
16
|
from orangecontrib.AAIT.utils.initialize_from_ini import apply_modification_from_python_file
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
@apply_modification_from_python_file(filepath_original_widget=__file__)
|
|
19
|
-
class OWFileWithPath(
|
|
20
|
+
class OWFileWithPath(base_widget.BaseListWidget):
|
|
20
21
|
name = "File with Path"
|
|
21
22
|
category = "AAIT - TOOLBOX"
|
|
22
23
|
description = "Load some tabular data specified with a filepath ('.../data/example.xlsx')."
|
|
@@ -27,6 +28,9 @@ class OWFileWithPath(widget.OWWidget):
|
|
|
27
28
|
want_control_area = False
|
|
28
29
|
priority = 1060
|
|
29
30
|
|
|
31
|
+
# Settings
|
|
32
|
+
selected_column_name = Setting("content")
|
|
33
|
+
|
|
30
34
|
class Inputs:
|
|
31
35
|
filepath = Input("Path", str, auto_summary=False)
|
|
32
36
|
path_table = Input("Path Table", Orange.data.Table)
|
|
@@ -45,20 +49,23 @@ class OWFileWithPath(widget.OWWidget):
|
|
|
45
49
|
|
|
46
50
|
@Inputs.path_table
|
|
47
51
|
def set_path_table(self, in_path_table):
|
|
48
|
-
|
|
52
|
+
self.in_path_table = in_path_table
|
|
53
|
+
if self.in_path_table is not None:
|
|
54
|
+
self.var_selector.add_variables(self.in_path_table.domain)
|
|
55
|
+
self.var_selector.select_variable_by_name(self.selected_column_name)
|
|
49
56
|
if "path" in in_path_table.domain:
|
|
50
57
|
self.filepath = in_path_table[0]["path"].value
|
|
51
58
|
self.run()
|
|
52
59
|
else:
|
|
53
60
|
self.warning("You need a 'path' variable from which the data will be loaded.")
|
|
61
|
+
if self.autorun:
|
|
62
|
+
self.run()
|
|
54
63
|
|
|
55
64
|
|
|
56
65
|
def __init__(self):
|
|
57
66
|
super().__init__()
|
|
58
67
|
# Qt Management
|
|
59
|
-
self.
|
|
60
|
-
self.setFixedHeight(300)
|
|
61
|
-
uic.loadUi(self.gui, self)
|
|
68
|
+
#uic.loadUi(self.gui, self)
|
|
62
69
|
self.checkbox_interface = self.findChild(QCheckBox, 'checkBox')
|
|
63
70
|
if self.strloadAsString=="False":
|
|
64
71
|
self.checkbox_interface.setChecked(False)
|
|
@@ -70,6 +77,7 @@ class OWFileWithPath(widget.OWWidget):
|
|
|
70
77
|
|
|
71
78
|
# Data Management
|
|
72
79
|
self.filepath = None
|
|
80
|
+
self.in_path_table = None
|
|
73
81
|
self.data = None
|
|
74
82
|
self.autorun = True
|
|
75
83
|
self.post_initialized()
|
|
@@ -144,6 +152,15 @@ class OWFileWithPath(widget.OWWidget):
|
|
|
144
152
|
self.Outputs.data.send(None)
|
|
145
153
|
return
|
|
146
154
|
|
|
155
|
+
# Verification of in_data
|
|
156
|
+
if not self.selected_column_name in self.in_path_table.domain:
|
|
157
|
+
self.warning(f'Previously selected column "{self.selected_column_name}" does not exist in your data.')
|
|
158
|
+
return
|
|
159
|
+
|
|
160
|
+
if not isinstance(self.in_path_table.domain[self.selected_column_name], StringVariable):
|
|
161
|
+
self.error('You must select a text variable.')
|
|
162
|
+
return
|
|
163
|
+
|
|
147
164
|
if self.strloadAsString!="False":
|
|
148
165
|
out_data = self.load_table_as_strings(self.filepath)
|
|
149
166
|
else:
|
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import sys
|
|
3
3
|
import Orange.data
|
|
4
|
-
from AnyQt.QtWidgets import QApplication, QLineEdit, QCheckBox,QSpinBox
|
|
4
|
+
from AnyQt.QtWidgets import QApplication, QLineEdit, QCheckBox,QSpinBox, QPushButton
|
|
5
5
|
from Orange.data import StringVariable, Table, Domain
|
|
6
|
-
from Orange.widgets import widget
|
|
7
6
|
from Orange.widgets.utils.signals import Input, Output
|
|
8
7
|
from Orange.widgets.settings import Setting
|
|
9
8
|
from datetime import datetime, timedelta
|
|
10
9
|
if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
|
|
11
|
-
from Orange.widgets.orangecontrib.AAIT.utils
|
|
10
|
+
from Orange.widgets.orangecontrib.AAIT.utils import base_widget
|
|
12
11
|
from Orange.widgets.orangecontrib.AAIT.utils.initialize_from_ini import apply_modification_from_python_file
|
|
13
12
|
else:
|
|
14
|
-
from orangecontrib.AAIT.utils
|
|
13
|
+
from orangecontrib.AAIT.utils import base_widget
|
|
15
14
|
from orangecontrib.AAIT.utils.initialize_from_ini import apply_modification_from_python_file
|
|
16
15
|
|
|
17
16
|
|
|
18
17
|
@apply_modification_from_python_file(filepath_original_widget=__file__)
|
|
19
|
-
class OWFileFromDir(
|
|
18
|
+
class OWFileFromDir(base_widget.BaseListWidget):
|
|
20
19
|
name = "Find Files From Dir"
|
|
21
|
-
description = ("Search files by extension or no for all files in a directory or subdirectories."
|
|
22
|
-
"You need a column 'input_dir' of the files.")
|
|
20
|
+
description = ("Search files by extension or no for all files in a directory or subdirectories.")
|
|
23
21
|
category = "AAIT - TOOLBOX"
|
|
24
22
|
icon = "icons/owfilesfromdir.svg"
|
|
25
23
|
if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
|
|
@@ -27,6 +25,7 @@ class OWFileFromDir(widget.OWWidget):
|
|
|
27
25
|
gui = os.path.join(os.path.dirname(os.path.abspath(__file__)), "designer/owfindfilesfromdir.ui")
|
|
28
26
|
want_control_area = False
|
|
29
27
|
priority = 1060
|
|
28
|
+
selected_column_name = Setting("input_dir")
|
|
30
29
|
extension = Setting("")
|
|
31
30
|
recursive = Setting("False")
|
|
32
31
|
filter_per_date = Setting("False")
|
|
@@ -41,21 +40,21 @@ class OWFileFromDir(widget.OWWidget):
|
|
|
41
40
|
|
|
42
41
|
@Inputs.data
|
|
43
42
|
def set_path_table(self, in_data):
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
43
|
+
self.data = in_data
|
|
44
|
+
if in_data is None:
|
|
45
|
+
self.Outputs.data.send(None)
|
|
46
|
+
return
|
|
47
|
+
if self.data:
|
|
48
|
+
self.var_selector.add_variables(self.data.domain)
|
|
49
|
+
self.var_selector.select_variable_by_name(self.selected_column_name)
|
|
50
|
+
self.run()
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
def __init__(self):
|
|
54
54
|
super().__init__()
|
|
55
55
|
# Qt Management
|
|
56
56
|
self.setFixedWidth(500)
|
|
57
|
-
self.setFixedHeight(
|
|
58
|
-
uic.loadUi(self.gui, self)
|
|
57
|
+
self.setFixedHeight(600)
|
|
59
58
|
if self.is_dash_int_castable(self.time_filter)!=0:
|
|
60
59
|
self.time_filter = "0-0-0-1"
|
|
61
60
|
|
|
@@ -104,6 +103,9 @@ class OWFileFromDir(widget.OWWidget):
|
|
|
104
103
|
self.spinBox_minute.valueChanged.connect(self.on_value_changed)
|
|
105
104
|
self.spinBox_second.valueChanged.connect(self.on_value_changed)
|
|
106
105
|
|
|
106
|
+
self.pushButton_run =self.findChild(QPushButton, 'pushButton_send')
|
|
107
|
+
self.pushButton_run.clicked.connect(self.run)
|
|
108
|
+
|
|
107
109
|
|
|
108
110
|
def on_value_changed(self):
|
|
109
111
|
self.time_filter = str(self.spinBox_day.value())+"-"+str(self.spinBox_hour.value())+"-"+str(self.spinBox_minute.value())+"-"+str(self.spinBox_second.value())
|
|
@@ -298,13 +300,19 @@ class OWFileFromDir(widget.OWWidget):
|
|
|
298
300
|
def run(self):
|
|
299
301
|
self.error("")
|
|
300
302
|
self.warning("")
|
|
301
|
-
if self.
|
|
302
|
-
self.
|
|
303
|
+
if self.data is None:
|
|
304
|
+
self.Outputs.data.send(None)
|
|
305
|
+
return
|
|
306
|
+
|
|
307
|
+
if not self.selected_column_name in self.data.domain:
|
|
308
|
+
self.warning(f'Previously selected column "{self.selected_column_name}" does not exist in your data.')
|
|
303
309
|
return
|
|
310
|
+
|
|
311
|
+
self.folderpath = self.data.get_column(self.selected_column_name)
|
|
312
|
+
|
|
304
313
|
try:
|
|
305
314
|
files_data = self.find_files()
|
|
306
315
|
|
|
307
|
-
|
|
308
316
|
if self.filter_per_date !="False":
|
|
309
317
|
files_data=self.filter_files_newer_than_delta(files_data,self.time_filter)
|
|
310
318
|
|
|
@@ -324,10 +332,10 @@ class OWFileFromDir(widget.OWWidget):
|
|
|
324
332
|
|
|
325
333
|
if __name__ == "__main__":
|
|
326
334
|
app = QApplication(sys.argv)
|
|
327
|
-
#
|
|
335
|
+
#data = Orange.data.Table(r"C:\Users\max83\Desktop\data.tab")
|
|
328
336
|
my_widget = OWFileFromDir()
|
|
329
337
|
my_widget.show()
|
|
330
|
-
#
|
|
338
|
+
#my_widget.set_path_table(data)
|
|
331
339
|
|
|
332
340
|
if hasattr(app, "exec"):
|
|
333
341
|
app.exec()
|
|
@@ -60,13 +60,13 @@ class LoopStartWidget(OWWidget):
|
|
|
60
60
|
self.checkBox_iteration_on_the_number_of_line.stateChanged.connect(self.updat_checkBox_iteration_on_the_number_of_line)
|
|
61
61
|
self.iter = 0
|
|
62
62
|
self.data = None
|
|
63
|
-
self.send_pointer()
|
|
64
63
|
|
|
65
64
|
|
|
66
65
|
def button_reintialise_action(self):
|
|
67
66
|
self.iter = 0
|
|
68
67
|
dataset = self.data
|
|
69
68
|
self.set_data(dataset)
|
|
69
|
+
self.send_pointer()
|
|
70
70
|
|
|
71
71
|
def update_checkBox_iteration_until_number_of_line_dont_change(self):
|
|
72
72
|
if self.checkBox_iteration_until_number_of_line_dont_change.isChecked():
|
|
@@ -88,6 +88,7 @@ class LoopStartWidget(OWWidget):
|
|
|
88
88
|
if dataset is None:
|
|
89
89
|
print("No data received.")
|
|
90
90
|
return
|
|
91
|
+
self.send_pointer()
|
|
91
92
|
self.error("")
|
|
92
93
|
self.data=None
|
|
93
94
|
if self.str_iterate_still_nb_line_dont_change =="True":
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<rect>
|
|
7
7
|
<x>0</x>
|
|
8
8
|
<y>0</y>
|
|
9
|
-
<width>
|
|
10
|
-
<height>
|
|
9
|
+
<width>495</width>
|
|
10
|
+
<height>433</height>
|
|
11
11
|
</rect>
|
|
12
12
|
</property>
|
|
13
13
|
<property name="windowTitle">
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<x>19</x>
|
|
20
20
|
<y>39</y>
|
|
21
21
|
<width>431</width>
|
|
22
|
-
<height>
|
|
22
|
+
<height>111</height>
|
|
23
23
|
</rect>
|
|
24
24
|
</property>
|
|
25
25
|
<property name="title">
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<property name="geometry">
|
|
30
30
|
<rect>
|
|
31
31
|
<x>20</x>
|
|
32
|
-
<y>
|
|
32
|
+
<y>80</y>
|
|
33
33
|
<width>221</width>
|
|
34
34
|
<height>16</height>
|
|
35
35
|
</rect>
|
|
@@ -63,12 +63,12 @@
|
|
|
63
63
|
</widget>
|
|
64
64
|
<widget class="QPushButton" name="pushButton_send">
|
|
65
65
|
<property name="enabled">
|
|
66
|
-
<bool>
|
|
66
|
+
<bool>true</bool>
|
|
67
67
|
</property>
|
|
68
68
|
<property name="geometry">
|
|
69
69
|
<rect>
|
|
70
70
|
<x>160</x>
|
|
71
|
-
<y>
|
|
71
|
+
<y>354</y>
|
|
72
72
|
<width>291</width>
|
|
73
73
|
<height>31</height>
|
|
74
74
|
</rect>
|
|
@@ -79,20 +79,65 @@
|
|
|
79
79
|
</widget>
|
|
80
80
|
<widget class="QCheckBox" name="checkBox_send">
|
|
81
81
|
<property name="enabled">
|
|
82
|
-
<bool>
|
|
82
|
+
<bool>true</bool>
|
|
83
83
|
</property>
|
|
84
84
|
<property name="geometry">
|
|
85
85
|
<rect>
|
|
86
86
|
<x>20</x>
|
|
87
|
-
<y>
|
|
87
|
+
<y>360</y>
|
|
88
88
|
<width>121</width>
|
|
89
|
-
<height>
|
|
89
|
+
<height>21</height>
|
|
90
90
|
</rect>
|
|
91
91
|
</property>
|
|
92
92
|
<property name="text">
|
|
93
93
|
<string>Auto send data</string>
|
|
94
94
|
</property>
|
|
95
95
|
</widget>
|
|
96
|
+
<widget class="QGroupBox" name="groupBox_3">
|
|
97
|
+
<property name="geometry">
|
|
98
|
+
<rect>
|
|
99
|
+
<x>20</x>
|
|
100
|
+
<y>180</y>
|
|
101
|
+
<width>431</width>
|
|
102
|
+
<height>161</height>
|
|
103
|
+
</rect>
|
|
104
|
+
</property>
|
|
105
|
+
<property name="title">
|
|
106
|
+
<string>Column selection</string>
|
|
107
|
+
</property>
|
|
108
|
+
<widget class="QLabel" name="Description_4">
|
|
109
|
+
<property name="geometry">
|
|
110
|
+
<rect>
|
|
111
|
+
<x>10</x>
|
|
112
|
+
<y>30</y>
|
|
113
|
+
<width>411</width>
|
|
114
|
+
<height>61</height>
|
|
115
|
+
</rect>
|
|
116
|
+
</property>
|
|
117
|
+
<property name="text">
|
|
118
|
+
<string/>
|
|
119
|
+
</property>
|
|
120
|
+
<property name="textFormat">
|
|
121
|
+
<enum>Qt::AutoText</enum>
|
|
122
|
+
</property>
|
|
123
|
+
<property name="alignment">
|
|
124
|
+
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
125
|
+
</property>
|
|
126
|
+
<property name="wordWrap">
|
|
127
|
+
<bool>true</bool>
|
|
128
|
+
</property>
|
|
129
|
+
</widget>
|
|
130
|
+
<widget class="QWidget" name="placeholder" native="true">
|
|
131
|
+
<property name="geometry">
|
|
132
|
+
<rect>
|
|
133
|
+
<x>0</x>
|
|
134
|
+
<y>30</y>
|
|
135
|
+
<width>431</width>
|
|
136
|
+
<height>131</height>
|
|
137
|
+
</rect>
|
|
138
|
+
</property>
|
|
139
|
+
</widget>
|
|
140
|
+
</widget>
|
|
96
141
|
</widget>
|
|
97
142
|
<resources/>
|
|
98
143
|
<connections/>
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<rect>
|
|
7
7
|
<x>0</x>
|
|
8
8
|
<y>0</y>
|
|
9
|
-
<width>
|
|
10
|
-
<height>
|
|
9
|
+
<width>478</width>
|
|
10
|
+
<height>563</height>
|
|
11
11
|
</rect>
|
|
12
12
|
</property>
|
|
13
13
|
<property name="windowTitle">
|
|
@@ -133,14 +133,62 @@
|
|
|
133
133
|
</property>
|
|
134
134
|
</widget>
|
|
135
135
|
</widget>
|
|
136
|
+
<widget class="QGroupBox" name="groupBox_3">
|
|
137
|
+
<property name="geometry">
|
|
138
|
+
<rect>
|
|
139
|
+
<x>20</x>
|
|
140
|
+
<y>330</y>
|
|
141
|
+
<width>431</width>
|
|
142
|
+
<height>161</height>
|
|
143
|
+
</rect>
|
|
144
|
+
</property>
|
|
145
|
+
<property name="title">
|
|
146
|
+
<string>Column selection</string>
|
|
147
|
+
</property>
|
|
148
|
+
<widget class="QLabel" name="Description_4">
|
|
149
|
+
<property name="geometry">
|
|
150
|
+
<rect>
|
|
151
|
+
<x>10</x>
|
|
152
|
+
<y>30</y>
|
|
153
|
+
<width>411</width>
|
|
154
|
+
<height>61</height>
|
|
155
|
+
</rect>
|
|
156
|
+
</property>
|
|
157
|
+
<property name="text">
|
|
158
|
+
<string/>
|
|
159
|
+
</property>
|
|
160
|
+
<property name="textFormat">
|
|
161
|
+
<enum>Qt::AutoText</enum>
|
|
162
|
+
</property>
|
|
163
|
+
<property name="alignment">
|
|
164
|
+
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
165
|
+
</property>
|
|
166
|
+
<property name="wordWrap">
|
|
167
|
+
<bool>true</bool>
|
|
168
|
+
</property>
|
|
169
|
+
</widget>
|
|
170
|
+
<widget class="QWidget" name="placeholder" native="true">
|
|
171
|
+
<property name="enabled">
|
|
172
|
+
<bool>true</bool>
|
|
173
|
+
</property>
|
|
174
|
+
<property name="geometry">
|
|
175
|
+
<rect>
|
|
176
|
+
<x>0</x>
|
|
177
|
+
<y>20</y>
|
|
178
|
+
<width>431</width>
|
|
179
|
+
<height>141</height>
|
|
180
|
+
</rect>
|
|
181
|
+
</property>
|
|
182
|
+
</widget>
|
|
183
|
+
</widget>
|
|
136
184
|
<widget class="QPushButton" name="pushButton_send">
|
|
137
185
|
<property name="enabled">
|
|
138
|
-
<bool>
|
|
186
|
+
<bool>true</bool>
|
|
139
187
|
</property>
|
|
140
188
|
<property name="geometry">
|
|
141
189
|
<rect>
|
|
142
|
-
<x>
|
|
143
|
-
<y>
|
|
190
|
+
<x>149</x>
|
|
191
|
+
<y>514</y>
|
|
144
192
|
<width>301</width>
|
|
145
193
|
<height>31</height>
|
|
146
194
|
</rect>
|
|
@@ -155,10 +203,10 @@
|
|
|
155
203
|
</property>
|
|
156
204
|
<property name="geometry">
|
|
157
205
|
<rect>
|
|
158
|
-
<x>
|
|
159
|
-
<y>
|
|
160
|
-
<width>
|
|
161
|
-
<height>
|
|
206
|
+
<x>20</x>
|
|
207
|
+
<y>520</y>
|
|
208
|
+
<width>131</width>
|
|
209
|
+
<height>16</height>
|
|
162
210
|
</rect>
|
|
163
211
|
</property>
|
|
164
212
|
<property name="text">
|
|
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
|
|
|
4
4
|
NAME = "aait"
|
|
5
5
|
|
|
6
6
|
# Version du package PyPI
|
|
7
|
-
VERSION = "2.3.11" # la version doit être supérieure à la précédente sinon la publication sera refusée
|
|
7
|
+
VERSION = "2.3.11.1" # la version doit être supérieure à la précédente sinon la publication sera refusée
|
|
8
8
|
|
|
9
9
|
# Facultatif / Adaptable à souhait
|
|
10
10
|
AUTHOR = "Orange community"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|