Python 初期構築 setup-ubuntu を見てください。 setup_db.rb を移植した setup_db.py も用意してあります. 実行 $ python rest_server.py :9000 で動きます.