Restraint Simple Rate Limit Library. Example setup from restraint import restrain, Limit, add add('example', Limit(second=1, minute=5)) @restrain('example') def hello(): print(f'Hello World')