In this tutorial I have covered basic fundamentals for working with IP location tracking with python language and ip2geotools geolocation service.
Geolocation services are capable for providing location details corresponds to a provided IP address. There are well organized databases inside these services to map an public IP address to a location and whenever we have requested an IP, it will going to retrieve related location information which suit to the provided IP. Usually this location information response is a model of location which holds several attributes such as city, region, country, postal code, latitude, longitude e.t.c. And it also holds some of methods which are very useful to interact with responses such as to_json(), to_xml(), to_csv() e.t.c. These attributes and methods of the respond location model is totally depend on the location service that we are going to be used.
'ip2geotools' is a simple and very smart geolocation service which we can easily download and use. This service is in both of commercial and non-commercial way means that, if you expect for basic functionalities, you can go through any database which falls to the non-commercial category and if you expect for somewhat advanced or improved functionalities compared to a non-commercial database, you may go through a commercial database. And the fun fact about location databases of 'ip2geotools' is that, it holds different kind of databases, which we can easily switch and play by only changing a single statement in implementation. These databases are not working in same manner and the results and behaviours of them are basically different. These databases are being updated within time to maintain there consistency in latest IP addresses and there locations in the internet.
Download the project
====================
Github: https://github.com/Sinsank/Real-Time-Location-Tracking-ip2geotools.git
Google Drive: https://drive.google.com/drive/folders/1PirdmRY5-JiBawosRp70kRhPMWYuk9VE?usp=sharing
References
==========
Pypi: https://pypi.org/project/ip2geotools/
Research on 'Application for Geolocation Databases': https://dspace.vutbr.cz/bitstream/handle/11012/200511/484-eeict_1.pdf?sequence=1
Ip address generator: https://commentpicker.com/ip-address-generator.php
My Ip information: https://www.whatismyip.com/my-ip-information/
Social Media
============
Facebook: https://www.facebook.com/SintaX.tech.blog
Linkedin: https://www.linkedin.com/in/sineth-sankalpa-9aa4331ab
Subscribe 'The Sineth' and hit on the bell icon.
https://www.youtube.com/channel/UCQCrO7qrs5f5I13sTZMedag
Thanks for watching ❤