惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
Recent Commits to openclaw:main
Recent Commits to openclaw:main
H
Heimdal Security Blog
SecWiki News
SecWiki News
H
Hacker News: Front Page
N
News | PayPal Newsroom
L
LINUX DO - 最新话题
N
News and Events Feed by Topic
TaoSecurity Blog
TaoSecurity Blog
AI
AI
C
Cybersecurity and Infrastructure Security Agency CISA
Scott Helme
Scott Helme
PCI Perspectives
PCI Perspectives
S
Securelist
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Cyberwarzone
Cyberwarzone
A
Arctic Wolf
Forbes - Security
Forbes - Security
T
Tor Project blog
Spread Privacy
Spread Privacy
WordPress大学
WordPress大学
I
Intezer
Martin Fowler
Martin Fowler
Help Net Security
Help Net Security
P
Proofpoint News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Cisco Talos Blog
Cisco Talos Blog
Latest news
Latest news
博客园 - 司徒正美
W
WeLiveSecurity
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
V2EX
P
Palo Alto Networks Blog
Google DeepMind News
Google DeepMind News
IT之家
IT之家
阮一峰的网络日志
阮一峰的网络日志
V
Vulnerabilities – Threatpost
Jina AI
Jina AI
S
Security Affairs
Hacker News - Newest:
Hacker News - Newest: "LLM"
Simon Willison's Weblog
Simon Willison's Weblog
Project Zero
Project Zero
T
Threatpost
P
Privacy International News Feed
人人都是产品经理
人人都是产品经理
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - Franky
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research

Inside Nutrient

