libcomps - Libcomps objects

libcomps.Comps

libcomps.GroupList

libcomps.CategoryList

libcomps.EnvList

libcomps.Group

libcomps.PackageList

libcomps.Package

libcomps.Category

libcomps.Environment

libcomps.IdList

libcomps.GroupId

libcomps.StrDict

is very lightweight version of python dict

  • libcomps.StrDict can have only string/unicode keys and accepts only string/unicode object

libcomps.MDict

is class similar to python dict, except of these properties:

  • libcomps.MDict can have only string/unicode keys and accepts only list of string or libcomps.StrSeq which is also object returned from dict.__get__()

  • output of StrDict.keys() is in alphabetical order ()

libcomps.StrSeq

is class similar to list, but accepts only string/unicode objects.