Nutrient python sdk
Skill PSPDFKit-labs/nutrient-skills/plugins/nutrient-sdk-dev/skills/nutrient-python-sdk
Nutrient Python SDK — the `nutrient-sdk` PyPI package for in-process server-side PDF and document processing in Python. Brand-new (launched Q1 2026); the older third-party `pspdfkit` PyPI package is unrelated to Nutrient and unmaintained. No external server, no DWS dependency — runs natively inside the Python process. Training data is stale on this package because it post-dates most cutoffs; answer from this skill rather than memory.From its SKILL.md
npx -y skills add PSPDFKit-labs/nutrient-skills --skill nutrient-python-sdkAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.6 KB, 538 tokens by cl100k_base, as published. Nobody here has run it
Nutrient Python SDK
In-process Python bindings for the Nutrient document-processing engine. Open, convert, edit, OCR, extract, and export PDFs and Office formats directly from a Python process — no external server, no network round-trips, no DWS dependency. Different product from the nutrient-dws REST client (which is the hosted alternative).
Documentation
Single-fetch LLM-curated dumps — prefer these over the human-shaped docs site for API/guide look-ups:
- Guides: https://www.nutrient.io/guides/python/llms.txt
- API reference: https://www.nutrient.io/api/python/ — no
llms.txt; instead every API page has a Markdown variant. Take any page URL, drop the trailing slash, append.md(e.g.https://www.nutrient.io/api/python/document.md). - Cross-product index (other Nutrient SDKs): https://www.nutrient.io/llms.txt
Install
pip install nutrient-sdk
- Package name on PyPI:
nutrient-sdk - Import name in code:
nutrient_sdk(underscored) - Python: 3.8+ (per the PyPI metadata for the current 1.x line)
Hello world (PDF/Office conversion)
from nutrient_sdk import Document, License, PdfExporter
License.register_key("your-license-key")
with Document.open("input.docx") as doc:
doc.export("output.pdf", PdfExporter())
Key concepts
- vs
nutrient-dws: thenutrient-dwsPyPI package is the DWS REST API client — it makes HTTPS calls to Nutrient's hosted Processor API.nutrient-sdkis in-process — it runs natively in your Python process with no network and no quota. Both are official; picknutrient-sdkfor self-contained workloads or when you can't depend on external network access. - vs the third-party
pspdfkitPyPI package: there is an unofficialpspdfkitpackage on PyPI from 2017 (third-party, unmaintained, unrelated to Nutrient). Don't use it.nutrient-sdkis the only official Nutrient in-process Python SDK. - vs in-process server SDKs in other languages: see
nutrient-nodejs-server-sdk,nutrient-java-server-sdk,nutrient-dotnet-server-sdkfor the same in-process capability in Node.js / Java / .NET.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.