Simplate template rensder usesd jinja2
Project description
pyrender
jinja2を使った簡単なテンプレートレンダー パッケージングの練習に利用
使い方
# renderj2 --vars vars.yml template.j2
上記のように実行すると、Jinja2の形式で書かれたtempalte.j2
を
vars.yml
の変数を用いてレンダリングします。
結果は標準出力に出力されます。
ファイル出力する機能はそのうち追加予定。
開発
Require
- python3
- Poetry
テスト
$ poetry poe test
ビルド
$ poetry build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
renderj2-1.2.0.tar.gz
(3.1 kB
view hashes)