Metadata-Version: 2.3
Name: conndoc
Version: 0.2.0
Summary: Diagnose connectivity and infrastructure issues from the CLI
Author: Mert Acikportali
Author-email: mertacikportali@gmail.com
Requires-Python: >=3.9
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: httpx (>=0.28.1,<0.29.0)
Requires-Dist: rich (>=14.0.0,<15.0.0)
Requires-Dist: typer (>=0.16.0,<0.17.0)
Description-Content-Type: text/markdown

# Conndoc

**Conndoc** is a simple and extensive command-line tool for diagnosing network connectivity. It supports checks for ping, DNS, SSL, HTTP, TCP, and provides a summary view.

---

## 🚀 Installation

### 📦 pip
```bash
pip install conndoc
```

### 🍺 Homebrew (macOS)
```bash
brew tap hmerac/conndoc
brew install conndoc
```

---

## 🔍 Commands

### `ping`
Ping a host.
```bash
conndoc ping google.com
```

### `checkdns`
Resolve a domain's DNS to IP addresses.
```bash
conndoc checkdns google.com
```

### `checkssl`
Inspect SSL certificate details (only for domains).
```bash
conndoc checkssl google.com
```

### `checkhttp`
Send an HTTP GET request and show basic diagnostics.
```bash
conndoc checkhttp https://google.com
```

### `checktcp`
Check if a TCP port is open.
```bash
conndoc checktcp google.com 443
```

### `summary`
Run all applicable checks and show a live summary table.
```bash
conndoc summary google.com
```

For IPs, DNS and SSL will be skipped automatically.

---

## 🆘 Help
To see all available commands and options:
```bash
conndoc --help
```

You can provide either a domain name or a valid IP address as input to most commands.

---

## 📦 Project Info
- Python 3.9+
- Dependencies: `typer`, `rich`, `httpx`

---

## 📄 License
Apache License 2.0

---

Contributions welcome!

