设为首页 加入收藏

TOP

Python PycURL的安装使用
2019-01-11 18:08:24 】 浏览:9
Tags:Python PycURL 安装 使用

PycURL中文简介:https://blog.csdn.net/qq_41185868/article/details/80487014

PycURL英文简介(如下):http://pycurl.io/docs/latest/index.html

PycURL – A Python Interface To The cURL library

PycURL is a Python interface to libcurl, the multiprotocol file transfer library. Similarly to the urllib Python module, PycURL can be used to fetch objects identified by a URL from a Python program. Beyond simple fetches however PycURL exposes most of the functionality of libcurl, including:

  • Speed - libcurl is very fast and PycURL, being a thin wrapper above libcurl, is very fast as well. PycURL was benchmarked to be several times faster than requests.
  • Features including multiple protocol support, SSL, authentication and proxy options. PycURL supports most of libcurl’s callbacks.
  • Multi and share interfaces.
  • Sockets used for network operations, permitting integration of PycURL into the application’s I/O loop (e.g., using Tornado).

About libcurl

  • libcurl is a free and easy-to-use client-side URL transfer library, supporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, Telnet and TFTP. libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, Kerberos4), file transfer resume, http proxy tunneling and more!
  • libcurl is highly portable, it builds and works identically on numerous platforms, including Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, HPUX, IRIX, AIX, Tru64, Linux, UnixWare, HURD, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare, DOS and more…
  • libcurl is freethread-safeIPv6 compatiblefeature richwell supportedfastthoroughly documented and is already used by many known, big and successful companies and numerous applications.

 

Win10 + Python3.7安装PycURL指南: https://www.jianshu.com/p/b1d5e58bad2c

下载地址: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycurl

pip install wheel
pip install pycurl-7.43.1-cp37-cp37m-win_amd64.whl

注意:需要在pycurl-7.43.1-cp37-cp37m-win_amd64.whl 所在的目录执行命令

  


编程开发网
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇这五本Python急速入门必读的书,.. 下一篇OpenCV中图像的读取,显示与保存

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

array(4) { ["type"]=> int(8) ["message"]=> string(24) "Undefined variable: jobs" ["file"]=> string(32) "/mnt/wp/cppentry/do/bencandy.php" ["line"]=> int(214) }