@@ -0,0 +1,984 @@
+## function to get all root classnames%0Adef root(classes):%0A    return %5Bc for c in classes if c.startswith(%22h-%22)%5D%0A%0A##  function to get all property classnames        %0Adef properties(classes):%0A    return %5Bc for c in classes if c.startswith(%22p-%22) or c.startswith(%22u-%22) or c.startswith(%22e-%22) or c.startswith(%22dt-%22)%5D%0A%0A## function to get text property names%0Adef text(classes):%0A    return %5Bc for c in classes if c.startswith(%22p-%22)%5D%0A%0A## function to get URL property names%0Adef url(classes):%0A    return %5Bc for c in classes if c.startswith(%22u-%22)%5D%0A%0A## function to get date/time property names%0Adef datetime(classes):%0A    return %5Bc for c in classes if c.startswith(%22dt-%22)%5D%0A%0A## function to get embedded property names%0Adef embedded(classes):%0A    return %5Bc for c in classes if c.startswith(%22e-%22)%5D%0A%0A## function to get names of properties from classnames i.e. without microformat prefix%0A# will fail for dt- properties%0Adef property_names(classes):%0A    return %5Bc%5B2:%5D for c in property_classnames(classes)%5D%0A

Create mf2_classes.py