A package for geolocating IPs
Project description
pyiplocation
A simple python package to geolocate IPs without the need for a paid/limited API.
Usage
This code snippet :
from pyiplocation import geolocate
geolocate("42.34.78.123")
will return a dictionary containing :
- The IP
- The Hostname
- The Continent Code
- The Continent Name
- The Country Codes
- The Country Name
- The Country Capital
- The State/Province
- The District/County
- The City
- The Zip Code
- The City's Latitude
- The City's Longitude
- The Country's Currency (name, code, symbol)
- The Timezone (name, offset, current time etc..)
- The Calling Code
And more!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyiplocation-0.1.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for pyiplocation-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d544ae6d8691f9e236462a03ed83def2c147d15156d5aa725f7349eb1965d4d6 |
|
MD5 | 5cebb142c273e9085daa4ea2924ee7b4 |
|
BLAKE2b-256 | e9cc0152e15083a59335573e8abaa08dcced4c996d5ab43f13e439649ae83ad6 |