🍺 BREW Explorer

← all formulae

geoip2fast

brew install geoip2fast v1.2.2 MIT

GeoIP2 country/ASN lookup tool

25
30-day installs · #6196
88
90-day · #5869
354
365-day · #5932
89
★ GitHub stars · updated 2mo ago

Runtime dependencies

GitHub topics

geoip geoip2 geolite2 geolocalization geolocation ip ipaddress ipv4 ipv6 maxmind mmdb pure purepython pypy3 python python3

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "python@3.14"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "GeoIP2 country/ASN lookup tool",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:37:58+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "geoip2fast",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-05T23:08:52Z",
  "github_readme_excerpt": "# GeoIP2Fast v1.2.2\n\nGeoIP2Fast is the fastest GeoIP2 country/city/asn lookup library. A search takes less than 0.00003 seconds. It has its own data file updated with Maxmind-Geolite2-CSV, supports IPv4 and IPv6, works on Python3, Pypy3 and is Pure Python!\n\nWith it\u00b4s own datafile (geoip2fast.dat.gz), can be loaded into memory in ~0.07 seconds and has a small footprint for all data, so you don\u00b4t need to make requests to any webservices or connect to an external database. And it works on Linux, Windows and MacOS!\n\nAnd now you can download .dat.gz from your own application or via the command line. See more at [Update your database automatically](#automatic-update-of-datgz-files)\n\nGeoIP2Fast returns ASN NAME, COUNTRY ISO CODE, COUNTRY NAME, CITY NAME/STATE/DISTRICT and CIDR. There is no external dependencies, you just need the ```geoip2fast.py``` file and the desired data file ```.dat.gz```. The lookup speed is the same for any data file. \n\n### Country and ASN databases with IPv4 and IPv6\n\n| Download Content | File Name | File Size | Load Time | RAM Footprint |\n| ---------- | :---------: | ---------: | --------: | ---------: |\n| [Country IPv4](https://github.com/rabuchaim/geoip2fast/releases/latest/download/geoip2fast.dat.gz) | ```geoip2fast.dat.gz``` | 1.2 MiB | ~0.04 sec | ~22.0 MiB |\n| [Country IPv4+IPv6](https://github.com/rabuchaim/geoip2fast/releases/latest/download/geoip2fast-ipv6.dat.gz)  | ```geoip2fast-ipv6.dat.gz``` | 1.8 MiB | ~0.07 sec | ~41.0 MiB |\n| [Country+ASN IPv4](https://github.com/rabuchaim/geoip2fast/releases/latest/download/geoip2fast-asn.dat.gz)  | ```geoip2fast-asn.dat.gz```  | 2.3 MiB | ~0.08 sec | ~40.0 MiB |\n| [Country+ASN IPv4+IPv6](https://github.com/rabuchaim/geoip2fast/releases/latest/download/geoip2fast-asn-ipv6.dat.gz)  | ```geoip2fast-asn-ipv6.dat.gz``` | 3.1 MiB    | ~0.15 sec    | ~97.0 MiB    |\n\n### City and ASN databases with IPv4 and IPv6\n\nCity databases are not included in the pip installation package, if you want to:\n- download ",
  "github_repo": "rabuchaim/geoip2fast",
  "github_stars": 89,
  "github_topics": [
    "geoip",
    "geoip2",
    "geolite2",
    "geolocalization",
    "geolocation",
    "ip",
    "ipaddress",
    "ipv4",
    "ipv6",
    "maxmind",
    "mmdb",
    "pure",
    "purepython",
    "pypy3",
    "python",
    "python3"
  ],
  "homepage": "https://github.com/rabuchaim/geoip2fast",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 25,
  "installs_365d": 354,
  "installs_90d": 88,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "geoip2fast",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 6196,
  "rank_365d": 5932,
  "rank_90d": 5869,
  "raw_hash": "235f114fa6ffdb7f",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/geoip2fast.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.2.2",
  "versioned_formulae": [],
  "why_use_this": null
}