libcurl

PYCURL 7.19.0
Sep 9 2008

>>> import pycurl
>>> print pycurl.__doc__

PycURL is a Python interface to libcurl. PycURL can be used to fetch objects identified by a URL from a Python program, similar to the urllib Python module. PycURL is mature, very fast, and supports a lot of features.

Overview

Intended Audience

PycURL is targeted at the advanced developer - if you need dozens of concurrent fast and reliable connections or any of the sophisticated features as listed above then PycURL is for you.

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

To sum up, PycURL is very fast (esp. for multiple concurrent operations) and very feature complete, but has a somewhat complex interface. If you need something simpler or prefer a pure Python module you might want to check out urllib2 and urlgrabber.

Documentation

PycURL now includes API documentation in the doc directory of the distribution, as well as a number of test and example scripts in the tests and examples directories of the distribution.

The real info, though, is located in the libcurl documentation, most important being curl_easy_setopt. The libcurl tutorial also provides a lot of useful information.

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

For a list of changes consult the PycURL ChangeLog.

Download

Download PycURL sources version 7.19.0 (Sep 9 2008) or try the code from the CVS repository.

You can get prebuilt Win32 modules as well as older versions from the download area. Please note that the prebuilt versions are provided for your convenience only and are completely unsupported - use them at 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, our mailing list is the place to be.

The PycURL SourceForge project page provides bug- and patch tracking systems.

And the libcurl library also has it's own mailing lists.

License

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

PycURL is dual licensed under the LGPL and an MIT/X derivative license based on the cURL license. You can redistribute and/or modify PycURL according to the terms of either license.
Valid XHTML 1.0!
Last modified Wed Apr 28 17:48:22 UTC 2010.