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:html

  • 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/b1d5e58bad2cpython

下載地址: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycurlweb

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

注意:須要在pycurl-7.43.1-cp37-cp37m-win_amd64.whl 所在的目錄執行命令app

相關文章
相關標籤/搜索