Special Dict with case insensitive key and protected field
-
class core.pkgdict.PackageDict(*args)[source]
Bases: dict
Dictionnary with case insensitive key
This object is able to handle protected entry begining with an '#'
-
get(key, default=None)[source]
-
has_key(key)[source]
-
iter_public_values()[source]
Iterate througth dictionnary value (remove protected value)
-
nb_public_values()[source]
Return the number of unprotected values
-
core.pkgdict.is_protected(item)[source]
Return true the item is protected
-
core.pkgdict.lower(item)[source]
-
core.pkgdict.protected(item)[source]
Return corresponding protected name for item