korean-romanizer is a python module that romanizes Korean text in Hangul into its alphabet equivalent.
It currently follows the Revised Romanization of Korean rule developed by the National Institute of Korean Language, the official romanization system being used in the Republic of Korea.
pip install korean_romanizer
from korean_romanizer.romanizer import Romanizer
r = Romanizer("안녕하세요")
r.romanize()
# returns 'annyeonghaseyo'