This package contains a method to return a country given the latitude and longitude of a point. Crucially it does this offline without having to use an online service like google.
pip install coordinate_country_lookup==0.1.6
Then using it as:
from coordinate_country_lookup import get_country
get_country(latitude, longitude)
Thanks for using!