plotagon-director 0.9.0__tar.gz → 0.9.2__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.
Files changed (30) hide show
  1. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/PKG-INFO +14 -6
  2. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/README.md +13 -5
  3. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/__init__.py +1 -1
  4. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/http_api.py +6 -1
  5. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director.egg-info/PKG-INFO +14 -6
  6. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/pyproject.toml +1 -1
  7. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/LICENSE +0 -0
  8. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/audio/__init__.py +0 -0
  9. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/audio/phonemes.py +0 -0
  10. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/audio/tts.py +0 -0
  11. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/cli.py +0 -0
  12. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/core/__init__.py +0 -0
  13. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/core/archive.py +0 -0
  14. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/core/decompiler.py +0 -0
  15. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/core/diffplot.py +0 -0
  16. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/core/doctor.py +0 -0
  17. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/core/plotdoc.py +0 -0
  18. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/core/validator.py +0 -0
  19. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/library/__init__.py +0 -0
  20. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/library/builder.py +0 -0
  21. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/library/data/library.json +0 -0
  22. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/mcp_server.py +0 -0
  23. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/schemas/project.schema.json +0 -0
  24. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director/storyteller.py +0 -0
  25. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director.egg-info/SOURCES.txt +0 -0
  26. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director.egg-info/dependency_links.txt +0 -0
  27. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director.egg-info/entry_points.txt +0 -0
  28. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director.egg-info/requires.txt +0 -0
  29. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/plotagon_director.egg-info/top_level.txt +0 -0
  30. {plotagon_director-0.9.0 → plotagon_director-0.9.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plotagon-director
3
- Version: 0.9.0
3
+ Version: 0.9.2
4
4
  Summary: Génération de films Plotagon Studio Desktop (.plot) avec voix Edge TTS et synchro labiale
5
5
  Author: Mohamed Amine Ben Mallessa
6
6
  License: MIT
@@ -53,15 +53,19 @@ pour la synchro labiale. Spécification complète : `docs/PLOT_FORMAT.md`.
53
53
  ## Installation
54
54
 
55
55
  ```bash
56
- pip install -e . # depuis un clone: commande `plotagon-director`
57
- # ou directement depuis GitHub :
58
- pip install git+https://github.com/mohamed-amine-ben-mallessa/plotagon-director.git
56
+ pip install plotagon-director # depuis PyPI
57
+ # extras : [storyteller] video->film | [mcp] serveur MCP | [http] API HTTP
58
+ # [library] reconstruction de la bibliothèque (UnityPy)
59
+ pip install "plotagon-director[storyteller,mcp,http]"
60
+
61
+ # ou depuis un clone :
62
+ pip install -e . # + pip install -r requirements.txt (tout)
59
63
  ```
60
64
 
61
65
  La bibliothèque de ressources (`library.json`) est embarquée dans le package :
62
66
  le générateur fonctionne sans installation Plotagon. L'extra `[library]`
63
- (`pip install -e .[library]`, ajoute UnityPy) n'est nécessaire que pour
64
- **reconstruire** la bibliothèque depuis une installation Plotagon.
67
+ n'est nécessaire que pour **reconstruire** la bibliothèque depuis une
68
+ installation Plotagon.
65
69
 
66
70
  ## Usage
67
71
 
@@ -163,6 +167,10 @@ Bibliothèque embarquée : 205 scènes (953 positions), 53 personnages,
163
167
  - `plotagon_director/library/` — builder du catalogue + `data/library.json`
164
168
  - `plotagon_director/storyteller.py` — pipeline vidéo/transcription → .plot
165
169
  (`plotagon-storyteller`)
170
+ - `plotagon_director/mcp_server.py` / `http_api.py` — serveur MCP
171
+ (`plotagon-director mcp`) et API HTTP (`plotagon-director serve`)
172
+ - `plotagon_director/schemas/` — JSON Schema formel du project.yaml
173
+ (embarqué ; `schemas/project.schema.yaml` = version commentée pour humains)
166
174
  - `docs/` — rétro-ingénierie du format (`PLOT_FORMAT.md`), API interne de
167
175
  l'appli (`APP_JS_ANALYSIS.md`), état des connaissances (`FINDINGS.md`),
168
176
  voix Edge TTS (`VOICES.md`)
@@ -14,15 +14,19 @@ pour la synchro labiale. Spécification complète : `docs/PLOT_FORMAT.md`.
14
14
  ## Installation
15
15
 
16
16
  ```bash
17
- pip install -e . # depuis un clone: commande `plotagon-director`
18
- # ou directement depuis GitHub :
19
- pip install git+https://github.com/mohamed-amine-ben-mallessa/plotagon-director.git
17
+ pip install plotagon-director # depuis PyPI
18
+ # extras : [storyteller] video->film | [mcp] serveur MCP | [http] API HTTP
19
+ # [library] reconstruction de la bibliothèque (UnityPy)
20
+ pip install "plotagon-director[storyteller,mcp,http]"
21
+
22
+ # ou depuis un clone :
23
+ pip install -e . # + pip install -r requirements.txt (tout)
20
24
  ```
21
25
 
22
26
  La bibliothèque de ressources (`library.json`) est embarquée dans le package :
23
27
  le générateur fonctionne sans installation Plotagon. L'extra `[library]`
24
- (`pip install -e .[library]`, ajoute UnityPy) n'est nécessaire que pour
25
- **reconstruire** la bibliothèque depuis une installation Plotagon.
28
+ n'est nécessaire que pour **reconstruire** la bibliothèque depuis une
29
+ installation Plotagon.
26
30
 
27
31
  ## Usage
28
32
 
@@ -124,6 +128,10 @@ Bibliothèque embarquée : 205 scènes (953 positions), 53 personnages,
124
128
  - `plotagon_director/library/` — builder du catalogue + `data/library.json`
125
129
  - `plotagon_director/storyteller.py` — pipeline vidéo/transcription → .plot
126
130
  (`plotagon-storyteller`)
131
+ - `plotagon_director/mcp_server.py` / `http_api.py` — serveur MCP
132
+ (`plotagon-director mcp`) et API HTTP (`plotagon-director serve`)
133
+ - `plotagon_director/schemas/` — JSON Schema formel du project.yaml
134
+ (embarqué ; `schemas/project.schema.yaml` = version commentée pour humains)
127
135
  - `docs/` — rétro-ingénierie du format (`PLOT_FORMAT.md`), API interne de
128
136
  l'appli (`APP_JS_ANALYSIS.md`), état des connaissances (`FINDINGS.md`),
129
137
  voix Edge TTS (`VOICES.md`)
@@ -1,3 +1,3 @@
1
1
  """plotagon_director — generation de films Plotagon Studio Desktop (.plot)."""
2
2
 
3
- __version__ = "0.9.0"
3
+ __version__ = "0.9.2"
@@ -113,11 +113,16 @@ def create_app():
113
113
  with contextlib.redirect_stdout(buffer):
114
114
  do_build(_yaml_to_tmp(body.yaml), str(out),
115
115
  no_voices=body.no_voices)
116
+ import re
117
+ summary = ""
118
+ for line in buffer.getvalue().splitlines():
119
+ if line.startswith("OK "):
120
+ summary = re.sub(r"[^ -~]", "?", line).strip()
116
121
  return Response(
117
122
  content=out.read_bytes(),
118
123
  media_type="application/octet-stream",
119
124
  headers={"Content-Disposition": "attachment; filename=film.plot",
120
- "X-Build-Log": buffer.getvalue()[-900:].replace("\n", " | ")})
125
+ "X-Build-Summary": summary or "build ok"})
121
126
 
