Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/linaro/ip2location-python-1
ip2location Python module optimized for speed
https://github.com/linaro/ip2location-python-1
Last synced: about 6 hours ago
JSON representation
ip2location Python module optimized for speed
- Host: GitHub
- URL: https://github.com/linaro/ip2location-python-1
- Owner: Linaro
- License: gpl-2.0
- Created: 2014-04-11T14:10:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-11T14:47:53.000Z (over 10 years ago)
- Last Synced: 2023-03-30T08:49:04.991Z (over 1 year ago)
- Language: Python
- Size: 203 KB
- Stars: 0
- Watchers: 11
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- License: COPYING
Awesome Lists containing this project
README
IP2Location 5.0.0
=================This is a IP2Location Python library that enables the user to find the country, region or state, city, latitude and longitude, US 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, and usage type by IP address or hostname originates from. It contains a demo IP2Location IP-COUNTRY BIN database which consists of real data for IP address range 0.0.0.0 to 99.255.255.255. This database contains IP address blocks as key and countries as values. The paid version of IP2Location database covers all IP address range. In general, it is more complete, fast and accurate than using reverse DNS lookups. Developers can download other sample databases to evaluate other features such as country, region or state, city, latitude and longitude, US 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, and usage type using the same Python library.
For more details, please visit:
http://www.ip2location.com/python.aspx
http://www.ip2location.com/developers.aspxThis version also supports IP2Location IPv6.
Requirements
------------
1) Python 2.2 and aboveInstallation
----------------------
1) Unzip the package.
2) Execute python setup.py build
3) Execute python setup.py installTesting
-------
Unix like platform: python sample_bsd.py
Windows platform : python sample_win.pyDownload More Sample Databases
------------------------------
wget http://www.ip2location.com/download/samples-db24.zip
unzip samples-db24.zipFor support, please email [email protected].
http://www.ip2location.com