Project Showcase / CheckIp

Toni Sredanović · August 10, 2021

Project Showcase / CheckIp

CheckIp is a python package used to resolve public (WAN) IP from one of many supported providers.

Usage is as simple as:

>>> from checkip import get_ip
>>> get_ip('cloudflare')
'141.136.171.75'

It can even use multiple providers to resolve the public IP if one (or more) of them are down:

>>> from checkip import resolve_ip
>>> resolve_ip(['cloudflare', 'dyndns', 'googledomains'])
'141.136.171.75'

Docs, installation, usage and more can be found here.

Twitter, Facebook