Skip to main content

Get your internet IP. Fast.

Project description

Code quality Code style: black Dependabot

my-ip is a simple CLI script, that finds out your public IP by asynchronously requesting multiple services.

Installation and Usage

my-ip is a Python-only package hosted on PyPI. The recommended installation method is pip-installing it:

$ pip install my_ip

Now run it to get your public address!

$ mip
2019-10-12 08:19:58.070 | INFO     | my_ip.console:cli:76 - Standard config not found. Creating new
First run.
Installing config to `/home/lain/.config/my_ip/config.toml`... Done!
185.xxx.xxx.xxx

As you can see, the script installed the configuration script on the first run. The second run will be less verbose though:

$ mip
185.xxx.xxx.xxx

Getting Help

Have a question? Spotted a bug? File a new issue!

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

my-ip-0.2.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

my_ip-0.2.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file my-ip-0.2.0.tar.gz.

File metadata

  • Download URL: my-ip-0.2.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.4 Linux/4.15.0-66-generic

File hashes

Hashes for my-ip-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2223f46bce64f5c9b72da73258d30070337428110df48948f617cc213982d2c6
MD5 08e644d9c5d375c6ea854864674f4fd3
BLAKE2b-256 b548e6648cbe1467c56302ebaee1c1a3e165bb904875b86ca8d0b2211def6cbb

See more details on using hashes here.

File details

Details for the file my_ip-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: my_ip-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.4 Linux/4.15.0-66-generic

File hashes

Hashes for my_ip-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4dde5355addada73b6d63cdd8f2cad6ad1d0255f60306666391bcb7514ea289
MD5 e56ac765408052ebe170d86150ae5a6d
BLAKE2b-256 2ed4c613f99c008d5a5f968b85512baa37ea7307cfdf94835d4d5fbd29c89788

See more details on using hashes here.

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