Cenk Alti’s pyhtml

pyhtml is a project by Cenk Alti which can render html from python sequences. Such sequences can look very similar to the generated html. Which is far more easily seen in his example, than in my explanation.

Summary

pyhtml has been tested by Cenk with Python 2.7 only.

Rendering

Running

I have run pythtml’s tests with Pythons 2.5, 2.6 and 2.7. It passed with the latter only, but fails were only due to use of assertIs and assertIn, both of which were introduced to the unittest module in 2.7. Replacing them with the older assertTrue led to the test suite passing in all three Python versions.

Conclusion