I wrote a small library in Python for DataTables when I got tired over that there was no easy way of doing backend processing for it.
https://github.com/starstable/PonyTable
Warning, probably not PEP-8 and can probably be improved in a tons of places.