pyre.units.Parser

Module Contents

class pyre.units.Parser.Parser(**kwds)

Singleton that converts string representations of dimensional quantities into instances of Dimensional

parse(self, text, context=None)

Convert the string representation in {text} into a dimensional quantity

_initializeContext(self)

Build the initial list of resolvable unit symbols