Automic VaultAutomic Vault

brew

Install geoip2fast with Homebrew

GeoIP2 country/ASN lookup tool. Version 1.2.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install geoip2fast

local Homebrew formula metadata

overview

Package summary

GeoIP2 country/ASN lookup tool

Commands and aliases

  • geoip2dat
  • geoip2fast

history

Project history and usage

GeoIP2Fast is a small Python GeoIP lookup library and command-line tool built around preprocessed `.dat.gz` data files derived from MaxMind GeoLite2 CSV data. Its README emphasizes pure-Python operation, no external database or web-service dependency, IPv4 and IPv6 support, country, city, ASN, CIDR, and private-network results, and very fast in-memory lookups.

Project history

The authoritative public history is mostly the repository README and changelog rather than a separate project history. The repository records a Python implementation, a legacy directory, generated GeoIP2Fast data files, and command-line tools such as `geoip2fast` and `geoip2dat` for lookup and data conversion workflows.

Version 1.2.2, documented in June 2024, recorded data-format compatibility changes, MaxMind CSV field handling, optional reduced single-file variants, self-test and coverage methods, and command-line selection of data files.

Adoption history

GeoIP2Fast appears to serve a narrower package audience than MaxMind's official clients, but it fills a practical niche for Python users who want local IP-to-country, city, and ASN lookup without a service call or external database server. Homebrew packaging adds a Unix command-line installation path alongside Python packaging.

How it is used

Practitioners use GeoIP2Fast by loading a bundled or generated `.dat.gz` file into memory and calling `lookup()` from Python, or by invoking the CLI with one or more IP addresses. The project also supports updating data files from release artifacts, generating data files from GeoLite2 CSV input, running speed tests, checking database coverage, and printing JSON-like lookup results.

Why package nerds care

For package users, GeoIP2Fast is interesting because it trades a larger resident data structure for dependency-light local lookups. It is most useful in scripts, batch enrichment jobs, log analysis, and small services where avoiding network calls and database setup matters more than using MaxMind's official binary database reader stack.

Timeline

  • 2024: Version 1.2.2 documented MaxMind GeoLite2 CSV field handling and v1.2 data-file compatibility changes.
  • 2024: The README documented automatic `.dat.gz` downloads, CLI update commands, coverage checks, and speed-test options.

Related projects

  • GeoIP2Fast depends on MaxMind GeoLite2 CSV data as an upstream data source. Its problem space overlaps MaxMind's GeoIP database tools and local GeoIP lookup libraries, but its implementation centers on its own compressed data-file format.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
geoip2datcliglobal executable
geoip2fastcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.2.2
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/rabuchaim/geoip2fast

install metadata

Package metadata

Package keybrew:geoip2fast
Version1.2.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/geoip2fast
Homepagehttps://github.com/rabuchaim/geoip2fast
Repositoryhttps://github.com/rabuchaim/geoip2fast
Upstream docshttps://github.com/rabuchaim/geoip2fast#readme
LicenseMIT
Source archivehttps://files.pythonhosted.org/packages/c6/07/2a346a6a3294e1a1f6c1852f17ae555160d6f41d8636ea00c2ae0a89a8ec/geoip2fast-1.2.2.tar.gz
Dependenciespython@3.14
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegeoip2fast
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment