class documentation

class Collection(object): (source)

Constructor: Collection(id, children, name, **kw)

View In Hierarchy

A directory entry for a collection of downloadable packages. These entries are extracted from the XML index file that is downloaded by Downloader.

Static Method fromxml Undocumented
Method __init__ Undocumented
Method __lt__ Undocumented
Method __repr__ Undocumented
Instance Variable children A list of the Collections or Packages directly contained by this collection.
Instance Variable id A unique identifier for this collection.
Instance Variable name A string name for this collection.
Instance Variable packages A list of Packages contained by this collection or any collections it recursively contains.
@staticmethod
def fromxml(xml): (source)

Undocumented

def __init__(self, id, children, name=None, **kw): (source)

Undocumented

def __lt__(self, other): (source)

Undocumented

def __repr__(self): (source)

Undocumented

children = (source)

A list of the Collections or Packages directly contained by this collection.

A unique identifier for this collection.

A string name for this collection.

packages = (source)

A list of Packages contained by this collection or any collections it recursively contains.