122
127
  return app
123
128
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plotagon-director
3
- Version: 0.9.0
3
+ Version: 0.9.2
4
4
  Summary: Génération de films Plotagon Studio Desktop (.plot) avec voix Edge TTS et synchro labiale
5
5
  Author: Mohamed Amine Ben Mallessa
6
6
  License: MIT
@@ -53,15 +53,19 @@ pour la synchro labiale. Spécification complète : `docs/PLOT_FORMAT.md`.
53
53
  ## Installation
54
54
 
55
55
  ```bash
56
- pip install -e . # depuis un clone: commande `plotagon-director`
57
- # ou directement depuis GitHub :
58
- pip install git+https://github.com/mohamed-amine-ben-mallessa/plotagon-director.git
56
+ pip install plotagon-director # depuis PyPI
57
+ # extras : [storyteller] video->film | [mcp] serveur MCP | [http] API HTTP
58
+ # [library] reconstruction de la bibliothèque (UnityPy)
59
+ pip install "plotagon-director[storyteller,mcp,http]"
60
+
61
+ # ou depuis un clone :
62
+ pip install -e . # + pip install -r requirements.txt (tout)
59
63
  ```
60
64
 
61
65
  La bibliothèque de ressources (`library.json`) est embarquée dans le package :
62
66
  le générateur fonctionne sans installation Plotagon. L'extra `[library]`
63
- (`pip install -e .[library]`, ajoute UnityPy) n'est nécessaire que pour
64
- **reconstruire** la bibliothèque depuis une installation Plotagon.
67
+ n'est nécessaire que pour **reconstruire** la bibliothèque depuis une
68
+ installation Plotagon.
65
69
 
66
70
  ## Usage
67
71
 
@@ -163,6 +167,10 @@ Bibliothèque embarquée : 205 scènes (953 positions), 53 personnages,
163
167
  - `plotagon_director/library/` — builder du catalogue + `data/library.json`
164
168
  - `plotagon_director/storyteller.py` — pipeline vidéo/transcription → .plot
165
169
  (`plotagon-storyteller`)
170
+ - `plotagon_director/mcp_server.py` / `http_api.py` — serveur MCP
171
+ (`plotagon-director mcp`) et API HTTP (`plotagon-director serve`)
172
+ - `plotagon_director/schemas/` — JSON Schema formel du project.yaml
173
+ (embarqué ; `schemas/project.schema.yaml` = version commentée pour humains)
166
174
  - `docs/` — rétro-ingénierie du format (`PLOT_FORMAT.md`), API interne de
167
175
  l'appli (`APP_JS_ANALYSIS.md`), état des connaissances (`FINDINGS.md`),
168
176
  voix Edge TTS (`VOICES.md`)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "plotagon-director"
7
- version = "0.9.0"
7
+ version = "0.9.2"
8
8
  description = "Génération de films Plotagon Studio Desktop (.plot) avec voix Edge TTS et synchro labiale"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }