Getting Started with AWS TranslateText in Python SDK

Khuram Zaman
2 min readApr 13, 2023

Using Tweepy, I’ve been scraping trending topics in India everyday for the past 6 months or so. It’s worked pretty flawlessly (fingers crossed) but some of the tweets are in Hindi.

Instead of manually copy / pasting the trending topic into Google translate in a browser, I wanted to do this as part of the scraping script. So I messed around with two Python libraries: (1)…

--

--

Khuram Zaman

Adjunct Professor at Georgetown University · CTO of University Startups · Focus: Product Development & LLMs