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.1.tar.gz
(6.8 kB
view details)
Built Distribution
my_ip-0.2.1-py3-none-any.whl
(7.3 kB
view details)
File details
Details for the file my-ip-0.2.1.tar.gz
.
File metadata
- Download URL: my-ip-0.2.1.tar.gz
- Upload date:
- Size: 6.8 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 | 7eae270589a77e8a369a5fae4c5b3abb93eff95583c9d2568fc3b2dd02823994 |
|
MD5 | 046eb64ec08600b439a4367357c5d9b2 |
|
BLAKE2b-256 | ee92ef9473d3acbc8d090ebb0b7716c461710f61997ce2faeb5620a426a49243 |
File details
Details for the file my_ip-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: my_ip-0.2.1-py3-none-any.whl
- Upload date:
- Size: 7.3 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 | 2ac181e13c957942823cd8ade1195b1e27b9bce0a255a5ad6f2b60bc12512c5a |
|
MD5 | 384ad9688fd46a75011a195f2b9d48fe |
|
BLAKE2b-256 | 27e6aeb74065ee33561f9b472cc5ad0068975e39d1d3fab83265d2a7a8186d91 |