Datasets:
Card: point load examples at 2026-09
Browse files
README.md
CHANGED
|
@@ -22,7 +22,7 @@ size_categories:
|
|
| 22 |
|
| 23 |
A free, monthly dataset of the **routed IPv4 address space** at **`/24` granularity** — one row per `/24` prefix — covering geolocation, network/ASN, ownership, registry and risk attributes. Maintained by **ProdIPData** and mirrored from **https://prodipdata.com**. Licensed **CC BY 4.0** (free to use, including commercially, with attribution).
|
| 24 |
|
| 25 |
-
**Current release: `2026-
|
| 26 |
|
| 27 |
## What's in each row (`/24` prefix)
|
| 28 |
|
|
@@ -48,14 +48,14 @@ Key column: `IP24Prefix` (e.g. `8.8.8.0/24`).
|
|
| 48 |
# pandas — read straight from the Hub
|
| 49 |
import pandas as pd
|
| 50 |
df = pd.read_parquet(
|
| 51 |
-
"hf://datasets/ProdIPData/ip-locations/prefix_attributes_2026-
|
| 52 |
)
|
| 53 |
|
| 54 |
# duckdb (query without loading it all into memory)
|
| 55 |
import duckdb
|
| 56 |
duckdb.sql("""
|
| 57 |
SELECT CountryCode, COUNT(*) AS prefixes
|
| 58 |
-
FROM 'prefix_attributes_2026-
|
| 59 |
GROUP BY 1 ORDER BY 2 DESC LIMIT 10
|
| 60 |
""").show()
|
| 61 |
|
|
|
|
| 22 |
|
| 23 |
A free, monthly dataset of the **routed IPv4 address space** at **`/24` granularity** — one row per `/24` prefix — covering geolocation, network/ASN, ownership, registry and risk attributes. Maintained by **ProdIPData** and mirrored from **https://prodipdata.com**. Licensed **CC BY 4.0** (free to use, including commercially, with attribution).
|
| 24 |
|
| 25 |
+
**Current release: `2026-09`**
|
| 26 |
|
| 27 |
## What's in each row (`/24` prefix)
|
| 28 |
|
|
|
|
| 48 |
# pandas — read straight from the Hub
|
| 49 |
import pandas as pd
|
| 50 |
df = pd.read_parquet(
|
| 51 |
+
"hf://datasets/ProdIPData/ip-locations/prefix_attributes_2026-09_iso-ALL.parquet"
|
| 52 |
)
|
| 53 |
|
| 54 |
# duckdb (query without loading it all into memory)
|
| 55 |
import duckdb
|
| 56 |
duckdb.sql("""
|
| 57 |
SELECT CountryCode, COUNT(*) AS prefixes
|
| 58 |
+
FROM 'prefix_attributes_2026-09_iso-ALL.parquet'
|
| 59 |
GROUP BY 1 ORDER BY 2 DESC LIMIT 10
|
| 60 |
""").show()
|
| 61 |
|