Python PycURL的安装使用
程序员文章站
2022-04-14 18:05:54
PycURL中文简介:https://blog.csdn.net/qq_41185868/article/details/80487014 PycURL英文简介(如下):http://pycurl.io/docs/latest/index.html PycURL – A Python Interfa ......
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 , the multiprotocol file transfer library. similarly to the 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 to be several times faster than .
- features including multiple protocol support, ssl, authentication and proxy options. pycurl supports most of libcurl’s callbacks.
- multi and 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 , , ipv6 compatible, , , , and is already used by many known, big and successful and numerous .
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 所在的目录执行命令