Perhaps a flask or Django builtin? This may prove tricky, but interesting. Or completely unnecessary.