pypath.share.curl§

members:

Functions

is_url(url)

Classes

Curl(url[, silent, get, post, req_headers, ...])

This class is a wrapper around pycurl.

FileOpener(file_param[, compr, extract, ...])

This class opens a file, extracts it in case it is a gzip, tar.gz, tar.bz2 or zip archive, selects the requested files if you only need certain files from a multifile archive, reads the data from the file, or returns the file pointer, as you request.

RemoteFile(filename, user, host, passwd[, ...])

cache_delete_off()

This is a context handler which stops pypath.curl.Curl() deleting the cache files.

cache_delete_on()

This is a context handler which results pypath.curl.Curl() deleting the cache files instead of reading it.

cache_off()

This is a context handler to turn off pypath.curl.Curl() cache.

cache_on()

This is a context handler to turn on pypath.curl.Curl() cache.

cache_print_off()

This is a context handler which stops pypath.curl.Curl() to print verbose messages about its cache.

cache_print_on()

This is a context handler which makes pypath.curl.Curl() print verbose messages about its cache.

debug_off()

This is a context handler which avoids pypath.curl.Curl() to print debug information.

debug_on()

This is a context handler which results pypath.curl.Curl() to print debug information.

dryrun_off()

This is a context handler which results pypath.curl.Curl() to perform download or cache read.

dryrun_on()

This is a context handler which results pypath.curl.Curl() to do all setup steps, but do not perform download or cache read.

preserve_off()

This is a context handler which avoids pypath.curl.Curl() to make a reference to itself in the module level variable LASTCURL.

preserve_on()

This is a context handler which results pypath.curl.Curl() to make a reference to itself in the module level variable LASTCURL.