fletchtime 0.3.2__tar.gz → 0.3.3__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.
- {fletchtime-0.3.2/src/fletchtime.egg-info → fletchtime-0.3.3}/PKG-INFO +2 -1
- {fletchtime-0.3.2 → fletchtime-0.3.3}/docs/architecture.md +40 -9
- {fletchtime-0.3.2 → fletchtime-0.3.3}/pyproject.toml +2 -2
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/_version.py +3 -3
- fletchtime-0.3.3/src/fletchtime/gui.py +1164 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3/src/fletchtime.egg-info}/PKG-INFO +2 -1
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime.egg-info/requires.txt +1 -0
- fletchtime-0.3.3/src/fletchtime.egg-info/scm_version.json +8 -0
- fletchtime-0.3.2/src/fletchtime/gui.py +0 -781
- fletchtime-0.3.2/src/fletchtime.egg-info/scm_version.json +0 -8
- {fletchtime-0.3.2 → fletchtime-0.3.3}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/.github/workflows/build.yml +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/.github/workflows/docs.yml +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/.github/workflows/test.yml +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/.gitignore +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/CLAUDE.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/CODE_OF_CONDUCT.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/CONTRIBUTING.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/LICENSE +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/README.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/REMERCIEMENTS.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/SECURITY.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/config/app.toml +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/config/flint.toml +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/config/indoor.toml +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/demo.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/docs/_static/logo.svg +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/docs/api-reference.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/docs/conf.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/docs/dev-guide/index.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/docs/index.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/docs/premier-club.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/docs/remerciements.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/docs/requirements.txt +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/docs/roadmap.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/docs/specifications.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/docs/user-guide/index.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/fletchtime.spec +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/run_server.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/run_tests.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/scripts/generate_classic_sounds.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/setup.cfg +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/__init__.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/__main__.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/engine/__init__.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/engine/engine.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/engine/models.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/engine/modes/__init__.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/engine/modes/base.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/engine/modes/flint.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/engine/modes/indoor.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/engine/sequence.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/engine/turn_modes.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/logging_setup.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/runtime.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/server/__init__.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/server/config_store.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/server/http_static.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/server/match_server.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/server/ws_server.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/__init__.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/banners/README.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/club/README.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/sounds/packs/README.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/sounds/packs/classic/countdown_tick.wav +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/sounds/packs/classic/emergency_end.wav +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/sounds/packs/classic/emergency_start.wav +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/sounds/packs/classic/end_of_match.wav +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/sounds/packs/classic/end_of_volee.wav +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/sounds/packs/classic/pause_end.wav +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/sounds/packs/classic/pause_start.wav +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/sounds/packs/classic/prep_start.wav +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/sounds/packs/classic/shoot_start.wav +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/sounds/packs/classic/warning_orange.wav +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/targets/flint_20cm_4spot.svg +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/targets/flint_35cm_1spot.svg +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/targets/indoor_compound.svg +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/_defaults/targets/indoor_recurve.svg +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/config.html +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/control.html +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/display.html +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/i18n.js +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/index.html +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/logo.ico +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/logo.svg +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/manual.html +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/screenshots/config.png +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/screenshots/control.png +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/screenshots/display.png +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/screenshots/index.png +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime/web/theme.js +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime.egg-info/SOURCES.txt +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime.egg-info/dependency_links.txt +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime.egg-info/entry_points.txt +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime.egg-info/scm_file_list.json +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/src/fletchtime.egg-info/top_level.txt +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/tests/test_config_store.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/tests/test_engine.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/tests/test_flint_mode.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/tests/test_indoor_mode.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/tests/test_main_cli.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/tests/test_match_server.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/tests/test_runtime.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/tests/test_theme_drift.py +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/web/assets/banners/README.md +0 -0
- {fletchtime-0.3.2 → fletchtime-0.3.3}/web/assets/sounds/packs/README.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fletchtime
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: Chronométrage de compétitions d'archerie FFTL (Indoor, Flint) -- serveur + interfaces web incluses
|
|
5
5
|
License: GPL-3.0-or-later
|
|
6
6
|
Requires-Python: >=3.11
|
|
@@ -8,6 +8,7 @@ Description-Content-Type: text/markdown
|
|
|
8
8
|
License-File: LICENSE
|
|
9
9
|
Requires-Dist: websockets>=12.0
|
|
10
10
|
Requires-Dist: customtkinter>=5.2
|
|
11
|
+
Requires-Dist: Pillow>=10.0
|
|
11
12
|
Provides-Extra: docs
|
|
12
13
|
Requires-Dist: sphinx>=7.0; extra == "docs"
|
|
13
14
|
Requires-Dist: myst-parser>=2.0; extra == "docs"
|
|
@@ -346,16 +346,47 @@ Points clés :
|
|
|
346
346
|
d'accès HTTP (`http.server` écrit sur stderr) sans avoir à instrumenter
|
|
347
347
|
chaque site d'appel.
|
|
348
348
|
|
|
349
|
+
### Panneau latéral avec écrans (depuis issue #7)
|
|
350
|
+
|
|
351
|
+
`fletchtime.gui` est passé d'un unique panneau qui empilait tout
|
|
352
|
+
verticalement à un panneau latéral gauche (bouton par écran : Accueil,
|
|
353
|
+
Affichage, Réseau, Statut technique, Journal) qui bascule la zone de
|
|
354
|
+
contenu -- même principe que `fletchscore/gui/app.py::afficher_section`,
|
|
355
|
+
pour une navigation cohérente entre les deux outils (voir aussi la
|
|
356
|
+
convention de panneau latéral actée dans le `CLAUDE.md` global suite à
|
|
357
|
+
fletchapps#1). Langue (FR/EN), thème et bouton Quitter vivent dans le
|
|
358
|
+
panneau latéral lui-même, pas dans un écran.
|
|
359
|
+
|
|
360
|
+
Point d'attention propre à FletchTime (FletchScore n'a pas cet
|
|
361
|
+
équivalent) : le journal et le statut technique sont alimentés en
|
|
362
|
+
continu par des threads d'arrière-plan (`_poll_log_queue`,
|
|
363
|
+
`_poll_technical_status`/`_drain_status_queue`) **indépendamment de
|
|
364
|
+
l'écran affiché** -- ils continuent de tourner même quand on est sur un
|
|
365
|
+
autre écran. Comme chaque écran est détruit et reconstruit à la
|
|
366
|
+
navigation (`for widget in self.cadre_section.winfo_children():
|
|
367
|
+
widget.destroy()`), leurs données ne peuvent pas vivre uniquement dans
|
|
368
|
+
le widget qui les affiche, sous peine d'être perdues à chaque
|
|
369
|
+
changement d'écran. Elles sont donc stockées sur la fenêtre elle-même
|
|
370
|
+
(`self.log_lines`, `self.tech_status_data`), mises à jour en continu ;
|
|
371
|
+
le widget correspondant (`self.log_box`, `self.tech_status_label`) vaut
|
|
372
|
+
`None` quand son écran n'est pas actif -- les threads d'arrière-plan
|
|
373
|
+
vérifient sa présence avant d'y écrire, pour ne jamais toucher un widget
|
|
374
|
+
détruit. Même logique pour le statut serveur (démarré/arrêté) : un
|
|
375
|
+
indicateur compact (point coloré + libellé) reste en permanence dans le
|
|
376
|
+
panneau latéral, en plus de la version complète avec les boutons
|
|
377
|
+
démarrer/arrêter sur l'écran Accueil.
|
|
378
|
+
|
|
349
379
|
```{warning}
|
|
350
|
-
Le rendu
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
PyInstaller/`customtkinter` documenté dans
|
|
380
|
+
Le rendu du panneau latéral (customtkinter) a été vérifié visuellement
|
|
381
|
+
via Xvfb (voir CLAUDE.md global, section Environnement) -- les 5 écrans,
|
|
382
|
+
le changement de langue et de thème, et le redimensionnement dans les
|
|
383
|
+
deux sens (le `log_box` en particulier doit pouvoir s'étirer). Pas
|
|
384
|
+
encore vérifié sur un vrai poste ni sur Pydroid. La logique de cycle de
|
|
385
|
+
vie que la fenêtre pilote (`ServerRuntime`) est testée pour de vrai
|
|
386
|
+
(voir `tests/test_runtime.py` : démarrage, requête HTTP réelle, arrêt,
|
|
387
|
+
vérification que le port est bien libéré, redémarrage sur le même
|
|
388
|
+
port) -- voir aussi le piège PyInstaller/`customtkinter` documenté dans
|
|
389
|
+
{doc}`dev-guide/index`.
|
|
359
390
|
```
|
|
360
391
|
|
|
361
392
|
## Résilience de la boucle de décompte
|
|
@@ -9,7 +9,7 @@ description = "Chronométrage de compétitions d'archerie FFTL (Indoor, Flint) -
|
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
11
11
|
license = { text = "GPL-3.0-or-later" }
|
|
12
|
-
dependencies = ["websockets>=12.0", "customtkinter>=5.2"]
|
|
12
|
+
dependencies = ["websockets>=12.0", "customtkinter>=5.2", "Pillow>=10.0"]
|
|
13
13
|
|
|
14
14
|
[project.optional-dependencies]
|
|
15
15
|
docs = ["sphinx>=7.0", "myst-parser>=2.0", "furo>=2024.1.29", "sphinxcontrib-mermaid>=0.9", "sphinx-design>=0.6"]
|
|
@@ -24,7 +24,7 @@ include = ["fletchtime*"]
|
|
|
24
24
|
|
|
25
25
|
[tool.setuptools.package-data]
|
|
26
26
|
"fletchtime.web" = [
|
|
27
|
-
"*.html", "*.js", "*.svg",
|
|
27
|
+
"*.html", "*.js", "*.svg", "*.ico",
|
|
28
28
|
"screenshots/*.png",
|
|
29
29
|
"_defaults/targets/*.jpg",
|
|
30
30
|
"_defaults/sounds/packs/classic/*.wav",
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.3.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 3,
|
|
21
|
+
__version__ = version = '0.3.3'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 3, 3)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g7d0212ef6'
|