kiwi.python module documentationkiwi
Generic python addons
| Class | ClassInittableMetaType | Undocumented |
| Class | ClassInittableObject | I am an object which will call a classmethod called __class_init__ when I am created. Subclasses of me will also have __class_init__ called. |
| Class | AttributeForwarder | AttributeForwarder is an object which is used to forward certain attributes to another object. |
| Function | namedAny | Get a fully named package, module, module-global object, or attribute. |
| Class | Settable | No summary |
| Function | qual | Convert a class to a string representation, which is the name of the module plut a dot plus the name of the class. |
| Function | clamp | No summary |
| Function | slicerange | Takes a slice object and returns a range iterator |
| Function | deprecationwarn | Prints a deprecation warning |
| Function | disabledeprecationcall | Disables all deprecation warnings during the function call to func |
| Class | enum | enum is an enumered type implementation in python. |
| Function | all | Predict used to check if all items in a seq are True. @returns: True if all items in seq are True |
| Function | any | Predict used to check if any item in a seq are True. @returns: True if any item in seq is True |
| Class | _ForwardedProperty | Undocumented |
Get a fully named package, module, module-global object, or attribute.
| Parameters | name | |
| Returns | object, module or attribute | |
Convert a class to a string representation, which is the name of the module plut a dot plus the name of the class.
| Returns | fully qualified module and class name | |
Ensures that x is between the limits set by low and high. For example, * clamp(5, 10, 15) is 10. * clamp(15, 5, 10) is 10. * clamp(20, 15, 25) is 20.
| Parameters | x | the value to clamp. |
| low | the minimum value allowed. | |
| high | the maximum value allowed. | |
| Returns | the clamped value | |
Takes a slice object and returns a range iterator
| Parameters | slice | slice object |
| limit | maximum value allowed | |
| Returns | iterator | |
Disables all deprecation warnings during the function call to func