def parseStyle(*a, **k): return CSSParser().parseStyle(*a, **k)
def parseUrl(*a, **k): return CSSParser().parseUrl(*a, **k)
def parseFile(*a, **k): return CSSParser().parseFile(*a, **k)
def parseString(*a, **k): return CSSParser().parseString(*a, **k)
def parseString(cssText, href=None, media=None): """ parses given string and returns CSSStyleSheet object """ return CSSParser().parseString(cssText, href=href, media=media)
def parse(filename, encoding=None, href=None, media=None): """ reads file with given filename in given encoding (if given) and returns CSSStyleSheet object """ return CSSParser().parse(filename, encoding)