add parse_text
merge pycommon/utilities.py