__init__.py 239 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 from random import choice def get_random_number(width=12): return ''.join(choice(digits) for _ in range(width)) def get_jsonrpc(method, params): return dict(jsonrpc='2.0', method=method, params=params, id=get_random_number(6))