Implementation of IPebbleDataSource in python