Analysis updated 2026-08-04 · repo last pushed 2022-01-08
Filter suspicious website traffic by looking up visitor country from IP address.
Estimate geographic distribution of users from server logs.
Build analytics or security tools that respond differently based on visitor country.
| qeeqbox/public-ip-metadata | 0-bingwu-0/live-interpreter | 010zx00x1/faresnipe | |
|---|---|---|---|
| Stars | 2 | 2 | 2 |
| Language | — | Python | Python |
| Last pushed | 2022-01-08 | — | — |
| Maintenance | Dormant | — | — |
| Setup difficulty | easy | moderate | easy |
| Complexity | 1/5 | 2/5 | 2/5 |
| Audience | developer | general | general |
Figures from each repo's GitHub metadata at analysis time.
No setup needed beyond downloading the JSON file and parsing it in your application.
This project provides a simple data file that maps blocks of public IP addresses to the countries they belong to. If you've ever wanted to know what country a given IP address is registered to, this file acts as a lookup table for that information. The data is stored in a JSON file, which is a common, structured text format that is easy for both humans and computers to read. Each entry in the file lists a starting IP address ("from") and an ending IP address ("to") that define a specific range. It then attaches a country code (like "cn" for China) and a three-digit country identifier (like "156") to that range. By checking which range a specific IP address falls into, you can determine its associated country. This would be useful for anyone building analytics tools, security software, or website features that need to respond differently based on where a visitor's internet traffic originates. For example, an e-commerce founder could use it to help filter out suspicious traffic, or a product manager could use it to estimate the geographic distribution of their user base from server logs. The project keeps things very minimal. It is essentially just a raw data resource compiled from public sources like Wikipedia and the creator's own open-source intelligence project. The README does not go into detail on how often the data is updated, how to technically integrate it into a specific application, or what the exact boundaries of each IP range represent beyond the country codes.
A JSON data file that maps public IP address ranges to their associated countries, letting you look up where an IP address is registered.
Dormant — no commits in 2+ years (last push 2022-01-08).
The README does not specify a license, so check the repository files for license terms before using this data.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.