pangu.py
Paranoid text spacing in Python
...The transformation is idempotent: running it multiple times won’t keep adding spaces, which makes it safe in automated workflows. It’s designed to be pragmatic and lightweight, with sensible defaults that handle common edge cases found in websites, blogs, and multilingual technical docs. Because it targets clarity over heavy linguistic analysis, it’s easy to adopt and delivers immediate, visible improvements to mixed CJK/Latin text.