rabuchaim / geoip2fast

GeoIP2Fast is the fastest GeoIP2 country/city/asn lookup library. A search takes less than 0.00003 seconds. It has its own data file updated twice a week with Maxmind-Geolite2-CSV and is Pure Python!
https://pypi.org/project/geoip2fast/
MIT License
46 stars 3 forks source link

Error when specifying the data file manually #3

Closed buslov closed 1 year ago

buslov commented 1 year ago

How to reproduce:

>>> from geoip2fast import GeoIP2Fast
>>> geoip = GeoIP2Fast(geoip2fast_data_file='geoip2fast.dat.gz')
AttributeError: module 'os' has no attribute 'is_file'
rabuchaim commented 1 year ago

Thanks buslov! will be merged today