1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
# Zeep: Python SOAP client
[](https://readthedocs.org/projects/python-zeep/)
[](https://github.com/mvantellingen/python-zeep/actions?query=workflow%3A%22Python+Tests%22)
[](https://codecov.io/gh/mvantellingen/python-zeep)
[](https://pypi.python.org/pypi/zeep/)
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](http://docs.python-zeep.org/) 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
```bash
pip install zeep
```
Zeep uses the lxml library for parsing XML. See [lxml installation requirements](https://lxml.de/installation.html).
## Usage
```python
from zeep import Client
client = Client('tests/wsdl_files/example.rst')
client.service.ping()
```
To quickly inspect a WSDL file, use:
```bash
python -m zeep <url-to-wsdl>
```
Please see the [documentation](http://docs.python-zeep.org) for more information.
# Sponsors
[](https://github.com/octoenergy)
# Support
If you want to report a bug, please first read [the bug reporting guidelines](http://docs.python-zeep.org/en/master/reporting_bugs.html).
Please only report bugs, not support requests, to the GitHub issue tracker.
|