Bayeux provides a module for generating TAP stream (http://testanything.org/). Unfortunately, the name tapestry has been already taken, so I took an inspiration from https://en.wikipedia.org/wiki/Bayeux_Tapestry .
Aside from the script for generating the TAP stream programtically, there is also a version of unittest2 which generates TAP stream instead of the standard output of unittest.
These details are provided for information only. No information here is legal advice and should not be used as such.