Skip to main content

Ip Lookup Persian

Project description

Ip Lookup Persian

The IpPersian library can give you complete information about the requester's IP. If you want to check the IP address of the person using yours application or site, in which country and city, use this library. These are not the only facilities available, are continue...


Install Library IpPersian

pip install IpPersian

Import Library to module

from IpPersian import IpPersian

Use Library in module

If you want to check a person's default IP, do the following...

from IpPersian import IpPersian
ip = IpPersian()

If you want all the IP information to be displayed to you, do the following...

from IpPersian import IpPersian
ip = IpPersian()
print(ip)
__________ output __________
IP : xx:xx:xx:xx
asn : x
country : x   city: x 
...

If you want to check a specific IP, just send it to the library.

from IpPersian import IpPersian
ip = IpPersian("xx.xx.xx.xx")
print(ip)
__________ output __________
IP : xx.xx.xx.xx
asn : x
country : x   city: x 
...

Receive information in a separate form

If you want to get the IP information separately, use the table below...

function call type description
ip() abject return IP
asn() abject return number asn by type string
asnName() abject returns name asn
asnOrg() abject returns the name of the company that registered the asn
city() abject returns the name of the city where the IP is used
continent() abject returns the name of the continent on which the IP is located
country() abject returns the name of the country in which the IP is located
countryCode() abject returns the global country code of the IP
isp() abject returns the name of the IP Internet provider
lat() abject return number lat by type string, for location
lon() abject return number lon by type string, for location
org() abject returns the IP provider company name
region() abject returns the name of the province in which the IP is used
timezone() abject returns the time zone of the IP
utcOffset() abject returns the time point of the IP

The great scientific and educational collection of the SARZAMIN DANESH thanks you.

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

IpPersian-1.0.4.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

IpPersian-1.0.4-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page