We are seeing more and more tools for creating ePub files being developed and the latest to join the throng is the tei2epub converter from threepress.org. This one however is aimed more for developers than the end user, unlike the BookGlutton ePub API.
tei2epub is being developed by Liza Daly and is written in XSLT, although it does utilise a little Python. I know nothing about Python but from what I can make out this is mainly for creating the actual files and final .epub container (which is actually just a renamed .zip file).
This converter really interests me as I already have my own converter (pg2tei) for creating TEI documents from plain text files, as found on Project Gutenberg. I recently started teaching myself XSLT so will follow the development of this for sure!
I don’t have a Python processor installed so haven’t ran any files through this, though I have taken a quick look at the source code and it looks quite straight forward. I believe this uses the official stylesheets written by TEI, so the tei2epub converter should be quite simple to follow, even for those of us whose XSLT skills are not yet well developed.
If you’re interested in both TEI and ePub then this is certainly going to be useful to add to your toolkit.