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
Note:
Is Online is only meant to be used as a CLI tool. If you need something to monitor online reachability in your own Python scripts, use Reachability
Installation
You can install is_online from PyPI
pip install is-online
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
Metadata
Release files for is-online 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| is-online-1.0.2.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| is_online-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.0 kB
Release files / is-online-1.0.2.tar.gz
| Download URL | is-online-1.0.2.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8f329f4f35d981c6af32e279482c2912378a99f2d998a79941b323b39d29746
|
|
BLAKE2b-256 checksum How to use checksums |
2f08d9b10d8bbb2aeaa9b0614bad5878ed06ded88a5fd2bda2bb5b520919dc53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|
Release files / is_online-1.0.2-py3-none-any.whl
| Download URL | is_online-1.0.2-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
391b819dc62b7ad25384aa25579130952fdabed290fa5275ce4070ca55783e4d
|
|
BLAKE2b-256 checksum How to use checksums |
66f242fbae4cb62f5b0c292306a752970432eba309da57674e95f6c7219a282c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|