New document: wizpym.

This commit is contained in:
David Soulayrol 2023-08-24 20:35:31 +02:00
parent 0aa8d9171a
commit caf111e657
5 changed files with 40 additions and 0 deletions

39
web/documents/wizpym.md Normal file
View file

@ -0,0 +1,39 @@
---
title: Wizpym
date: 2011-11-22
lang: fr
layout: document.njk
---
À l'image des outils tels que `dialog` ou `whiptail`, **wizpym** permettait de définir une interface graphique pour réaliser une succession d'opérations, à la manière d'un assistant (un *wizard* en anglais). Le code a été écrit (puis abandonné) à une époque reculée, quand la version majeure de Python devait être 2.3...
---
## Overview
A wizard, as defined by **wizpym**, is an application that is built as a succession of panes, each one asking some input to the user or working on previous inputs. The whole wizard works on one object, called the subject, which is shared and updated by each one of the panes. The pane track can fork upon some inputs or any other environment data. The wizard also maintains a full history of the track, with the status of reverted panes. Thus the user can return down to the beginning, and forwarding preserves the previous status of a pane if already visited.
Project
=======
The code is hosted [on this site](https://forge.ti-nuage.fr/gitea/david/wizpym/).
**wizpym** is also present on the [Python Package Index](http://pypi.python.org/pypi/wizpym).
Captures d'écran
================
An informative pane with no input.
![A welcome screen, with features explanations and licence][screenshot-1]
A pane waiting for user inputs.
![Inputs to search keywords either on Google or in the local files][screenshot-2]
An active pane.
![A frame with an active search on the local files][screenshot-3]
[screenshot-1]: <01_wizpym_sample_welcome_pane.png>
[screenshot-2]: <02_wizpym_sample_input_pane.png>
[screenshot-3]: <03_wizpym_sample_search_pane.png>

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 KiB

View file

@ -44,6 +44,7 @@ Des itérations passées sont toujours disponibles :
Les documents que j'ai conservés ou que j'exhume peu à peu de mon disque dur...
* [La traduction](documents/le-monde-merveilleux-de-linux-2.6) du document [Wonderful World of Linux 2.6](http://www.kniggit.net/wwol26.html), Copyright 2003, Joseph Pranevich (jpranevich AT kniggit.net).
* [Un outil pour créer des assistants](documents/wizpym), développé à la fin des années 2000, en python et décrit ici en anglais. Je crois me souvenir que je l'utilisais en particulier pour traiter des photographies par lots...
* [Un article sur l'utilisation des *micro-summaries* dans Firefox en 2007](documents/using-firefox-micro-summaries), en anglais.
* [Un script Python pour isoler des blocs dans un long fichier de *logs* ](documents/identifying-logical-contexts-in-logs), en anglais.
* [Une astuce pour masquer les longs entêtes d'un fichier source dans Emacs](documents/how-to-hide-long-c-headers) en anglais.