Consuming HTTP Services in Python Transcripts
Chapter: Calling SOAP services from Python
Lecture: Introduction to the suds package

Login or purchase this course to watch this video and the rest of the course contents.
0:01 In Python, the best way to access Soap services,
0:05 is to use this package called Suds, you got to love the name, right,
0:09 Soap Suds, it's beautiful, so it's a great name and you can see,
0:13 Suds is a lightweight, Soap Python client for consuming web services,
0:17 and it has things like no class generation, you can just do this in runtime,
0:22 in runtime it will read the wsdl and it will actually generate
0:26 all the information it needs for you to work with, it provides an object API
0:29 which means you create classes and interact with it by calling functions
0:33 on those classes just like we saw in the tooling example,
0:36 and it supports a bunch of Soap protocols, so this is great, right,
0:39 well, if you look a little carefully here and- hm, not so great.
0:43 Modified five years ago. Now, technically it still works but it has problems
0:48 namely it only supports Python 2 and because Python 2 is end of life,
0:53 in 3 years, this is unfortunate, so are we just out of luck, well,
0:58 I mean, obviously this is open source, somebody could come along
1:02 and fix this problem because whoever created it has kind of left it to wither over here.
1:06 But luckily, a guy named Jurko already did, so thank you very much for that Jurko,
1:11 you can see over here on bitbucket.org/jurko/suds
1:15 that now we have a Python 3 compatible version of this,
1:20 it said it's hopefully a temporary fork
1:22 but given that other one was updated 5 years ago,
1:25 I think temporary is becoming permanent.
1:28 So nonetheless, thank you Jurko, we're going to use the suds-jurko package
1:32 rather than the straight up suds for working with Soap services in Python
1:36 especially in Python 3 right.