1. Pycurl Setopt
  2. Pycurl Doc
  3. Pycurl Documentation
  4. Pycurl Getinfo

PYCURL 7.43.0.6
Sep 2 2020 - Release Notes

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. Sudo apt -fix-broken install python-pycurl python-apt Share. Improve this answer. Follow answered May 16 '18 at 17:12.

Quick Links

Overview

PycURL is aPython interface tolibcurl.PycURL can be used to fetch objects identified by a URLfrom a Python program, similar to theurllib Python module.PycURL is mature, very fast, and supports a lot of features.

  • libcurl is a free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3 and RTSP. 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.

Intended Audience

PycURL is targeted at an advanced developer - if you need dozens ofconcurrent, fast and reliable connections or any of the sophisticatedfeatures listed above then PycURL is for you.

The main drawback of PycURL is that it is a relatively thin layer overlibcurl without any of those nice Pythonic class hierarchies.This means it has a somewhat steep learning curve unless youare already familiar with libcurl's C API.

To sum up, PycURL is very fast (especially for multiple concurrent operations)and very feature rich, but has a somewhat complex interface.If you need something simpler or prefer a pure Pythonmodule you might want to check outurllib2,requests andurlgrabber.

Documentation

Pycurl

PycURL includes extensive API documentationas well as a number of test and example scripts in the testsand examplesdirectories of the distribution.

The real info, though, is located in thelibcurl documentation,most important beingcurl_easy_setopt.Thelibcurl tutorialalso provides a lot of useful information.

PycurlHeaders

For a quick start have a look at the high-performance URL downloaderretriever-multi.py.

Pycurl Setopt

For a list of changes consult the PycURL ChangeLog.

Download

DownloadPycURL sources version 7.43.0.6 (Sep 2 2020) or trythe code fromthe Git repository.

You can get prebuilt Win32 modules as well as older versions from thedownload area.Please note that the prebuilt versions are provided for yourconvenience only and are completely unsupported - use themat your own risk.

Also, official PycURL packages are available for Ubuntu,Debian GNU/Linux, FreeBSD,Gentoo Linux, NetBSD,and OpenBSD.

Community

If you want to ask questions or discuss PycURL related issues, ourmailing listis the place to be.Mailing listarchives are available for your perusal.

Pycurl

Bugs andpatches are trackedon GitHub.If your patch or proposal is non-trivial, please discuss it onthe mailing list before submitting code.Older bugs and patches can be found on theissues andpull requests pagesfor the temporary Git import repository on Github, and on thePycURL SourceForgeproject page.

The libcurl library also has its ownmailing lists.

License

Copyright (C) 2001-2008 Kjetil JacobsenPycurl
Copyright (C) 2001-2008 Markus F.X.J. Oberhumer

Pycurl Doc

Copyright (C) 2013-2020 Oleg Pudeyev

Pycurl Documentation


Pycurl Getinfo

PycURL is dual licensed under the LGPL and an MIT/X derivative licensebased on the cURL license. You can redistribute and/or modify PycURLaccording to the terms of either license.