Metadata-Version: 2.1
Name: gdpr_check
Version: 0.2
Summary: Check if a user is covered by GDPR. Compare IP address to list of EEA/EU countries.
Home-page: http://github.com/revmischa/gdpr_check
Author: Mischa Spiegelmock
Author-email: revmischa@cpan.org
License: ABRMS
Description: ## GDPR Checker
        
        This module is designed to make it easier to look up if a user appears to be a resident covered bby the GDPR based on IP address.
        
        This is only a best-effort guess, no guarantee or claim is made that this information will always be accurate or reliable.
        
        ## Installation:
        `pip install gdpr_check`
        
        ## Usage:
        ```
        # default uses bundled GeoLite2 DB:
        c = Checker()
        
        # optional: pass path to local maxmind GeoIP2 database
        c = Checker('/path/to/GeoLite2-Country_20180501/GeoLite2-Country.mmdb')
        
        # check IPs
        c.is_gdpr_resident_ip('162.255.119.253')  # returns True - Czech Republic IP
        c.is_gdpr_resident_ip('98.158.84.74')  # returns False - Canadian IP
        ```
        
Keywords: gdpr,eea,eu,ip,check,geoip,countrys
Platform: UNKNOWN
Description-Content-Type: text/markdown
