Get your internet IP. Fast.
Project description
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
Release history Release notifications | RSS feed
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)
Built Distribution
my_ip-0.2.0-py3-none-any.whl
(7.2 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2223f46bce64f5c9b72da73258d30070337428110df48948f617cc213982d2c6 |
|
MD5 | 08e644d9c5d375c6ea854864674f4fd3 |
|
BLAKE2b-256 | b548e6648cbe1467c56302ebaee1c1a3e165bb904875b86ca8d0b2211def6cbb |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4dde5355addada73b6d63cdd8f2cad6ad1d0255f60306666391bcb7514ea289 |
|
MD5 | e56ac765408052ebe170d86150ae5a6d |
|
BLAKE2b-256 | 2ed4c613f99c008d5a5f968b85512baa37ea7307cfdf94835d4d5fbd29c89788 |