Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad NameLoad comprehension NameStore TupleLoad Num Num Num Num Num Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num NameLoad NameLoad body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad Call NameLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BoolOpOr NameLoad Call AttributeLoad NameLoad attr Str Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BoolOpOr NameLoad Call AttributeLoad NameLoad attr Str Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad orelse If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse If Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd NameLoad UnaryOpNot BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr orelse If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If Call AttributeLoad NameLoad attr NameLoad body Return Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Return Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body Return Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Return Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body Return Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Return Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Dict Str Str Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults TupleLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return NameLoad orelse Return Call NameLoad GeneratorExp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad TupleLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body ImportFrom alias Return Call NameLoad NameLoad keyword Num orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str If NameLoad body AugAssignAdd NameStore BinOpMod Str Call NameLoad Return BinOpAdd NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad decorator_list
N/A N/A os N/A re ctypes c_char_p django.core.validators ipv4_re django.contrib.gis.geoip.libgeoip GEOIP_SETTINGS django.contrib.gis.geoip.prototypes GeoIPRecord GeoIPTag GeoIP_open GeoIP_delete GeoIP_database_info GeoIP_lib_version GeoIP_record_by_addr GeoIP_record_by_name GeoIP_country_code_by_addr GeoIP_country_code_by_name GeoIP_country_name_by_addr GeoIP_country_name_by_name django.utils six N/A free_regex N/A N/A re compile ^GEO-\d{3}FREE N/A lite_regex N/A N/A re compile ^GEO-\d{3}LITE GeoIPException N/A Exception N/A N/A N/A GeoIP N/A object N/A N/A GEOIP_STANDARD 0 N/A GEOIP_MEMORY_CACHE 1 N/A GEOIP_CHECK_CACHE 2 N/A GEOIP_INDEX_CACHE 4 N/A GEOIP_MMAP_CACHE 8 N/A cache_options N/A dict N/A N/A opt None N/A opt N/A 0 1 2 4 8 N/A _city_file N/A _country_file N/A _city None N/A _country None __init__ N/A N/A self path cache country city N/A None 0 None None N/A N/A 
        Initializes the GeoIP object, no parameters are required to use default
        settings.  Keyword arguments may be passed in to customize the locations
        of the GeoIP data sets.

        * path: Base directory to where GeoIP data is located or the full path
            to where the city or country data files (*.dat) are located.
            Assumes that both the city and country data sets are located in
            this directory; overrides the GEOIP_PATH settings attribute.

        * cache: The cache settings when opening up the GeoIP datasets,
            and may be an integer in (0, 1, 2, 4, 8) corresponding to
            the GEOIP_STANDARD, GEOIP_MEMORY_CACHE, GEOIP_CHECK_CACHE,
            GEOIP_INDEX_CACHE, and GEOIP_MMAP_CACHE, `GeoIPOptions` C API
            settings,  respectively.  Defaults to 0, meaning that the data is read
            from the disk.

        * country: The name of the GeoIP country data file.  Defaults to
            'GeoIP.dat'; overrides the GEOIP_COUNTRY settings attribute.

        * city: The name of the GeoIP city data file.  Defaults to
            'GeoLiteCity.dat'; overrides the GEOIP_CITY settings attribute.
         N/A N/A cache N/A self cache_options N/A N/A N/A self _cache cache N/A N/A N/A GeoIPException N/A Invalid GeoIP caching option: %s cache N/A N/A path N/A N/A path N/A N/A GEOIP_SETTINGS get GEOIP_PATH None N/A N/A path N/A N/A N/A GeoIPException GeoIP path must be provided via parameter or the GEOIP_PATH setting. N/A N/A N/A isinstance path N/A six string_types N/A N/A N/A TypeError N/A Invalid path type: %s N/A N/A type path __name__ N/A N/A N/A N/A os path isdir path N/A N/A country_db N/A N/A N/A os path join path N/A country N/A N/A GEOIP_SETTINGS get GEOIP_COUNTRY GeoIP.dat N/A N/A N/A N/A os path isfile country_db N/A N/A N/A self _country N/A GeoIP_open country_db cache N/A N/A self _country_file country_db N/A city_db N/A N/A N/A os path join path N/A city N/A N/A GEOIP_SETTINGS get GEOIP_CITY GeoLiteCity.dat N/A N/A N/A N/A os path isfile city_db N/A N/A N/A self _city N/A GeoIP_open city_db cache N/A N/A self _city_file city_db N/A N/A N/A N/A N/A os path isfile path N/A N/A ptr N/A GeoIP_open path cache N/A info N/A GeoIP_database_info ptr N/A N/A N/A lite_regex match info N/A N/A N/A self _city ptr N/A N/A self _city_file path N/A N/A N/A N/A free_regex match info N/A N/A N/A self _country ptr N/A N/A self _country_file path N/A N/A N/A GeoIPException N/A Unable to recognize database edition: %s info N/A N/A N/A GeoIPException GeoIP path must be a valid file or directory. N/A __del__ N/A N/A self N/A N/A N/A N/A self _country N/A N/A N/A GeoIP_delete N/A self _country N/A N/A self _city N/A N/A N/A GeoIP_delete N/A self _city N/A _check_query N/A N/A self query country city city_or_country N/A False False False N/A N/A Helper routine for checking the query and database availability. N/A N/A N/A isinstance query N/A six string_types N/A N/A N/A TypeError N/A GeoIP query must be a string, not type %s N/A N/A type query __name__ N/A query N/A N/A query encode ascii N/A N/A city_or_country N/A N/A N/A self _country N/A self _city N/A N/A N/A GeoIPException Invalid GeoIP country and city data files. N/A N/A N/A country N/A N/A self _country N/A N/A N/A GeoIPException N/A Invalid GeoIP country data file: %s N/A self _country_file N/A N/A N/A city N/A N/A self _city N/A N/A N/A GeoIPException N/A Invalid GeoIP city data file: %s N/A self _city_file N/A query N/A city N/A N/A self query N/A N/A N/A 
        Returns a dictionary of city information for the given IP address or
        Fully Qualified Domain Name (FQDN).  Some information in the dictionary
        may be undefined (None).
         N/A query N/A N/A self _check_query query city True N/A N/A N/A ipv4_re match query N/A N/A N/A GeoIP_record_by_addr N/A self _city N/A c_char_p query N/A N/A N/A GeoIP_record_by_name N/A self _city N/A c_char_p query N/A country_code N/A N/A self query N/A N/A N/A Returns the country code for the given IP Address or FQDN. N/A query N/A N/A self _check_query query city_or_country True N/A N/A self _country N/A N/A N/A N/A ipv4_re match query N/A N/A N/A GeoIP_country_code_by_addr N/A self _country query N/A N/A N/A GeoIP_country_code_by_name N/A self _country query N/A N/A N/A N/A N/A self city query N/A country_code N/A country_name N/A N/A self query N/A N/A N/A Returns the country name for the given IP Address or FQDN. N/A query N/A N/A self _check_query query city_or_country True N/A N/A self _country N/A N/A N/A N/A ipv4_re match query N/A N/A N/A GeoIP_country_name_by_addr N/A self _country query N/A N/A N/A GeoIP_country_name_by_name N/A self _country query N/A N/A N/A N/A N/A self city query N/A country_name N/A country N/A N/A self query N/A N/A N/A 
        Returns a dictonary with with the country code and name when given an
        IP address or a Fully Qualified Domain Name (FQDN).  For example, both
        '24.124.1.80' and 'djangoproject.com' are valid parameters.
         N/A N/A country_code country_name N/A N/A self country_code query N/A N/A self country_name query N/A coords N/A N/A self query ordering N/A N/A longitude latitude N/A N/A cdict N/A N/A self city query N/A N/A cdict None N/A N/A None N/A N/A N/A tuple N/A N/A cdict N/A o N/A o ordering N/A lon_lat N/A N/A self query N/A N/A N/A Returns a tuple of the (longitude, latitude) for the given query. N/A N/A N/A self coords query N/A lat_lon N/A N/A self query N/A N/A N/A Returns a tuple of the (latitude, longitude) for the given query. N/A N/A N/A self coords query N/A latitude longitude N/A geos N/A N/A self query N/A N/A N/A Returns a GEOS Point object for the given query. N/A ll N/A N/A self lon_lat query N/A ll N/A django.contrib.gis.geos Point N/A N/A Point ll srid 4326 N/A N/A None N/A country_info N/A N/A self N/A N/A N/A Returns information about the GeoIP country database. N/A N/A N/A self _country None N/A N/A ci N/A No GeoIP Country data in "%s" N/A self _country_file N/A N/A ci N/A GeoIP_database_info N/A self _country N/A ci N/A property city_info N/A N/A self N/A N/A N/A Retuns information about the GeoIP city database. N/A N/A N/A self _city None N/A N/A ci N/A No GeoIP City data in "%s" N/A self _city_file N/A N/A ci N/A GeoIP_database_info N/A self _city N/A ci N/A property info N/A N/A self N/A N/A N/A Returns information about the GeoIP library and databases in use. N/A info N/A GeoIP_lib_version N/A N/A info N/A GeoIP Library:
	%s
 N/A GeoIP_lib_version N/A N/A info N/A Country:
	%s
City:
	%s N/A N/A self country_info N/A self city_info N/A property open N/A N/A cls full_path cache N/A N/A N/A N/A GeoIP full_path cache N/A classmethod _rec_by_arg N/A N/A self arg N/A N/A N/A N/A self _city N/A N/A N/A N/A self city arg N/A N/A N/A N/A self country arg N/A N/A region_by_addr city N/A region_by_name city N/A record_by_addr _rec_by_arg N/A record_by_name _rec_by_arg N/A country_code_by_addr country_code N/A country_code_by_name country_code N/A country_name_by_addr country_name N/A country_name_by_name country_name N/A