Spaces:
Sleeping
Sleeping
Create generators/narrative_templates.py
Browse files
generators/narrative_templates.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from jinja2 import Template
|
| 2 |
+
|
| 3 |
+
MGMT_SUMMARY_TPL = Template("""\
|
| 4 |
+
【経営サマリ】
|
| 5 |
+
- 業績ハイライト
|
| 6 |
+
{{ highlights }}
|
| 7 |
+
- 見通し
|
| 8 |
+
{{ outlook }}
|
| 9 |
+
- セグメント
|
| 10 |
+
{{ segments }}
|
| 11 |
+
- 財務
|
| 12 |
+
{{ finance }}
|
| 13 |
+
- 株主還元
|
| 14 |
+
{{ shareholder }}
|
| 15 |
+
- ESG
|
| 16 |
+
{{ esg }}
|
| 17 |
+
- リスク
|
| 18 |
+
{{ risks }}
|
| 19 |
+
""")
|
| 20 |
+
|
| 21 |
+
SLIDE_BULLETS_TPL = Template("""\
|
| 22 |
+
{{ title }}
|
| 23 |
+
{% for item in bullets -%}
|
| 24 |
+
- {{ item }}
|
| 25 |
+
{% endfor %}
|
| 26 |
+
""")
|