Difference between revisions of "Ploomber"
Jump to navigation
Jump to search
| Line 2: | Line 2: | ||
<source lang='bash'> | <source lang='bash'> | ||
pip install ploomber | pip install ploomber | ||
| + | </source> | ||
| + | |||
| + | = Example = | ||
| + | == header.html == | ||
| + | <source lang='html'> | ||
| + | <table style="width:100%; float:center; background-color:#FFFFFF" align="left"> | ||
| + | <tr> | ||
| + | <td style="text-align:left; background-color:#FFFFFF"></td> | ||
| + | <td style="text-align:right; background-color:#FFFFFF"> | ||
| + | <div> | ||
| + | <img src="https://wiki.bitplan.com/images/wiki/1/1e/IssueIcon.png" width="64"/> | ||
| + | </div> | ||
| + | </td> | ||
| + | </tr> | ||
| + | </table> | ||
| + | |||
| + | <div class="pull-left"> | ||
| + | This is an example Event | ||
| + | </div> | ||
| + | |||
| + | <div class="pull-right"> | ||
| + | <h4> 2022-07-12 </h4> | ||
| + | </div> | ||
| + | <center> | ||
| + | <h1> Let's try ploomber!</h1> | ||
| + | </center> | ||
| + | </source> | ||
| + | == pipeline.yaml == | ||
| + | <source lang='yaml'> | ||
| + | pipeline.yaml | ||
| + | tasks: # also works with .ipynb etc | ||
| + | - source: ex0-nb.py | ||
| + | name: Übung 0 Notebook | ||
| + | product: | ||
| + | nb: output/Übung0.ipynb | ||
| + | # data: output/output-report.pdf | ||
</source> | </source> | ||
Revision as of 15:31, 17 March 2022
https://ploomber.readthedocs.io/_/downloads/en/stable/pdf/
pip install ploomber
Example
header.html
<table style="width:100%; float:center; background-color:#FFFFFF" align="left">
<tr>
<td style="text-align:left; background-color:#FFFFFF"></td>
<td style="text-align:right; background-color:#FFFFFF">
<div>
<img src="https://wiki.bitplan.com/images/wiki/1/1e/IssueIcon.png" width="64"/>
</div>
</td>
</tr>
</table>
<div class="pull-left">
This is an example Event
</div>
<div class="pull-right">
<h4> 2022-07-12 </h4>
</div>
<center>
<h1> Let's try ploomber!</h1>
</center>
pipeline.yaml
pipeline.yaml
tasks: # also works with .ipynb etc
- source: ex0-nb.py
name: Übung 0 Notebook
product:
nb: output/Übung0.ipynb
# data: output/output-report.pdf