DQinYuan/chinese_province_city_area_mapper
一个用于提取简体中文字符串中省,市和区并能够进行映射,检验和简单绘图的python模块 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3104
- days_rel: n/a
- days_push: 898
- n_releases_24m: 0
Adoption not part of the score
1796 stars · 402 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python library (pip package 'cpca') that extracts province, city, and district names from simplified Chinese address strings and maps them to their full administrative hierarchy. It outputs results as a pandas DataFrame with adcodes and supports simple mapping/plotting.
Use cases
- extract province city and district from chinese addresses
- parse chinese address strings into structured fields
- normalize chinese addresses to administrative divisions
- map a chinese district to its city and province
- clean messy shipping addresses in python
- get adcode for chinese location names
When to choose
- you need to parse simplified Chinese addresses into province/city/district columns
- you want a lightweight pandas-based address extraction tool
- you need administrative division codes (adcode) for Chinese locations
When to avoid
- you need full geocoding to latitude/longitude coordinates
- you need to parse traditional Chinese or non-Chinese addresses
- you need high-throughput production NLP with deep learning models
Facets
library · maturity maintenance
nlp parser data-science data-science python cross-platform chinese-address-parsing administrative-divisions pandas geocoding cpca natural-language-processing china
2 sources
- readme: https://github.com/DQinYuan/chinese_province_city_area_mapper · fetched 2026-08-28 · 48b5dace43fc
- registry_pypi: https://pypi.org/pypi/chinese_province_city_area_mapper/json · fetched 2026-08-29 · 6c7f817adb24
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| DQinYuan/chinese_province_city_area_mapper | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="DQinYuan/chinese_province_city_area_mapper")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem