Package zeroinstall :: Package injector :: Module packagekit :: Class PackageKitDownload
[frames] | no frames]

Class PackageKitDownload

source code

object --+
         |
        PackageKitDownload

Instance Methods
 
__init__(self, url, hint, pk, packagekit_id, expected_size)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
abort(self) source code
float
get_current_fraction(self) source code
int
get_bytes_downloaded_so_far(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, url, hint, pk, packagekit_id, expected_size)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • url (str)
  • packagekit_id (str)
  • expected_size (int)
Overrides: object.__init__