Merci pour vos explications. J'ai pu réussir.

Je mets le snippet Python en dessous, défois que cela servirait à d'autres.
data_tmp['second'] = data['powerinhs']*a.get_blockreward()/(data['diff']*2**32)
data_tmp['minute'] = data['powerinhs']*60*a.get_blockreward()/(data['diff']*2**32)
data_tmp['hour'] = data['powerinhs']*3600*a.get_blockreward()/(data['diff']*2**32)
data_tmp['day'] = data['powerinhs']*3600*24*a.get_blockreward()/(data['diff']*2**32)
data_tmp['week'] = data['powerinhs']*3600*24*7*a.get_blockreward()/(data['diff']*2**32)
data_tmp['month'] = data['powerinhs']*3600*24*30*a.get_blockreward()/(data['diff']*2**32)
J'en profite aussi pour donner l'explication de la méthode get_blockreward()
# To get the current block reward
# The number of blocks times the coin value of a block is the
# number of coins in existence. The coin value of a block is
# 50 BTC for each of the first 210,000 blocks, 25 BTC for the
# next 210,000 blocks, then 12.5 BTC, 6.25 BTC and so on.
def get_blockreward(self):
return 50.0/2**(self.get_latestblock()/210000)
C'est tout bête, mais cela aura eu le mérite de m'occuper l'après midi intelligemment ! :p