Metadata-Version: 2.3
Name: conndoc
Version: 0.1.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 elegant command-line tool for diagnosing network connectivity and infrastructure issues. It supports checks for ping, DNS, SSL, HTTP, TCP, and provides a summary view.

---

## 🚀 Installation

Install via [Poetry](https://python-poetry.org/):

```bash
poetry install
```

Or, if packaged and published to PyPI:

```bash
pip install conndoc
```

Run it using Poetry:

```bash
poetry run conndoc --help
```

---

## 🔍 Commands

### `ping`
Ping a host 3 times.
```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://example.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.

---

## 📄 License
To be defined by the author.

---

## 👨‍💻 Author
**Mert Acikportali**  
📧 mertacikportali@gmail.com

Contributions welcome after license is defined!
