ipdb-python icon indicating copy to clipboard operation
ipdb-python copied to clipboard

IPIP.net officially supported IP database ipdb format parsing library

Results 8 ipdb-python issues
Sort by recently updated
recently updated
newest added
trafficstars

City db = new City("ip.ipdb"); System.out.println(Arrays.toString(db.find("1.1.1.1", "CN"))); 会报错 Exception in thread "main" java.lang.IllegalAccessError: class net.ipip.ipdb.Reader (in unnamed module @0x5479e3f) cannot access class sun.net.util.IPAddressUtil (in module java.base) because module java.base does...

PyPI 上的 1.6.1 版本包含对 Python 3.7、3.8 声明支持,修改了 `ipdb/database.py` 中的错误信息等变动,这些变动均未在此仓库中同步,也没有对应的 1.6.1 tag。

安装后的包名 ipdb 和 https://github.com/gotcha/ipdb (集成了 ipython 的 pdb 调试工具)重名,导致只能二选一。 是否可以把安装后的包名改成 ipip?

- support read compressed ipdb like `gzip` - refactor code - factor out `Database` class - `City`,`District`,`IDC`,`BaseStation` subclass from `Database`

报错信息如下 Traceback (most recent call last): File "/Users/r00t4dm/ipdb-python/ipip.py", line 9, in test_city_ipv4() File "/Users/r00t4dm/ipdb-python/ipip.py", line 5, in test_city_ipv4 db = ipdb.City("ipip_location_20241223.ipdb") File "/Users/r00t4dm/ipdb-python/ipdb/city.py", line 74, in __init__ self.db = Reader(name)...