| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
MetadataKey
A MetadataKey is a generic key that contains a particular piece of information about a PackageID instance. A basic MetadataKey has: - A raw name. This is in a repository-defined format designed to closely represent the internal name. For example, ebuilds and VDB IDs use raw names like 'DESCRIPTION' and 'KEYWORDS', whereas CRAN uses names like 'Title' and 'BundleDescription'. The raw name is unique in a PackageID. - A human name. This is the name that should be used when outputting normally for a human to read. - A MetadataKeyType. This is a hint to clients as to whether the key should be displayed when outputting information about a package ID. Subclasses provide additional information, including the 'value' of the key.
|
|||
|
|||
|
|||
| string |
|
||
| string |
|
||
| MetadataKeyType |
|
||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Raises an exception This class cannot be instantiated from Python
|
helper for pickle
|
Fetch our human name. human_name() -> string Fetch our human name.
|
Fetch our raw name. raw_name() -> string Fetch our raw name.
|
Fetch our key type. type() -> MetadataKeyType Fetch our key type.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu May 16 14:09:49 2013 | http://epydoc.sourceforge.net |