問題描述
PyCurl 替代方案,libcurl 的 pythonic 包裝器? (PyCurl alternative, a pythonic wrapper for libcurl?)
PycURL is a thin wrapper around the C libcurl API, I wonder if there's any more pythonic wrapper for libcurl which supports CurlMulti
?
參考解法
方法 1:
As with most bindings made for C libraries, it is clever to make a very thin layer on top of it to offer the most of it.
This said, it generally makes sense to wrap that binding itself then to offer more higher level features and more language-specific ways to do things, rather than to write yet another binding.
So no, I don't know of any such wrapper but I would advice that such a wrapper would be made on top of pycurl rather than on top of libcurl directly!
(by est、Daniel Stenberg)