zeep python is a pure python SOAP client to access HTTP bindings. Zeep internally usages lxml and requests packages or modules. Basically, Zeep provides the complete functional points as requests and lxml packages along with SOAP interface. In this article, we will cover installation with basic level examples.
Zeep python : ( Installation ) –
The simple and fastest way to install the zeep package is a pip. All you need to run the below command and it will install the package for you.
pip install zeep
This command will install the latest distribution of zeep package. If you want to be version-specific , you may add the version too here.
pip install zeep==3.4.0
Here 3.4.0 is the package version.

Zeep Sample example –
Let’s take an endpoint and hit the same with Zeep client. Here is the code for that.

from zeep import Client
client = Client('http://www.webservicex.net/ConvertSpeed.asmx?WSDL')
result = client.service.ConvertSpeed(
100, 'kilometersPerhour', 'milesPerhour')
assert result == 62.137
For more detail on zeep module please go through this official website.
Silent Feature –
- It provides Compatibility with Python 3.6, 3.7, 3.8 versions
- Internally usages lxml and requests
- Soap 1.1, Soap 1.2, and HTTP bindings protocols.
- WS-Addressing headers enable
- WSSE (UserNameToken / x.509 signing) enable.
- We can deal with asyncio via httpx
- Experimental extension of XOP messages
Anyways this ZEEP package is flowing with current updates. Hence I will recommend you to please check the respective version and supporting features. Also regularly visiting the release package and solution will also add more feature set to your application as well.
Conclusion –
I hope you must find this zeep package very useful while creating an application that deals with HTTP endpoints etc. We have tried to compile everything in a place. If you have any concerns related to this article please comment below. You may also raise your concern via email. You can send the same to [email protected] .
Thanks
Data Science Learner Team
Join our list
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.