I've got a hacked pyqt5 script that does this, I doubt it's what you want. Adding mysql support and eventually want to be able to have something like limited math functions so you can add all the values in a tree for stuff like total cost.
If you find something better I'd be real interested, I really want web and preferably app support.