Perspective Table Translation via Google API: How to handle rate limiting?

Hi everyone,

I am translating a column of a Perspective Table using the Google Translate API (https://translate.googleapis.com/translate_a/single).

It works fine with small data, but I am concerned about processing 100+ rows. From what I understand, if I send all requests instantly, Google could block the calls.

However, I don’t want absolutely use time.sleep() in the button script.

What is the best way to throttle these calls or run them in the background without locking the session?

Thanks