appliedsec / pygeoip

DEPRECATED: Pure Python API for Maxmind's binary GeoIP databases
https://github.com/appliedsec/pygeoip
GNU Lesser General Public License v3.0
482 stars 111 forks source link

Add support for MaxMind DB (.mmdb) files #61

Closed emilgpa closed 10 years ago

emilgpa commented 10 years ago

Hi, Will add support for the new MaxMind DB files? These have the .mmdb extension. Actually, not is possible open it.

http://dev.maxmind.com/geoip/geoip2/geolite2/

Thanks!

oschwald commented 10 years ago

I am not discouraging another implementation, but MaxMind does provides a Python module for it that includes both a pure Python reader and a C extension. PRs or feature requests are welcome.

I believe the author of Flask also took the above code and refactored it a bit to create another reader module.

tiwilliam commented 10 years ago

I don't think pygeoip will ever support the new MMDB format. As @oschwald mentions, MaxMind have released their own pure Python reader this time. You can find it here.