Right now, it appears that using tinycss2 requires feeding the entire CSS file into the parser. A streaming API (similar to html.parser) would allow applications to avoid buffering and the efficiency/security issues that it brings.