pangu.py
Paranoid text spacing for better readability.
- Status
- Generally available
- Last checked
- Aging · Sep 1, 2026
- License
- Open source
- Pricing
- Free tier · from $0
What it is
pangu.py is a Python library that adds appropriate spaces between Chinese and English characters to improve text readability. It's particularly useful in documentation and content creation where mixed language texts are common.
pangu.py stands out by focusing solely on improving readability in mixed Chinese and English texts, offering precise control over spacing without requiring manual intervention.
When it fits — and when it doesn’t
A good fit for
Developers working on projects with mixed Chinese and English text who need automatic spacing improvements.
Content managers dealing with bilingual texts in their documentation or user interfaces.
Look elsewhere if
Projects that do not involve mixed-language texts, as the tool's functionality is specific to this use case.
Teams looking for a comprehensive text formatting solution beyond language-specific spacing.
Known weaknesses
Each one links to the public issue, changelog or docs page it came from, where we have one.
- 01
Limited language support beyond Chinese and English
pangu.py is specifically designed for adding spaces between Chinese and English characters, limiting its utility in other mixed-language scenarios.
- 02
Potential over-spacing issues with certain text patterns
In some edge cases, pangu.py may add unnecessary spaces, which can affect the readability or intended formatting of the text.
- 03
Small community and limited active development
The tool has a relatively small user base and infrequent updates, which could lead to slower resolution of bugs and feature requests.
What it does well
Automatically adds spaces between Chinese and English characters.
Improves readability of mixed-language texts.
Extensively tested with a large number of edge cases.
Pricing
- Free tier
- YesOpen source — free to use
- Paid from
- $0
- Model
- Flat rate
- Enterprise plan
- No
Pricing not independently confirmed — check the vendor’s page.
Performance benchmarks
How Fast Is It?
Set up pangu.py
Setup steps, common gotchas and what to check after 30 days.