/python-zeep

A Python SOAP client

Primary LanguagePythonOtherNOASSERTION

Zeep: Python SOAP client

Documentation Status Python Tests Coverage PyPI version

A Python SOAP client

Highlights:

  • Compatible with Python 3.9, 3.10, 3.11, 3.12, 3.13 and PyPy3
  • Built on top of lxml, requests, and httpx
  • Support for Soap 1.1, Soap 1.2, and HTTP bindings
  • Support for WS-Addressing headers
  • Support for WSSE (UserNameToken / x.509 signing)
  • Support for asyncio using the httpx module
  • Experimental support for XOP messages

Please see the documentation for more information.

Status

Note

I consider this library to be stable. Since no new developments happen around the SOAP specification, it won't be updated that much. Good PRs which fix bugs are always welcome, however.

Installation

pip install zeep

Zeep uses the lxml library for parsing XML. See lxml installation requirements.

Usage

from zeep import Client

client = Client('tests/wsdl_files/example.rst')
client.service.ping()

To quickly inspect a WSDL file, use:

python -m zeep <url-to-wsdl>

Please see the documentation for more information.

Sponsors

Kraken Tech

Support

If you want to report a bug, please first read the bug reporting guidelines.

Please only report bugs, not support requests, to the GitHub issue tracker.