nutrient-python-sdk skill
Perform in-process PDF and Office document processing, conversion, OCR, and data extraction directly within a Python environment.
- GitHub yıldızları
- 18
- Dosyalar
- 1
- Son commit
- 3 Kas 2026
- Lisans
- —
- İzin verilen araçlar
- —
nutrient-python-sdk skill ne işe yarar?
nutrient-python-sdk bir agent skill'dir. Perform in-process PDF and Office document processing, conversion, OCR, and data extraction directly within a Python environment.
Özet, skill'in SKILL.md dosyasından oluşturuldu.
nutrient-python-sdk skilli hakkında
Processing PDF and Office documents directly within a Python environment is what this skill enables for developers building server-side applications. It allows for in-process conversion, OCR, and data extraction without relying on external servers or network round-trips. An agent should load this skill when a project requires native document manipulation within frameworks like Django, Flask, FastAPI, or Celery using the nutrient-sdk PyPI package.
Users interact with specific classes such as Document, License, PdfExporter, and Vision to manage files. The tool handles conversions between PDF and Office formats including Word, Excel, and PowerPoint. It also supports OCR, ICR, and VLM-enhanced extraction. Unlike the nutrient-dws REST client which requires HTTPS calls to a hosted API, this SDK runs natively inside the Python process, making it suitable for self-contained workloads where network access is restricted.
Bir agent bununla neler yapabilir
- 1Convert Office files to PDFTransform a Word document into a PDF format using the PdfExporter class.
- 2Perform in-process document OCRExecute optical character recognition and data extraction directly within a Python process.
- 3Integrate document processing in web frameworksAdd document conversion capabilities to a backend running FastAPI or Django.
Skill'in SKILL.md dosyasından yazılmıştır. Her kullanım durumu oradaki bir alıntı ile kontrol edilir.
nutrient-python-sdk skill nasıl kurulur
Her komut, skill klasörünü istemcinin skills dizinine kopyalar. Yüklemek için istemciyi yeniden başlatın veya yeni bir oturum başlatın.nutrient-python-sdk skill'ini Eklenti uygulamasına kur
/plugin marketplace add PSPDFKit-labs/nutrient-skills /plugin install nutrient-sdk-dev@nutrient-skills
nutrient-python-sdk skill'ini Claude Code uygulamasına kur
~/.claude/skills/nutrient-python-sdk/SKILL.md
$ npx degit PSPDFKit-labs/nutrient-skills/plugins/nutrient-sdk-dev/skills/nutrient-python-sdk ~/.claude/skills/nutrient-python-sdknutrient-python-sdk skill'ini Claude Code (project) uygulamasına kur
.claude/skills/nutrient-python-sdk/SKILL.md
$ npx degit PSPDFKit-labs/nutrient-skills/plugins/nutrient-sdk-dev/skills/nutrient-python-sdk .claude/skills/nutrient-python-sdknutrient-python-sdk skill'ini Codex uygulamasına kur
~/.agents/skills/nutrient-python-sdk/SKILL.md
$ npx degit PSPDFKit-labs/nutrient-skills/plugins/nutrient-sdk-dev/skills/nutrient-python-sdk ~/.agents/skills/nutrient-python-sdknutrient-python-sdk skill'ini Gemini CLI uygulamasına kur
~/.gemini/skills/nutrient-python-sdk/SKILL.md
$ npx degit PSPDFKit-labs/nutrient-skills/plugins/nutrient-sdk-dev/skills/nutrient-python-sdk ~/.gemini/skills/nutrient-python-sdknutrient-python-sdk skill'ini Claude.ai uygulamasına kur
npx degit PSPDFKit-labs/nutrient-skills/plugins/nutrient-sdk-dev/skills/nutrient-python-sdk nutrient-python-sdk && zip -r nutrient-python-sdk.zip nutrient-python-sdk # claude.ai → Customize → Skills → + → Create skill → Upload a skill → nutrient-python-sdk.zip
SKILL.md
GitHub'da görüntüleNutrient 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.
Bu becerideki dosyalar
1nutrient-python-sdk skill soruları
nutrient-python-sdk skill'ini Claude Code uygulamasına nasıl kurarım?
npx degit PSPDFKit-labs/nutrient-skills/plugins/nutrient-sdk-dev/skills/nutrient-python-sdk ~/.claude/skills/nutrient-python-sdk komutunu çalıştırın. Claude Code, skill'leri ~/.claude/skills (tüm projeler) veya .claude/skills (tek proje) konumundan yükler ve açıklaması görevle eşleştiğinde skill'i kullanır.
nutrient-python-sdk skill'ini hangi istemciler kullanabilir?
Agent Skills biçimini okuyan her istemci: Claude Code, Codex, Gemini CLI ve claude.ai (ZIP olarak yükleyin). Skill içindeki betikler yalnızca istemcinin kod çalıştırmaya izin verdiği yerlerde çalışır.
How is the Nutrient Python SDK different from nutrient-dws?
The nutrient-sdk is an in-process library that runs natively in your Python process without network calls, whereas nutrient-dws is a REST API client that makes HTTPS calls to a hosted Processor API.
Can I use the pspdfkit PyPI package for Nutrient processing?
No, the pspdfkit package on PyPI is an unofficial, unmaintained, third-party package that is unrelated to Nutrient.
What Python version is required to use this SDK?
The SDK requires Python 3.8 or higher.