ls0f/phone
手机号码归属地库 、数据更新:2023年12月 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4475
- days_rel: n/a
- days_push: 708
- n_releases_24m: 0
Adoption not part of the score
1084 stars · 233 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python library that looks up the Chinese province, city, zip code, area code, and carrier for a mobile phone number prefix using an offline phone.dat database (updated December 2023). The binary data file can also be parsed in other languages such as Go, Node, PHP, and Lua.
Use cases
- look up which province and city a Chinese mobile number belongs to
- find the carrier (China Mobile, Unicom, Telecom) for a phone number
- validate and enrich user phone numbers during registration
- parse phone.dat in Go, Node, PHP, or Lua
- offline phone number geolocation without external API calls
When to choose
- you need fast, offline Chinese mobile number location lookup in Python
- you want a lightweight library with no external API dependency
- you need the carrier type along with region info
When to avoid
- you need international phone number lookup outside China
- you need frequently updated carrier data (last update December 2023)
- you need landline number lookup - only mobile prefixes are supported
Facets
library · maturity maintenance
search-engine data-science parser developer-tools data-science python cross-platform phone-number-lookup china-mobile phone-location offline-database phone-dat telecom
3 sources
- readme: https://github.com/ls0f/phone · fetched 2026-08-28 · 1aa4eaae1dfa
- homepage: https://github.com/ls0f/phone · fetched 2026-08-29 · a10f65a42d17
- registry_pypi: https://pypi.org/pypi/phone/json · fetched 2026-08-29 · 43896ff01621
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ls0f/phone | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem