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.1.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

my_ip-0.2.1-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

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