Skip to main content

A small package that lets you detect both of your IP addresses through Python script.

Project description

PYTHONSCRIPTGETIP

Python script that lets you know both of your IP addresses.

Installation

To install it with pip, run:

pip install pythonscriptgetip

If an error occurs:

  • Go to https://github.com/Python3-8/PYTHONSCRIPTGETIP-WHL-and-TAR-GZ
  • Click on "Clone or download"
  • Click on "Download ZIP"
  • Extract the ZIP file
  • Run "tar xvzf pythonscriptgetip-0.0.1.tar.gz"
  • Move the results to /usr/lib64/python[PYTHON_VERSION]/site-packages or [HOME]/.local/lib/python[PYTHON_VERSION]/site-packages

Quickstart Guide

After you've downloaded and installed
PYTHONSCRIPTGETIP, you can import PYTHONSCRIPTGETIP with "import pythonscriptgetip".
To see your public IP address, use "pythonscriptgetip.public()".

>>> import pythonscriptgetip
>>> pythonscriptgetip.public()
'68.36.111.99'

To see your private IP address, use "pythonscriptgetip.private()".

>>> import pythonscriptgetip
>>> pythonscriptgetip.private()
'99.111.63.86'

Contribute

If you'd like to contribute to PYTHONSCRIPTGETIP,
check out https://github.com/Python3-8/PYTHONSCRIPTGETIP or
email pranav.pooruli@gmail.com.

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

pythonscriptgetip-0.0.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pythonscriptgetip-0.0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file pythonscriptgetip-0.0.1.tar.gz.

File metadata

  • Download URL: pythonscriptgetip-0.0.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.3

File hashes

Hashes for pythonscriptgetip-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a5e956fe4452ebd7110545c4d808000b92d154c3790c96b9ebb1c16ca348b33a
MD5 ab256f0895912f4fe93a62144f887d09
BLAKE2b-256 7f243fd5fb649e4151dff6a49780ba8a61844d021bc2c1634d18e01815fb2455

See more details on using hashes here.

File details

Details for the file pythonscriptgetip-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pythonscriptgetip-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.3

File hashes

Hashes for pythonscriptgetip-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c574718bfae8c2ea43eb4a86bcc21fc7598bfbd40b9e059fdbd185ae6a2ec04a
MD5 00a7600bf365c9a247a0a6b1c5bf7bbd
BLAKE2b-256 7bdd3ffb93f5fe119080ba6f1199e530679674530d699f36bf5d97edd3085cba

See more details on using hashes here.

Supported by

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