- package: tis-simple-concordance-program
- name: simple-concordance-program
- version: 5.0.8-1
- categories: Education
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: opensource_free
- target_os: windows
- architecture: x64
- signature_date:
- size: 5.61 Mo
- homepage : https://www.textworld.com/
package : tis-simple-concordance-program
version : 5.0.8-1
architecture : x64
section : base
priority : optional
name : simple-concordance-program
categories : Education
maintainer : WAPT Team,Tranquil IT,Amel FRADJ
description : SCP is a concordance and word list program capable of reading texts written in many languages
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.3
sources :
installed_size :
impacted_process :
description_fr : SCP est un programme de concordance et de liste de mots capable de lire des textes écrits dans de nombreuses langues
description_pl : SCP to program do tworzenia konkordancji i list słów, zdolny do odczytywania tekstów napisanych w wielu językach
description_de : SCP ist ein Konkordanz- und Wortlistenprogramm, das Texte lesen kann, die in vielen Sprachen geschrieben sind
description_es : SCP es un programa de concordancias y listas de palabras capaz de leer textos escritos en muchos idiomas
description_pt : O SCP é um programa de concordância e lista de palavras capaz de ler textos escritos em muitas línguas
description_it : SCP è un programma di concordanza ed elenco di parole in grado di leggere testi scritti in molte lingue
description_nl : SCP is een concordantie- en woordenlijstprogramma dat teksten in vele talen kan lezen
description_ru : SCP - это конкорданс и список слов, способный читать тексты, написанные на многих языках
audit_schedule :
editor :
keywords :
licence : opensource_free
homepage : https://www.textworld.com/
package_uuid : fbcb5827-4caf-4060-a955-480f11034f11
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : 00916f9adea418996d7ad58a074aa9212f9f9f17f4bda667ada33cf8795fd90e
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-10-02T10:03:20.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : fAxjlLb4uKZUwqIbvFds9cnojMvWK+vXrqtDTgDKaFJNE8ZsU08OI70NFWvaG5BcwTxhRlgSEMI2DWSkM9LvQcGBSbyh5XLdLlrCsuk37XDDlU5yyH9+GU0efAmLyLHzaFcQsRAS1KpyvmYjphe6zFVUqsu+eKG34iUy2v/U740L9JSUAu9P63nNv7WPdw6VQ6BxZxCQEtDifaZr8e+2dZc4Yox7ZaS5J2YD3Z1RJD3w5kRbHRITfyQy409h8ZHdJxTZ07j4seIwP+8ErKSMdfoQO3rfgicNfPyjTCJRMvWN9oSdR/cHI9fa+j4/Wxq8Vo4Gx763TOiCpQGkZzakuw==
# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
bin_name = glob.glob('simple-concordance-program-*.msi')[0]
# Installing the software
install_msi_if_needed(bin_name)
# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
from setupdevhelpers import *
import glob
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
url_base = "https://www.textworld.com/scp/#Downloads"
response = requests.get(url_base,allow_redirects=True, proxies=proxies)
# Extract the correct div using bs_find_all
divs = bs_find_all(response.text, "table", proxies=proxies)
msi_file = None
for div in divs:
if msi_file:
break
links = div.find_all('a', href=True)
for link in links:
if link['href'].endswith('.msi'):
href = link['href']
msi_file = href
download_url = "https://www.textworld.com/scp/" + msi_file
latest_bin = msi_file.split('/')[-1]
version = latest_bin.split('-')[-3]
break
# Downloading latest binaries
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
package_updated = True
else:
print("Binary is present: %s" % latest_bin)
# Deleting outdated binaries
for f in glob.glob('*.msi'):
if f != latest_bin:
remove_file(f)
version = get_version_from_binary(latest_bin)
# Mettre à jour le package
control.set_software_version(version)
control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
8179f23c06a0e0f7908ca6a4f89dbc237dcf5ba131e99669d7a5d6a4b871c63c : WAPT/control
00916f9adea418996d7ad58a074aa9212f9f9f17f4bda667ada33cf8795fd90e : WAPT/icon.png
91642cf691e64b965757c73802a826a9dd201e8de7ebe0daea66ddc46c8d090c : luti.json
b0ed5580c894688ec759db4c7b6be5e787cb829aaab5b230cc7c97beb18d39a7 : setup.py
468b57cedc7eaa0580178c8ec6e8f4dd697df06cd8b7bed2e8590332c8d07024 : simple-concordance-program-5.0.8-win-x64.msi
b0d59fca5a56e335a1ba07c266c6ac21c7905796d1f87443c8fd55295498aafd : update_package.py