Examples

Real notebook conversion workflows

These examples show how teams use PyPaper to create consistent PDFs from Jupyter notebooks.

Researchers and labs

Research report

Export clean PDFs with plots, equations, and references.

theme=lightheaderText=Lab ReportmarginTop=14

Students

Course assignment

Submit a short notebook with code hidden and readable outputs.

hideCode=truefooterText=Student ID

Business teams

Analytics brief

Send a compact PDF with charts and key metrics.

theme=lightheaderText=Weekly KPIsmarginBottom=12

ML engineers

ML model audit

Keep long code cells readable with wrapping and consistent fonts.

autoFormat=truetheme=dark

Sample workflow

  1. Clean outputs and keep only the final charts and tables.
  2. Add markdown headings so the PDF has a clear structure.
  3. Pick a theme and margins that match your audience.
  4. Convert with the Studio or the API.

Sample notebook layout

# Title
## Executive summary
- 3 key bullets

## Methods
- Data sources
- Model settings

## Results
- Plots and tables

## Appendix
- Extra charts

API example

Use the API when you need to automate conversions in scripts or CI.

curl -X POST https://pypaper.cortode.id.vn/api/convert \
  -H "x-api-key: pp_your_api_key_here" \
  -F "file=@analysis.ipynb" \
  -F "hideCode=true" \
  --output report.pdf

API Reference

Headers, parameters, and responses

Everything you need to integrate the API.

Blog

How to convert notebooks to PDF

Tips for clean exports and readable layout.