nrvr.util.download
index
/usr/lib/python2.7/site-packages/nrvr/util/download.py

nrvr.util.download - A download manager
 
Class provided by this module is Download.
 
Works in Linux and Windows.
 
Idea and first implementation - Leo Baschy <srguiwiz12 AT nrvr DOT com>
 
Public repository - https://github.com/srguiwiz/nrvr-commander
 
Copyright (c) Nirvana Research 2006-2015.
Simplified BSD License

 
Modules
       
os
posixpath
shutil
sys
urllib2
urlparse

 
Classes
       
__builtin__.object
Download

 
class Download(__builtin__.object)
    A download manager.
 
  Class methods defined here:
basename(cls, url) from __builtin__.type
Base name from a dowload URL.
 
Implemented for the purpose of all code using and relying on this
one implementation only.
fromUrl(cls, url, force=False, dontDownload=False, ticker=True) from __builtin__.type
Download file or use previously downloaded file.
 
As implemented uses urllib2.
 
dontDownload
    whether you don't want to start a download, for some reason.
 
Return file path.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
semaphoreExtenstion = '.wait'