How to convert urdu/hindi text in roman urdu (written in english) in django

I am making a book application where I want citations and ref in English, urdu and roman urdu but IDK what lib to use, Can you guys please suggest me what to use.

I explored a few libs already

  1. urduhack (It doesn’t convert urdu text into roman urdu)
  2. google-cloud-translate (It’s paid LOL)