pypptx
Create a pptx from a yaml file.
Install
pip install pypptx
Usage:
To generate the pptx from a yaml file
pptx file.yaml
Input yaml example
slides:
- title: first title
text: some text
layout: 0
- title: second title
text: more text
layout: 1
images:
- path: images/blue.jpg
top: 7
left: 4
height: 5
- path: images/blue.jpg
top: 5
left: 10
- title: third slide
text: with the previous layout
This repository have a yaml file called example.yaml with a example of the input syntax.
List the layouts ids to use in yaml file
pptx -l
0 Title Slide
1 Title and Content
...
With the layout id select which use
...
- title: title
text: subtitle
layout: 0
- title: Other slide
text: with other layout
layout: 1
...
Why?
Some people prefer usage a pptx, in this case I prefer write a plain text to generate the pptx.
Metadata
Release files for pypptx 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pypptx-0.2.2.tar.gz | 2.9 kB | Without provenance | Details |
Release files / pypptx-0.2.2.tar.gz
| Download URL | pypptx-0.2.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb81fe33dce7a3df656b38417471b02eb0262c4db15c539a22c1d83d9a03bcbd
|
|
BLAKE2b-256 checksum How to use checksums |
74e5ad6a65e35f76815adb708daa9c55b7859f5498d42c0cff5066ec0ed3adc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pypptx 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.