A guide to the invisible work behind documents Introducing Nutrient Documents for Salesforce: Native document generation and signing Document AI vs. traditional OCR: Choosing between OCR, AI, and hybrid pipelines PDF SDK compliance and security evaluation checklist for enterprise teams (2026) Invariant Corp replaces paper processes with Nutrient Workflow and scales without limits What is process mapping? A complete guide Nutrient vs. Conga Composer for Salesforce document generation (2026) Document routing: How to automate document distribution The CTO’s AI playbook: Why accountability architecture beats orchestration Compliance workflow automation: Why built-in compliance is table stakes Workflow diagrams: Examples, symbols, and how to build one that actually runs Digital forms: Replace paper forms with automated workflows Approval workflow software: How to automate approvals Why document-centric automation is different The CEO’s AI playbook: Why decision architecture beats model selection Nutrient SDK product updates for Q1 2026 PDF redaction verification: How to prove sensitive data is permanently removed What is a VPAT? The complete guide to accessibility conformance reports What is PDF/UA? The accessible PDF standard explained Salesforce eSignatures: Generate, sign, and track documents in one flow Online document viewer: Options, tradeoffs, and how to embed one Document viewer for web apps: React, Vue, Angular (2026) Best document viewers in 2026: A buyer’s guide How to edit a PDF in Python: Add text, images, and annotations Nutrient advances Workflow platform with agentic AI for enterprise-grade speed and consistency in document-heavy operations How to create a Salesforce quote template from opportunity data The business case for accessibility: Five ways it drives enterprise value Python PDF library comparison (2026): 7 libraries for developers Why your AI agent hallucinates PDF table data PDF.js limitations: When to upgrade to a commercial PDF SDK How Subject scaled 5× with Nutrient’s PDF SDK without rebuilding its document layer I replaced our sales training with an AI coach that runs in Slack — here’s what broke Redirecting to: https://securitybuzz.com/cybersecurity-news/why-enterprise-permissions-are-ais-most-dangerous-inheritance/ Nutrient .NET SDK vs. iText Core: Complete comparison for .NET developers DocuVieware: Support’s most frequently asked setup questions Introducing Nutrient Workflow How to convert PDF to Word in C# (.NET) When email and spreadsheets stop working: Work order approval workflows for field teams on the move Compliance with confidence: Why document-centric automation is the foundation of your mission Nutrient expands AI Assistant, automating multistep document workflows inside any application What is document generation? A developer’s guide to PDF generation Document Converter data flow and how real-time watermarks skip the queue PDF/UA compliance guide: Requirements, standards, and best practices Computers still can’t understand you How Athena Intelligence built AI agents for regulated enterprises with Nutrient’s document infrastructure How to convert HTML to PDF (2026): 4 methods from browser print to SDK How to build a document extraction pipeline with Nutrient Vision API OCR vs. intelligent document processing: Choosing the right document extraction engine Beyond OCR: How document intelligence eliminates manual processing in regulated industries Nutrient vs. IronPDF: Complete comparison for .NET developers Nutrient vs. Aspose.PDF: Complete comparison for .NET developers Redirecting to: https://fortune.com/2026/02/19/openclaw-who-is-peter-steinberger-openai-sam-altman-anthropic-moltbook/ Lufthansa Systems uses Nutrient to deliver reliable, scalable PDF rendering for pilots worldwide Nutrient vs. Syncfusion: Complete comparison for .NET developers React’s useTransition: The hook you’re probably using wrong First City Monument Bank streamlines banking processes with Nutrient Workflow Redirecting to: https://www.sdcexec.com/warehousing/automation/article/22957364/nutrient-workflow-automation-the-missing-link-in-supply-chain-efficiency The complete guide to digital signatures: PAdES, CAdES, and XAdES explained Nutrient Python SDK: Production-grade document processing for Python Introducing agentic document editing for web applications with AI Assistant Nutrient vs. QuestPDF: Complete comparison for .NET developers How we fixed the GdPicture license expiration (and what to do if you’re affected) Red team security testing with agentic AI The future of healthcare document automation Best healthcare workflow software compared Nutrient SDK product updates for Q4 2025 How Harvey scaled legal document workflows 50 percent MoM without rebuilding infrastructure HIPAA-compliant document management in hospitals How we optimized rendering performance while handling thousands of annotations in React — Part 2 Automated PII removal with Nutrient API Redirecting to: https://www.devopsdigest.com/2026-low-code-no-code-predictions Redirecting to: https://www.kmworld.com/Articles/Editorial/ViewPoints/Leaders-predict-AI-to-continue-permeating-all-aspects-of-KM-in-2026-172594.aspx What are deep agents and how do they solve complex problems? Whipping up document magic: Your easy-bake recipe for Vue and Nutrient Web SDK 🧁 What I’ve learned about product iteration planning while building SDKs Passwordless document signing: Three-layer security guide New zip folder functionality streamlines file management in Document Automation Server The keyboard shortcuts playbook: Taking control of keyboard events in Nutrient Web SDK From experienced engineer to AI beginner: My unexpected journey AI-assisted manual testing: Handling Safari’s PDF rendering and UI quirks How to keep a 20-year-old SDK up to date How we optimized rendering performance while handling thousands of annotations in React — Part 1 Nutrient announces new executive hires to accelerate next phase of growth High performance UI using web workers From curiosity to PLG (and AI): My journey to understanding product-led growth Prost to progress: One year as Nutrient Pigeon usage at Nutrient: Bridging native SDKs to Flutter Modernizing CI build servers: How to migrate from Chef to Ansible Unix man pages: AI-friendly documentation since 1971 Consistent hashing for even load distribution Best AI redaction APIs: Complete comparison guide for 2025 Why AI document redaction matters for modern security From coding to coordinating: How AI transformed my workflow What is intelligent document processing (IDP)? A complete guide Enterprise PDF SDKs: Best PSPDFKit (now Nutrient) alternatives Nutrient SDK product updates for Q3 2025 GdPicture support best practices Redacting sensitive data with Nutrient AI redaction API How AI is transforming the customer experience at Nutrient: From instant answers to intelligent support How manual QA uses PR testing between releases
Automate document conversion at scale with Python and Nutrient DCS
Stephen Carter · 2025-12-02 · via Inside Nutrient

