{"id":20354697,"url":"https://github.com/datasets/geoip2-ipv4","last_synced_at":"2025-04-07T12:03:35.206Z","repository":{"id":30784476,"uuid":"34341368","full_name":"datasets/geoip2-ipv4","owner":"datasets","description":"GeoIP2 - free IP geolocation database.","archived":false,"fork":false,"pushed_at":"2025-04-06T01:53:00.000Z","size":8507,"stargazers_count":64,"open_issues_count":0,"forks_count":20,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-06T02:32:32.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://datahub.io/core/geoip2-ipv4","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datasets.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-21T17:19:51.000Z","updated_at":"2025-04-06T01:53:04.000Z","dependencies_parsed_at":"2024-12-10T11:23:01.082Z","dependency_job_id":"27db4ecd-255c-4722-93fc-b73b772c6fab","html_url":"https://github.com/datasets/geoip2-ipv4","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fgeoip2-ipv4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fgeoip2-ipv4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fgeoip2-ipv4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fgeoip2-ipv4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datasets","download_url":"https://codeload.github.com/datasets/geoip2-ipv4/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648976,"owners_count":20972945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T23:09:25.108Z","updated_at":"2025-04-07T12:03:35.169Z","avatar_url":"https://github.com/datasets.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca className=\"gh-badge\" href=\"https://datahub.io/core/geoip2-ipv4\"\u003e\u003cimg src=\"https://badgen.net/badge/icon/View%20on%20datahub.io/orange?icon=https://datahub.io/datahub-cube-badge-icon.svg\u0026label\u0026scale=1.25\" alt=\"badge\" /\u003e\u003c/a\u003e\n\nDatabase of IPv4 address networks with their respective geographical location.\n\n## Data\n\nBased on GeoLite2 Country Free Downloadable Databases as of Apr 21, 2015 http://dev.maxmind.com/geoip/geoip2/geolite2/\n\nTwo files were used to generate this dataset: \n\n```\nGeoLite2-Country-Blocks-IPv4.csv  \nGeoLite2-Country-Locations-en.csv  \n```\n\nwith the following considerations:  \n\n- Where geoname_id was not available, registered_country_geoname_id was used.\n- Where geoname_id and registered_country_geoname_id where empty, geoname_id, continent_code, continent_name, country_iso_code and country_name are empty.\n\n## Preparation\n\nProcess is recorded and automated in python script:\n\n```bash\n# Install the requirements\npip install -r scripts/requirements.txt\n\n# Make sure to add your own Account_ID and License_key password as env variables\nusername = os.getenv('MAXMIND_USERNAME')\npassword = os.getenv('MAXMIND_PASSWORD')\n\n# Run the code \npython scripts/process.py\n```\n\n## Automation\nUp-to-date (auto-updates every week) geoip2-ipv4 dataset could be found on the datahub.io: https://datahub.io/core/geoip2-ipv4\n\n## License\n\nDatapackage: Creative Commons Zero \n\nOriginal CSV: This dataset includes GeoLite2 data created by MaxMind, available from www.maxmind.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatasets%2Fgeoip2-ipv4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatasets%2Fgeoip2-ipv4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatasets%2Fgeoip2-ipv4/lists"}