How To Install python3-zeep on Debian 9
Introduction
In this tutorial we learn how to install python3-zeep
on Debian 9.
What is python3-zeep
python3-zeep is:
A fast and modern Python SOAP client
Highlights:
- Modern codebase compatible with Python 2.7, 3.3, 3.4, 3.5 and PyPy
- Build on top of lxml and requests
- Supports recursive WSDL and XSD documents.
- Supports the xsd:choice and xsd:any elements.
- Uses the defusedxml module for handling potential XML security issues
- Support for WSSE (UsernameToken only for now)
- Experimental support for HTTP bindings
- Experimental support for WS-Addressing headers
- Experimental support for asyncio via aiohttp (Python 3.5+)
Features still in development include:
- WSSE x.509 support (BinarySecurityToken)
- WS Policy support
Please see for more information the documentation at http://docs.python-zeep.org/
This package is targeting Python version 3.
There are three methods to install python3-zeep
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install python3-zeep Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install python3-zeep
using apt-get
by running the following command:
sudo apt-get -y install python3-zeep
Install python3-zeep Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python3-zeep
using apt
by running the following command:
sudo apt -y install python3-zeep
Install python3-zeep Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install python3-zeep
using aptitude
by running the following command:
sudo aptitude -y install python3-zeep
How To Uninstall python3-zeep on Debian 9
To uninstall only the python3-zeep
package we can use the following command:
sudo apt-get remove python3-zeep
Uninstall python3-zeep And Its Dependencies
To uninstall python3-zeep
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove python3-zeep
Remove python3-zeep Configurations and Data
To remove python3-zeep
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge python3-zeep
Remove python3-zeep configuration, data, and all of its dependencies
We can use the following command to remove python3-zeep
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python3-zeep
Dependencies
python3-zeep have the following dependencies:
- python3-appdirs
- python3-cached-property
- python3-defusedxml
- python3-freezegun
- python3-isodate
- python3-lxml
- python3-pkg-resources
- python3-requests
- python3-six
- python3-tz
- python3
References
Summary
In this tutorial we learn how to install python3-zeep
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.