Skip to content

lainiwa/my-ip

Repository files navigation

my-ip: Get your public IP address. Fast.

Github Actions status Code quality Code style: black Dependabot Package version Package version

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!

About

Here I am learning Python best practices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages