roniemartinez / IPToCC

Get country code of IPv4/IPv6 address. Address lookup is done offline.
MIT License
17 stars 8 forks source link

Speed Up Pandas Search #6

Open roniemartinez opened 6 years ago

jamesdolan commented 1 month ago

Not sure if this is still maintained, but I rewrote this library so it's >10000x faster (microseconds for both loading and queries). Also setup a GitHub action to auto-update the database nightly. Removes dependencies in the process. Feel free to use as a reference or I can make a PR if you want that fits your API.

https://github.com/jamesdolan/ip_to_country