Metadata-Version: 2.1
Name: ip-query
Version: 4.1.0
Summary: Python IP Query.
Home-page: https://github.com/VisionNetworkProject/python-ip-query
Author: Vision Network
Author-email: michael@vision.network
License: UNKNOWN
Description: # Python: IP Query
        
        [![PyPi Version](http://img.shields.io/pypi/v/ip-query.svg)](https://pypi.python.org/pypi/ip-query/)
        
        IP Query, allow proxy.
        
        
        ## Installation
        
        ``` console
        $ pip3 install ip-query
        ```
        
        
        ## Usage
        
        ``` python
        from ip_query import ip_query
        
        ip = ip_query()
        ```
        
        you will get the result like this:
        
        ``` text
        {
            'ip': '112.118.6.224',
            'country': 'Hong Kong',
            'country_code': 'HK',
            'asn': 4760,
            'aso': 'HKT Limited'
        }
        ```
        
        Behind a socks5 proxy? use like this:
        
        ``` python
        from ip_query import ip_query
        
        ip = ip_query(
            requests_proxies={
                'http': 'socks5://127.0.0.1:1080',
                'https': 'socks5://127.0.0.1:1080',
            },
        )
        ```
        
        
        ## Thanks
        
        We've chosen `GeoLite2 Country` and `GeoLite2 ASN` from [GeoLite2 Free Downloadable Databases](https://dev.maxmind.com/geoip/geoip2/geolite2/)..
        
        Latest Version: `20190122`.
        
        Many thanks to [MaxMind](https://github.com/MaxMind).
        
        
        
Keywords: IP,IP address,IP GEO
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
