
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
pptx-template-simple
Advanced tools
The PowerPoint presentation builder using template.pptx (without support in cli)
The goal of this fork is to provide a PyPI package that you can use in your
python project by calling the pptx_template.render.render_pptx
function.
Some features provided by the originals projects (https://github.com/skar404/pptx-template and https://github.com/m3dev/pptx-template) may not work properly.
pip3 install pptx_template_simple
In this fork, you can render a template like this:
from pptx_template import render
input_path = 'test/data5/in.pptx'
model = {
"greeting": "Hello!",
"client_name": "M. Melpanque"
}
output_path = 'test/data5/out.pptx'
render.render_pptx(input_path, model, output_path)
Test manualy the package:
python3 main.py
Install dependencies:
sudo apt-get -y install python3-setuptools
pip3 install wheel
pip3 install twine
Build the package:
python3 setup.py bdist_wheel
Install the local build package:
pip3 install dist/pptx_template_simple-0.2.8-py3-none-any.whl
Upload to test pypi:
twine upload --repository testpypi dist/*
Then test your package by installing the test pypi package:
pip3 install --index-url https://test.pypi.org/simple/ --no-deps pptx_template_simple
When you are ready, upload the package in the main pypi repository:
twine upload dist/*
Install dependencies:
pip3 install pytest
Run tests:
pytest
pptx-template is a PowerPoint presentation builder.
This helps your routine reporting work that have many manual copy-paste from excel chart to powerpoint, or so.
!
!
pptx-template は pptx のテンプレートを元に、別途用意した JSON 中の文字列や CSV データを差し込んだ pptx を生成するツールです。
定型レポートなどで大量のグラフ付きスライドを作成する際の作業を代行してくれます。
FAQs
The PowerPoint presentation builder using template.pptx (without support in cli)
We found that pptx-template-simple demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.