This does regex  

This converts symfony's auto generated API doc to python code . This is just for personal use and for my specific use case where I needed python skeleton methods of all the api calls in python .
This is done using Beautiful soup .