my-ip
is a simple CLI script,
that finds out your public IP
by asynchronously requesting multiple services.
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
Have a question? Spotted a bug? File a new issue!