It would be nice to also handle MTI feature files, and to process TTX in addition to binary fonts, and and and... but it's a start. https://github.com/behdad/fonttools/issues/527
This directory includes snippets that people might useful to get ideas from. The contents will come and go, don't rely on them being there or having a certain API. If you need it, copy it and modify it.
If you do and think your work is useful for others, please add a link to it here: