Rewriting Data Engine under Python