HTTP/HTTPS endpoint healthcheck.
Project description
Checking Health
Checking Health is a command-line tool for performing HTTP/HTTPS endpoint health checks with clean, real-time, and highly readable output.
It helps you quickly validate APIs, services, and environments with useful diagnostics like latency, response size, content type, and more.
✨ Features
-
⚡ Real-time execution (results printed as they complete)
-
🎯 Endpoint identification via URL path (
TYPE) -
📊 Rich metrics per request:
- Status (OK / FAIL)
- HTTP status code
- Domain & IP
- Content-Type
- Response size
- Request time (
REQ) - Total time (
TIME) - HTML
<title>(when available)
-
🎨 Clean and colorful terminal output
-
📈 Summary with aggregated metrics
-
🧪 Fully testable with
pytest -
📦 Distributed via PyPI
📦 Installation
Install directly from PyPI:
pip install checking-health
🔗 https://pypi.org/project/checking-health
▶️ Usage
checking-health endpoints.txt --timeout 3
📄 Input File Format
Provide a .txt file with one endpoint per line:
# success example
google.com
# failure example
google.comm
https://api.example.com/status
Rules
- Empty lines are ignored
- Lines starting with
#are ignored - URLs without scheme default to
https://
📊 Example Output
TYPE STATUS HTTP DOMAIN IP CONTENT-TYPE SIZE REQ(ms) TIME(ms) TITLE
-------------------------------------------------------------------------------------------------------------------------------
health OK 200 google.com 142.250.191.78 text/html 17.4KB 31 53 Google
status FAIL - google.comm - - 0B 14 14 -
Summary
------------------------------
Total : 2
Success : 1
Failure : 1
REQ average : 22ms
TIME average : 33ms
🧠 Concepts
TYPE
Derived from the last segment of the URL path:
| URL | TYPE |
|---|---|
/healthcheck |
healthcheck |
/healthcheck/status |
status |
/ |
root |
REQ(ms)
Time until the server starts responding (latency).
TIME(ms)
Total time including response download.
SIZE
Actual size of the response body.
TITLE
Extracted from HTML responses (<title> tag), when available.
🔍 Use Cases
- API health validation
- Deployment smoke tests
- Environment verification (dev/staging/prod)
- Quick debugging of network or DNS issues
- Bulk endpoint checking
⚠️ Limitations
- Does not break down DNS / TCP / TLS timings
- Downloads full response body (can impact large responses)
- Runs sequentially (no parallel execution)
🧪 Testing
Install pytest:
pip install pytest
Run tests:
pytest -q
👤 Author
André Argôlo CTO • Software Architect • DevOps
- 🌐 Website: https://argolo.dev
- 🐙 GitHub: https://github.com/argolo
📜 Licença
MIT License
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file checking_health-1.0.0.tar.gz.
File metadata
- Download URL: checking_health-1.0.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f2b5c64f333fa028c89edcdbdfb5f712e86e884e52ca29af8618618d4d3827d
|
|
| MD5 |
c33aa1f6b9c806efde39d722ea9804d4
|
|
| BLAKE2b-256 |
364767503a71e03486dd960c3e8b53756621bf5f92e883e30c73cb6806a6a7a8
|
Provenance
The following attestation bundles were made for checking_health-1.0.0.tar.gz:
Publisher:
release.yml on argolo/checking-health
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
checking_health-1.0.0.tar.gz -
Subject digest:
4f2b5c64f333fa028c89edcdbdfb5f712e86e884e52ca29af8618618d4d3827d - Sigstore transparency entry: 1298519538
- Sigstore integration time:
-
Permalink:
argolo/checking-health@140e385a394d475430041befe2d61c63d8451e56 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/argolo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@140e385a394d475430041befe2d61c63d8451e56 -
Trigger Event:
push
-
Statement type:
File details
Details for the file checking_health-1.0.0-py3-none-any.whl.
File metadata
- Download URL: checking_health-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24395f0f67e593b78097c8d0c0605dd986f0ff7cc35ff458fbae71e85d965159
|
|
| MD5 |
10c777fb87f6607a68c8e2efcf1c782e
|
|
| BLAKE2b-256 |
c9fd5402343d2d3c00fcd032dd1630d840ff7e39d8969ca0b0f576d9ed0288c1
|
Provenance
The following attestation bundles were made for checking_health-1.0.0-py3-none-any.whl:
Publisher:
release.yml on argolo/checking-health
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
checking_health-1.0.0-py3-none-any.whl -
Subject digest:
24395f0f67e593b78097c8d0c0605dd986f0ff7cc35ff458fbae71e85d965159 - Sigstore transparency entry: 1298519619
- Sigstore integration time:
-
Permalink:
argolo/checking-health@140e385a394d475430041befe2d61c63d8451e56 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/argolo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@140e385a394d475430041befe2d61c63d8451e56 -
Trigger Event:
push
-
Statement type: