22
33## Overview
44
5- pptx-template is a PowerPoint presentation builder.
6-
7- This helps your routine reporting work that have many manual copy-paste from excel chart to powerpoint, or so.
8-
9- - Building a new powerpoint presentation file from a "template" pptx file which contains "id"
10- - Import some strings and CSV data which is defined in a JSON config file or a Python dict
11- - "id" in pptx template is expressed as a tiny DSL, like "{sales.0.june.us}"
12- - requires python envirionment (3), pandas, python-pptx
13- - for now, only UTF-8 encoding is supported for json, csv
14-
15- ### Text substitution
16- !<img src =" docs/01.png?raw=true " width =" 80% " />
17-
18- ### CSV Import
19- !<img src =" docs/02.png?raw=true " width =" 80% " />
20-
21- ## Japanese translation
22-
235pptx-template は pptx のテンプレートを元に、別途用意した JSON 中の文字列や CSV データを差し込んだ pptx を生成するツールです。
246
257定型レポートなどで大量のグラフ付きスライドを作成する際の作業を代行してくれます。
@@ -28,6 +10,14 @@ pptx-template は pptx のテンプレートを元に、別途用意した JSON
2810 - python 3, pandas, pptx に依存しています
2911 - 扱う json や csv の 文字コードは utf-8 前提です
3012
13+ ### Text substitution
14+
15+ <img src =" docs/01.png?raw=true " width =" 80% " />
16+
17+ ### CSV Import
18+
19+ <img src =" docs/02.png?raw=true " width =" 80% " />
20+
3121## Getting started
3222
3323TBD
@@ -41,11 +31,12 @@ $ echo '{ "slides": [ { "greeting" : "Hello!!" } ] }' > model.json
4131$ pptx-template --out out.pptx --template test.pptx --model model.json
4232```
4333
44- ## Development (Japanese)
34+ ## 開発工程
4535
4636### インストールの流れ
4737
4838pyenvをインストールしておく
39+
4940```
5041git clone https://github.com/m3dev/pptx-template.git
5142
@@ -109,6 +100,7 @@ pytest
109100```
110101
111102### ロールアウト手順
103+
1121041 . featureブランチを作成する
1131052 . 実装する
1141063 . 全pythonバージョンでtestが動くようにする
@@ -120,6 +112,7 @@ pytest
1201129 . PyPIにアップロードする(PyPIのリポジトリ管理者のみ可)
121113
122114### PyPIへのアップロード手順
115+
1231161 . パッケージインストール
124117
125118```
0 commit comments