We have something similar, a database with dozens of thousands of words and a script to group it into 255 character strings. Of course, it works in the browser and we don’t interact with Tibia client in any way so it’s fully legal. So far it’s very effective.
While I really respect that you work in Python (I learn it myself, as I work as an automation developer in rl) we cannot discuss such ideas here. I’m really sorry, but I have to edit your post. We’re joining the fansite programme very soon. Hope you understand. Please let us know however if you find anything. Just don’t explain how. 😉