IsItDownRightNow
This is a simple Python wrapper for the IsItDownRightNow API, allowing users to check in real-time whether a specific website is currently accessible worldwide.
Installation
pip install isitdownrightnow
Usage
from isitdownrightnow import IsItDownRightNow
# Create an instance for a website
checker = IsItDownRightNow('google.com')
# Get the status of the website
status = checker.status
print(status)
{
'up': True,
'website_name': 'Google',
'url_checked': 'www.google.com',
'response_time_ms': 16.73,
'last_down': 'More than a week ago',
'down_for': None,
'status': 'UP',
'message': 'Google.com is UP and reachable by us.'
}
Simple Overview
The main class in the wrapper is IsItDownRightNow. Here's a brief overview of its methods and properties:
Public Methods and Properties:
- status: Returns a dictionary containing the status of the website.
Attributes:
- domain: The domain name of the site to be checked.
Returns
For the status method, you can expect a dictionary with the following structure:
-
up (bool): True if the domain is up, False otherwise.
-
website_name (str): The name of the website.
-
url_checked (str): The URL that was checked.
-
response_time (str): The response time of the website.
-
last_down (str): The last time the website was down (None if the website is down).
-
down_for (str): The duration of time the website has been down (None if the website is up).
-
status (str): The status of the website, either "UP" or "DOWN".
-
message (str): A message about the result of the check.
Metadata
Release files for isitdownrightnow 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| isitdownrightnow-0.0.1.tar.gz | 4.8 kB | Without provenance | Details for isitdownrightnow-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| isitdownrightnow-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for isitdownrightnow-0.0.1-py3-none-any.whl |
Total release size: 10.0 kB
Release files / isitdownrightnow-0.0.1.tar.gz
| Download URL | isitdownrightnow-0.0.1.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcad1b3bd0d1b121d9dcfe063f377667649ae3dbca4d0fb109fafeca9216f3bb
|
|
BLAKE2b-256 checksum How to use checksums |
3acac59950475bd18a78e12db05065619de4d4f7930260c227a7a9a88b0d2ef2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
|
Release files / isitdownrightnow-0.0.1-py3-none-any.whl
| Download URL | isitdownrightnow-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb074a742be16a6089f16ebf5b7610c36ada13d2da62d59736cb2321544c88f8
|
|
BLAKE2b-256 checksum How to use checksums |
595c2919fd897f7b10217863dac1fd529a6ebf4f9618100cecf693024bb1d5da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
|
Security for isitdownrightnow 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.