No project description provided
Project description
Live-Host
Live-Host a robust module for checking if a host is live
-
This module checks if a target host is alive by sending a get request to the host.
-
Installation
-
You can install this module using
pip
. Just runpip install live-host
. -
Usage
-
To check if a host is alive, you can use the
is_live()
function. This function takes a hostname or IP address as an argument. For example:
from live_host.check_host import is_live
if is_live('www.google.com'):
print('Host is alive!')
else:
print('Host is down')
Why Live-Host
-
Well its a easy and fast way of checking if a target host is available could be a website, cloud database, API or any resource your application needs to communicate with. so your application can take appropriate action depending on the results from live-host
-
Supported platforms
-
This module is supported on Python 3 or later, and is tested on Windows, Linux, and macOS.
-
Dependencies
-
This module requires requests module
-
Source code
-
The source code for this module is available at https://github.com/TaqsBlaze/Live-Host.
-
License
-
This module is licensed under the MIT License. See the LICENSE file for more information.
-
Note
-
Live-Host is still under development any contributions are welcomed
-
Feel free to report bugs if any found and also suggest features or changes
-
Author
-
Author: Tanaka Chinengundu
-
Email: tanakah30@mail.com
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
Built Distribution
File details
Details for the file live_host-1.0.4.tar.gz
.
File metadata
- Download URL: live_host-1.0.4.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a90de03b4a3a34f48eb825964f1841f4c034d94ad18406731d4ae3dafed5e7c |
|
MD5 | 3932f3e368cede4ecfc7c4c4234c88df |
|
BLAKE2b-256 | afb59fbedffa3f4790c22f555ddc6d28b60b6ab327f48293464b36ed93367fd6 |
File details
Details for the file live_host-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: live_host-1.0.4-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 533f53a9a3f2ac858296285d1f6d67e027b59e44a57b7b910e79bd1a63ad3972 |
|
MD5 | b66c69ea5ab678a00fee5d7b0bd74253 |
|
BLAKE2b-256 | 4ccbc70aa983cfa03b456f9e6c0ee4a161e15e9bb419ee3971be039149e623c7 |