lionsoul2014/ip2region
Ip2region is an offline IP-to-Region localization library and IP data management framework with both IPv4 and IPv6 supports, 10-microsecond level query efficiency, xdb search client for many programming languages
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
1 release in the last 90 days, the latest 60 days ago, with 48 contributors on GitHub.
Use Cases & Benefits
- Provides an offline IP-to-region localization library and data management framework supporting both IPv4 and IPv6 with ultra-fast query performance.
- Delivers 10-microsecond level query efficiency with memory-accelerated options and supports unified queries for IPv4 and IPv6 in multiple languages.
- Use for embedding fast, offline IP geolocation in backend services without relying on external APIs or internet connectivity.
- Use for managing and customizing large-scale IP localization datasets with support for data deduplication, compression, and extended region info.
- Use for integrating IP location queries into diverse programming environments including Go, Java, Python, C, and Nginx modules.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Other
GitHub could not identify this license; read the LICENSE file before depending on it.
Community files
- README: present
Watch-outs
- License not identified by GitHub; read the LICENSE file before depending on it.
General guidance from repository metadata, not legal advice. How we score
From the README
ip2region - is an offline IP address localization library and IP localization data management framework. It supports both
IPv4andIPv6with query efficiency at the 10-microsecond level. It providesxdbdata generation and query client implementations for many mainstream programming languages.The project itself provides raw data for both IPv4 (
data/ipv4_source.txt) and IPv6 (data/ipv6_source.txt), along with corresponding xdb files (data/ip2region_v4.xdbanddata/ip2region_v6.xdb) to achieve city-level query localization. The field format is:Country|Province|City|ISP|iso-alpha2-code. Localization information for China is entirely in Chinese, while regional information for non-China areas is entirely in English.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+172 stars over 21 days across 6 snapshot days; best day +10 on Oct 21.
Forks
3.1K+22
Open issues
9+4
Compared with peers in Backend
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| anthropics/skills | 192.3K | +5.2K | 75 | — |
| zed-industries/zed | 94.7K | +2.3K | 75 | 6 days ago |
| google/skills | 23.8K | +2.0K | 75 | — |
| NationalSecurityAgency/ghidra | 99.4K | +1.8K | 75 | 19 days ago |
| DuarteSantos8/openGym | 20.8K | +1.7K | 75 | 7 days ago |
| lionsoul2014/ip2region | 19.9K | — | 52 | 60 days ago |
| Category median | 94.7K | +2.0K | 75 | — |
Discover Repositories
Search across tracked repositories by name or description