{"id":21945921,"url":"https://github.com/ip2location/ip2location-python-c","last_synced_at":"2025-08-08T16:09:55.481Z","repository":{"id":76794907,"uuid":"179599557","full_name":"ip2location/ip2location-python-c","owner":"ip2location","description":"This module is a Python Library with C that enables the user to find the country, region, city, coordinates, zip code, ISP, domain name, timezone, connection speed, IDD code, area code, weather station code, weather station name, mobile, usage type, address type and IAB category that any IP address or host name originates from. https://www.ip2location.com","archived":false,"fork":false,"pushed_at":"2024-02-06T01:25:59.000Z","size":2448,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-02T23:47:44.574Z","etag":null,"topics":["c","geolocation-database","ip-address-geolocation","ip-address-lookup","ip-geolocation","ip2location","ip2location-python","python-c","python-library"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ip2location.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE.TXT","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":"2019-04-05T00:59:44.000Z","updated_at":"2024-01-04T08:10:38.000Z","dependencies_parsed_at":"2024-01-03T07:28:09.084Z","dependency_job_id":"670fe45b-7475-450f-a031-1c040878ba60","html_url":"https://github.com/ip2location/ip2location-python-c","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ip2location/ip2location-python-c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-python-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-python-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-python-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-python-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ip2location","download_url":"https://codeload.github.com/ip2location/ip2location-python-c/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-python-c/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269449289,"owners_count":24419050,"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","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["c","geolocation-database","ip-address-geolocation","ip-address-lookup","ip-geolocation","ip2location","ip2location-python","python-c","python-library"],"created_at":"2024-11-29T04:20:14.290Z","updated_at":"2025-08-08T16:09:55.454Z","avatar_url":"https://github.com/ip2location.png","language":"Python","readme":"# IP2Location-Python-C\n\nThis is a IP2Location Python-C library that enables the user to find the country, region or state, city, latitude and longitude, ZIP code, time zone, Internet Service Provider (ISP) or company name, domain name, net speed, area code, weather station code, weather station name, mobile country code (MCC), mobile network code (MNC) and carrier brand, elevation, usage type, address type and IAB category by IP address or hostname originates from. The library used the **IP2Location C Library** to read the geo location information from **IP2Location BIN data** file.\n\nSupported IPv4 and IPv6 address.\n\nThis library required the **IP2Location C Library** to work. You can install it from [here](\u003chttps://github.com/chrislim2888/IP2Location-C-Library\u003e).\n\n## Requirements\n\n1. Python 2.7 and above\n2.  **[IP2Location C Library](\u003chttps://github.com/chrislim2888/IP2Location-C-Library\u003e)**.\n\n## Installation\n\n1. Install the **[IP2Location C Library](\u003chttps://github.com/chrislim2888/IP2Location-C-Library\u003e)**.\n2. Download and unzip the package.\n3. Execute `python setup.py build`.\n4. Execute `python setup.py install`.\n\n## Testing\n\nRun `python sample.py` in your terminal.\n\n## IP2Location BIN Databases\n\n- Download free IP2Location LITE databases at [https://lite.ip2location.com](https://lite.ip2location.com/)\n- Download IP2Location Commercial databases at \u003chttps://www.ip2location.com\u003e\n\n## IPv4 BIN vs IPv6 BIN\n\n- Use the IPv4 BIN file if you just need to query IPv4 addresses.\n- Use the IPv6 BIN file if you need to query BOTH IPv4 and IPv6 addresses.\n\n## Support\n\nEmail: [support@ip2location.com](mailto:support@ip2location.com).\nURL: [https://www.ip2location.com](https://www.ip2location.com/)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fip2location%2Fip2location-python-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fip2location%2Fip2location-python-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fip2location%2Fip2location-python-c/lists"}