Python3发布WebService服务

由于需求,需要使用python35发布一个webService服务,提供给php调用。经过选型,使用的库为:

WebService Server:spyne,主页:http://spyne.io

WebService Client:Zeep,主页:https://github.com/mvantellingen/python-zeep

选择spyne的原因是,以前的库无人维护且不兼容python3,而spyne开发团队与spyne应该是一个团队,且github star为900+。

选择zeep的原因是python官网推荐,且star也为900+,且不断在更新。

2人评论了“Python3发布WebService服务”

  1. 您好,我想请问如果py3.6成功安装spyne后,在import的时候显示ValueError: ‘__class__’ is not in list,请问您遇到过这个问题么?

    1. 没有遇到过,不好意思。但是可以看看运行库依赖是否安装,比如说gcc make python-devel等。

评论区已关闭。