Table of contents

    Nutrient Document Converter Services (DCS) is a highly optimized solution to programmatically convert, compress, merge, watermark, secure, extract, and OCR documents created in a large range of formats. Python is a very popular development language, both on its own and as part of Jupyter Notebook.

    Automate document conversion at scale with Python and Nutrient DCS

    Nutrient Document Converter Services is a cloud-based and self-hosted document conversion platform that transforms more than 100 file formats into pixel-perfect PDFs. Available via REST API or as a self-hosted Windows service, DCS handles Microsoft Office, InfoPath, CAD, HTML, and many other file types while preserving fonts, graphics, links, and metadata.

    Key capabilities

    • Format conversion — Transform 100+ file types to PDF.
    • Post-processing — Watermark, merge, split, and compress in single jobs.
    • OCR — Make scanned documents searchable and editable.
    • Data extraction — Extract key-value pairs from PDFs and images.
    • Security — Add encryption and create PDF/A archival formats.

    This tutorial shows you how to integrate DCS with Python(opens in a new tab) using the Zeep library to consume the SOAP web service, enabling you to automate document workflows at enterprise scale. This approach is particularly useful for Jupyter Notebook(opens in a new tab) and data science workflows.

    What you’ll learn

    1. How to set up DCS and Python with Visual Studio
    2. How to use the Zeep library to consume WSDL web services
    3. How to connect to DCS and create type factories for document processing

    Setting up Document Converter Services (DCS)

    DCS runs as a Windows service and can be invoked from any platform and language that supports web service calls.

    Deployment options

    • Separate server — Deploy on a dedicated system or virtual machine.
    • Same server — Install on the same server that hosts your application.

    DCS must be installed on a Windows-based machine.

    Scaling options

    • Scale up — Increase the number of parallel conversions.
    • Scale out — Use multiple DCS installations behind HTTP load balancers.

    For detailed installation and configuration steps, see our getting started guides.

    Setting up Python

    This example uses Visual Studio (2022) to build the Python project. Other Python development platforms on other operating systems will work just as well.

    Installation steps

    If you haven’t already installed Python support in Visual Studio(opens in a new tab), use the Visual Studio installer to download and install the Python workload:

    1. Start Visual Studio installer(opens in a new tab) and select your version of Visual Studio.
    2. Select the Python development workload and click Install.
    3. Once the installation is complete, verify it’s working:
      • Open a Python Interactive window using Alt-I.
      • Enter 3+2 and press Enter.
      • If it returns 5, the installation is successful.

    Understanding WSDL and Zeep

    Web Services Description Language (WSDL(opens in a new tab)) is used by web services like DCS to describe their available functions and data structures. Think of it as an API documentation file that’s machine-readable, telling your code exactly how to communicate with the service.

    The challenge

    While languages like C# have built-in tools to automatically convert WSDL into usable code, Python doesn’t have a straightforward native solution.

    The solution

    The Zeep library(opens in a new tab) bridges this gap by providing:

    • Client creation — Automatically generates a client from the WSDL
    • Type factories — Creates Python objects matching the web service’s data structures
    • Easy integration — Simplifies SOAP web service consumption in Python

    Setting up Zeep

    Zeep is available from PyPi and GitHub, but for Visual Studio development, it’s best to use the built-in installation procedure(opens in a new tab).

    Installation steps

    1. In Visual Studio, go to View > Other Windows > Python Environment to display the Python environments.
    2. Select your default environment for new Python packages.
    3. Click the dropdown menu (it starts out showing Overview) and select Packages (PyPi).
    4. Enter zeep in the search box.
    5. Run pip install zeep.

    You can install Zeep in any environment; Visual Studio is shown here only as an example.

    This installs Zeep and any required dependencies. After installation completes, the Python Environments window will show the Zeep package in the available packages list.

    Accessing and using the WSDL

    Now that Zeep is installed, you can inspect the DCS WSDL to understand the available services.

    Inspecting the WSDL

    1. Open a PowerShell terminal in Visual Studio: Tools > Command Line > PowerShell.

    2. Run the Zeep inspection command. Change the URL if you’re using a different port or developing on another machine:

      py.exe -mzeep http://localhost:41734/Muhimbi.DocumentConverter.WebService/?WSDL

      The URL above still displays the legacy Muhimbi Document Converter name. This is simply a holdover from before the rebrand to Nutrient DCS.

    3. This outputs the available methods and properties. Here’s a sample:

      ...

      ns3:ImageQuality

      ns3:KVPOutputFormat

      ns3:MSGBestBodyMode

      ns3:MSGEmailAddressDisplayMode

      ...

    Understanding namespaces and factories

    Notice the ns3: prefix in the output? This is a namespace identifier. Zeep uses these namespaces to organize different types of objects from the WSDL.

    To create objects from a specific namespace, you need to create a type factory for that namespace:

    # Create a factory for the ns3 namespace.

    factory2 = client.type_factory("ns3")

    # Now you can create objects from that namespace.

    # For example, creating a KVP output format object:

    KVPOutputFormat = factory2.KVPOutputFormat("XML")

    Why this matters

    Different settings objects may belong to different namespaces (ns1, ns2, ns3, etc.). Always check the WSDL output to identify which namespace prefix each object uses, and then create the appropriate factory.

    Code examples

    We have a number of code examples on our website:

    Conclusion

    Integrating Nutrient Document Converter Services with Python opens up powerful document automation capabilities for your applications. By using the Zeep library to consume the DCS SOAP web service, you can programmatically convert, process, and manipulate documents at scale without the complexity of building these features from scratch.

    Some of the key benefits of this approach include:

    • Enterprise-scale automation — Handle high-volume document processing.
    • Simplified integration — Zeep abstracts away SOAP complexity.
    • Python ecosystem — Leverage Python’s rich libraries and simplicity.
    • Focus on business logic — Let DCS handle format conversion, OCR, and security.

    This setup is particularly valuable for data science workflows, enterprise document processing pipelines, and automation scenarios where Python’s ecosystem makes it the ideal choice.

    Next steps

    Explore related topics

    Try for free Ready to get started?

    Related SDK articles

    Explore more