tis-netron

8.1.7-1
Netron is a neural network model visualization tool developed based on the Electron platform
2266 downloads
Download
See build result See VirusTotal scan
tis-netron icon
  • package : tis-netron
  • name : netron
  • version : 8.1.7-1
  • categories :
  • maintainer : Amel FRADJ
  • installed_size :
  • editor :
  • licence : MIT License Copyright (c) Lutz Roeder
  • signature_date : 2025-02-19T15:08:09.000000
  • size : 159.26 Mo
  • locale :
  • target_os : windows
  • impacted_process :
  • architecture : x64
  • Homepage : https://netron.app/
package           : tis-netron
version           : 8.1.7-1
architecture      : x64
section           : base
priority          : optional
name              : netron
categories        : 
maintainer        : Amel FRADJ
description       : Netron is a neural network model visualization tool developed based on the Electron platform
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : https://github.com/lutzroeder/netron/releases
installed_size    : 
impacted_process  : 
description_fr    : Netron est un outil de visualisation de modèles de réseaux neuronaux développé sur la base de la plateforme Electron
description_pl    : Netron to narzędzie do wizualizacji modeli sieci neuronowych opracowane w oparciu o platformę Electron
description_de    : Netron ist ein Visualisierungstool für neuronale Netze, das auf der Electron-Plattform basiert
description_es    : Netron es una herramienta de visualización de modelos de redes neuronales desarrollada a partir de la plataforma Electron
description_pt    : Netron é uma ferramenta de visualização de modelos de redes neurais desenvolvida com base na plataforma Electron
description_it    : Netron è uno strumento di visualizzazione di modelli di reti neurali sviluppato sulla base della piattaforma Electron
description_nl    : Netron is een visualisatietool voor neurale netwerkmodellen ontwikkeld op basis van het Electron-platform
description_ru    : Netron - инструмент для визуализации моделей нейронных сетей, разработанный на базе платформы Electron
audit_schedule    : 
editor            : 
keywords          : 
licence           : MIT License Copyright (c) Lutz Roeder
homepage          : https://netron.app/
package_uuid      : f21a90e5-c20a-4d36-8cb1-4044900fb13c
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 00b5953456fdfece64972e9492a2eaecbddd0b207d38cf028661934d2ea94081
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-02-19T15:08:09.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         : BvlzwOQxEkPL7EnB/uWmwYWrCMrfMfhgjCtx3547u/n35LdKohzjQsJ1ca9DBBVbhGXotyiB1jZvthOct5Dc44IcQmKAZ+s2a7QT3jcui8brUuBJdyh6jhZU71K2I1AzRg6D/9TJNMusmFdyRnTid29rOGGbnbervWLpK8oQYwXqQjWonofWkWLJWzk8hB4Pobp+uxLa6zMXcgF3mavvhoendAPNCjQ7RSO8niuWBA5IN2Ed5Rwa5HM04E5CZT/PpaCN20EiekrH1l7vGG8LvEJ2u++KsLpVCbdQmFgxP5UpzDJnGMqJCUlfttOOETGY6J/C/r09fd7eZSzzsP2P9Q==
# -*- coding: utf-8 -*-
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():
    # Déclarer les variables locales
    bin_name = glob.glob('Netron-Setup-*.exe')[0]
          
        
    while True:
        try:
            install_exe_if_needed(
                bin_name,
                silentflags='/S /D="c:\\Program Files\\Netron"',
                min_version=control.get_software_version(),
            )
            break
        except: 
            if not params.get("install_with_luti", False):
                raise
            else:
                time.sleep(10)
    
    uninstallkey.clear()

def uninstall():
    # Chemin vers le programme de désinstallation
    uninstall_path = r'c:\Program Files\Netron\uninstall Netron.exe'
    # Répertoire d'installation
    app_dir = r'c:\\Program Files\\Netron'
    
    try:
        # Tuer toutes les tâches liées au logiciel
        killalltasks(control.impacted_process)
        
        # Désinstaller le logiciel
        if os.path.isfile(uninstall_path):
            print(f"Désinstallation de Netron : {uninstall_path}")
            run(f'"{uninstall_path}" /S')
        else:
            print("Programme de désinstallation introuvable.")
        
        # Supprimer le répertoire d'installation s'il existe    
        if os.path.isdir(app_dir):
            print(f"Suppression du répertoire : {app_dir}")
            remove_tree(app_dir)
            if not os.path.isdir(app_dir):
                print(f"Répertoire {app_dir} supprimé avec succès.")
            else:
                print(f"Échec de la suppression du répertoire {app_dir}.")
        else:
            print(f"Le répertoire {app_dir} n'existe pas.")
    except Exception as e:
        print(f"Une erreur s'est produite lors de la désinstallation : {e}")
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()

    git_repo = "lutzroeder/netron"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith('.exe'):
            url_dl = download["browser_download_url"]
            version = json_load["name"].replace("v" ,"").split("-")[0]
            filename = download["name"]
            break

    if not isfile(filename):
        package_updated = True
        wget(url_dl,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.exe'):
        if f != filename:
            remove_file(f)

    version = get_version_from_binary(filename)

    control.set_software_version(version)
    control.save_control_to_wapt()
8c6f3cdb6e04f897990f2e624a69cccdfe04f0d3c622a5a64c2b4ebdd10b93ce : Netron-Setup-8.1.7.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
dd6d35a001af6339d938d095d1b859c1ebe83a668dbcef76b45782f303fe8a71 : WAPT/control
00b5953456fdfece64972e9492a2eaecbddd0b207d38cf028661934d2ea94081 : WAPT/icon.png
d3038c91c2130b730c5e06e45d4044af0d329a1b3524a8c7ef1e61700f4ac710 : luti.json
a1f8a8cc1e6e83a34e49a128b246a5d67d2cc77bee232839714917289dce883c : setup.py
cd9e60671bbae3c70f2775be848f601b689e59fe03d9c2b7288829e1327a3694 : update_package.py