skillfed

suds

Lightweight SOAP client (community fork)

suds v1.2.0 593.0K downloads/30d#5,850 on PyPI190
Copyleft license (specified using classifiers) Active released

What it is and what it does

Suds is a Python SOAP client that abstracts away the complexity of WSDL and XML schema handling by reading service definitions at runtime and providing a simple object-oriented API. Instead of manually constructing SOAP messages, you instantiate a Client with a WSDL URL, inspect available methods, and call them as if they were local functions—Suds handles encoding, decoding, and transport behind the scenes.

The library supports the three main SOAP binding styles (Document/Literal, RPC/Literal, and RPC/Encoded) and includes a factory namespace for creating complex types defined in the WSDL. It relies on Python's standard logging module for debugging, allowing you to inspect sent and received SOAP messages at the module level. The package has no external runtime dependencies and is maintained as a community fork of the original suds project, with active releases and support for Python 3.7 and later.

Use it for:

  • Calling legacy SOAP-based web services from Python applications without manually writing XML or SOAP envelope code.
  • Integrating with enterprise services (e.g., ERP, CRM systems) that expose SOAP endpoints and provide WSDL documents.
  • Building client-side proxies for SOAP services where you need runtime WSDL parsing rather than code generation.
  • Debugging SOAP service interactions by enabling module-level logging to inspect messages and HTTP headers.
  • Consuming complex WSDL types by using the factory namespace to instantiate objects matching service schema definitions.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Suds is a lightweight SOAP client library that lets you consume SOAP-based web services by reading WSDL at runtime and presenting an RPC-like interface without requiring code generation.

Yes, if you need to consume SOAP web services. Suds is actively maintained, has no external dependencies, installs easily, and carries no known security vulnerabilities. The LGPL copyleft license is a consideration if you plan to distribute proprietary code—you'll need to disclose your use and ensure license compatibility. For internal tools or open-source projects, it's a solid choice.

Install

suds on PyPI

pip

pip install suds

uv

uv add suds

poetry

poetry add suds

Installing suds

Before you install

Installation is straightforward with low friction—the package is pure Python and ships as a wheel. The project is actively maintained as a community fork with recent releases, though the description notes historical installation issues with very old Python versions and setuptools versions that are no longer relevant.

License in practice

Suds is licensed under LGPL (copyleft). This means you can use it freely but must disclose your use of the library and make your own source code available under a compatible license if you distribute your application.

Quickstart

from suds.client import Client
url = 'http://example.com/service?wsdl'
client = Client(url)
result = client.service.someMethod('arg1', 'arg2')
print(result)

Requires a valid WSDL URL accessible at runtime; the service endpoint must be reachable when the client is instantiated.

Verify before relying

  • Whether the package handles modern SOAP extensions (WS-Security, WS-Addressing) beyond Document/Literal, RPC/Literal, and RPC/Encoded (section 5).
  • Performance characteristics and memory footprint when working with large WSDL schemas or high-volume SOAP messages.
  • Compatibility with Python 3.11+ given the fact sheet lists support only through 3.10.

Package facts

License (specified using classifiers) (copyleft)
Python support supports the current Python release (>=3.7)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 720 days since the last release
Last repo commit
First released
Downloads 592,985/month — #5,850 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: suds-1.2.0-py3-none-any.whl

Keywords: SOAP, web, service, client

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)Natural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet

Tags

SOAP client libraryweb service client pythonWSDL runtime parsinglightweight SOAP consumerRPC-like SOAP interfaceSOAP document literalpython soap client
soap-clientweb-serviceswsdl-runtime

More Internet packages