get_geoip

privex.helpers.plugin.get_geoip(geo_type: str, new_connection=False, thread_id=None, **geo_config) → geoip2.database.Reader[source]

Get a GeoIP Reader object. Create one if it doesn’t exist.