macOS
brew install geoip2fastlocal Homebrew formula metadata
安装
brew install geoip2fastlocal Homebrew formula metadata
概览
GeoIP2 country/ASN lookup tool
历史
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.
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.
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.
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.
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
geoip2dat | cli | 全局可执行文件 | |
geoip2fast | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/rabuchaim/geoip2fast
安装元数据
| 软件包键 | brew:geoip2fast |
|---|---|
| 版本 | 1.2.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/geoip2fast |
| 主页 | https://github.com/rabuchaim/geoip2fast |
| 仓库 | https://github.com/rabuchaim/geoip2fast |
| 上游文档 | https://github.com/rabuchaim/geoip2fast#readme |
| 许可证 | MIT |
| 源码归档 | https://files.pythonhosted.org/packages/c6/07/2a346a6a3294e1a1f6c1852f17ae555160d6f41d8636ea00c2ae0a89a8ec/geoip2fast-1.2.2.tar.gz |
| 依赖 | python@3.14 |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | geoip2fast |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.