Ailln/cn2an

📦 快速转化「中文数字」和「阿拉伯数字」~ (最新特性:分数,日期、温度等转化)

62
/ 100
Established

Implements bidirectional conversion between Chinese and Arabic numerals with three parsing modes (strict/normal/smart) supporting mixed formats, decimals, and negatives; also provides sentence-level transformation with regex-based pattern recognition for specialized contexts like dates, fractions, percentages, and temperatures. Exposes both Python library (3.6+) and HTTP API interfaces, achieving ~67k conversions/second for Arabic-to-Chinese and ~29k for Chinese-to-Arabic on standard hardware.

758 stars and 275,316 monthly downloads. Used by 10 other packages. No commits in the last 6 months. Available on PyPI.

Stale 6m
Maintenance 0 / 25
Adoption 25 / 25
Maturity 18 / 25
Community 19 / 25

How are scores calculated?

Stars

758

Forks

84

Language

Python

License

MIT

Last pushed

Dec 21, 2024

Monthly downloads

275,316

Commits (30d)

0

Dependencies

1

Reverse dependents

10

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/Ailln/cn2an"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.