Minimal python binding to devices