SDK Samples

Python SDK

Document conversion, redaction, form fill, and template generation.

13 samples6 categoriesProduct home →Guides →
How these samples work

This Next.js frontend calls a FastAPI backend that wraps the Nutrient Python SDK. The frontend handles uploads and displays results; the backend performs the conversions, signing, and template population.

01

Office to PDF

Convert Word, Excel, and PowerPoint documents to PDF format

Conversion→
02

Markdown to PDF

Convert Markdown documents to PDF format

Conversion→
03

PDF to HTML

Convert PDF documents to HTML for web display

Conversion→
04

PDF to Office

Convert PDF documents to Word and Excel formats

Conversion→
05

Digital Signature

Apply digital signatures to PDF documents with certificates

Signatures→
06

PDF Redaction

Permanently remove sensitive content from PDF documents

Editor→
07

Form Field Detection

Detect form fields in an unfielded PDF with the Nutrient SDK's ML detector

Forms→
08

PDF Form Fill

Programmatically fill PDF form fields with data and generate a filled PDF

Forms→
09

OCR Extraction

Extract printed text from images with Adaptive OCR — high-throughput, optimized for purely printed content

Extraction→
10

Document to Markdown

Convert a complex document to clean Markdown for RAG and LLM ingestion pipelines

Extraction→
11

Extraction Studio

Seven extraction techniques in one shell — schema-driven fields with clickable citations, Adaptive OCR, Multilingual OCR, handwriting recognition, table extraction, Markdown export, and image description

Extraction→
12

Word Template Generation

Generate PDF documents from Word templates populated with JSON data

Templates→
13

Email Extraction Pipeline

Inbound email to structured data: webhook, durable workflow, and grounded citations you can click through to the source page

Extraction→