Automatically convert your Quarto (qmd) documents into pdf or pptx files for sharing.
Project description
presoutput
A package designed to automatically convert your Quarto (qmd) documents into pdf or pptx files for sharing.
The package has been designed to work by default with revealjs presenstations created through Quarto but should work with any html format created with Quarto.
Installation
You can install presoutput via pip:
pip install presoutput
This package requires Google Chrome (or a chromium based browser like Edge) to be installed on the machine that is running the code so that it can print to PDF the html file generated from the quarto document.
Usage
You can use the presoutput <qmdfile.qmd> cli function to generate either a pdf or pptx output. The function will default to PDF but can changed to PPTX with an optional -t pptx.
You can use the qmd_to_pdf or qmd_to_pptx functions to convert your Quarto (.qmd) file to either pdf or pptx from with a python script.
Note that when converting to either format it follows the pattern below and the pptx file is made up of png copies of the original slides.
qmd
|
|--> html
|
|--> pdf
|
|--> png
|
|--> pptx
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file presoutput-0.1.4.tar.gz.
File metadata
- Download URL: presoutput-0.1.4.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.11 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
248ecdfef32e7e9f026ad01a90f86a39b10f174e3ee08dade793bf9373faf982
|
|
| MD5 |
de4fb4b87943339b8e4c0824e07ac211
|
|
| BLAKE2b-256 |
acc72aaeaf5877d14e785c471cc8e649315d25cca1135a06278c2b69ed4f6237
|
File details
Details for the file presoutput-0.1.4-py3-none-any.whl.
File metadata
- Download URL: presoutput-0.1.4-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.11 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
004b892a6a908f92274e5207146860fa05875727643002fad12b2268d0061c99
|
|
| MD5 |
8ee71d17e1bea341a0315e01b3f678d4
|
|
| BLAKE2b-256 |
034dac1148fcd7eb68393bab3519f5bd0a2d2978a92b8296444f0a48c1d53014
|