Python PycURL的安装使用

2019-01-11 08:36:08来源:博客园 阅读 ()

新老客户大回馈,云服务器低至5折

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 free, thread-safe, IPv6 compatible, feature rich, well supported, fast, thoroughly 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 所在的目录执行命令

  

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:都怪当初看了这6段代码,造成了如今的深度学习!

下一篇:初识并发编程