add python rest wrapper to code samples