A Python module meant for cli use which checks whether you are connected to the Internet.
Project description
is_online
Is Online is a Python module meant for cli use which checks whether you are connected to the Internet. By default it creates a request to Cloudflare's DNS at 1.1.1.1
How to use
To use, simply run:
$ is_online
You are Online!
$ is_online --host 4.4.4.4 --port 53 --timeout 53
You are Online!
By default, this checks connectivity against Cloudflare's 1.1.1.1 DNS Server
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
is-online-1.0.0.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for is_online-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3be440144ff51c08364211a7eccd3e51f81c71d1b3bf4d984f5b8003a4672b30 |
|
MD5 | 4ee57eb90884ccbd386a5e0d3cf44e88 |
|
BLAKE2b-256 | d23f11ddb0009e952effe507c924a8cd911b31c3fe05b0430c96f0a6982be26d |