Skip to main content

Conndoc

Over the years, troubleshooting the root cause of connection problems has always given me headaches. It often required using multiple different tools and manually interpreting their results.

conndoc is a simple yet extensive command-line tool that aims to make connectivity diagnosis easier. It supports checks for ping, DNS, SSL, HTTP, and TCP, and provides a handy summary view.


🚀 Installation

📦 pip

pip install conndoc

🍺 Homebrew (macOS)

brew tap hmerac/conndoc
brew install conndoc

🆘 Help

To see all available commands and options:

conndoc --help

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


🔍 Commands

summary

Run all applicable checks and show a live summary table.

conndoc summary google.com

ping

Ping a host.

conndoc ping google.com

checkdns

Resolve a domain's DNS to IP addresses.

conndoc checkdns google.com

checkssl

Inspect SSL certificate details (only for domains).

conndoc checkssl google.com

checkhttp

Send an HTTP GET request and show basic diagnostics.

conndoc checkhttp https://google.com

checktcp

Check if a TCP port is open.

conndoc checktcp google.com 443

For IPs, DNS and SSL will be skipped automatically.


📦 Project Info

  • Python 3.9+
  • Dependencies: typer, rich, httpx

🗺 Roadmap

Here are some planned and upcoming features for conndoc:

  • ICMP latency graph
    Show ping latencies over time as simple terminal plots.

  • Traceroute support
    Trace the path packets take through the network and measure latency at each hop.

  • Port scan (safe mode)
    Scan a set of common TCP ports to identify open services safely and quickly.

  • Save and export results
    Export diagnostics in JSON or Markdown format for easier sharing or CI integration.

  • Cross-platform packaging
    Add better support for Windows installers and Linux .deb / .rpm distributions.

  • Plugin support
    Let users extend Conndoc with custom checks that integrate into the summary view.


🤝 Contributing

Contributions are very welcome! Whether it's fixing a bug, improving the documentation, or suggesting a new feature — every bit helps.

If you're unsure where to start, feel free to open an issue or check out the roadmap for ideas.

By contributing, you agree that your code will be licensed under the Apache License 2.0.

Quick Start

  • Fork the repository
  • Create a new branch (git checkout -b my-feature)
  • Make your changes
  • Commit and push (git commit -am 'Add feature' && git push)
  • Open a Pull Request 🚀

If you're adding a new feature, try to include a short demo or usage example.

Looking forward to seeing what you build!


📄 License

Apache License 2.0

Release files for conndoc 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for conndoc 0.2.2
File Size Uploaded
conndoc-0.2.2.tar.gz 8.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for conndoc 0.2.2
File Interpreter ABI Platform
conndoc-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 19.5 kB

Release files / conndoc-0.2.2.tar.gz

Download URL conndoc-0.2.2.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
817c040e7223c92acc6000b0a283cbd540ebc691d6e3b5c63f2533d5038dd730
BLAKE2b-256 checksum
How to use checksums
3b0e4ed9020750e459ee3d697dd0f1209a7ab0f122070efe9f9beb6cc87f08f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.3 Darwin/24.3.0

Release files / conndoc-0.2.2-py3-none-any.whl

Download URL conndoc-0.2.2-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
048b82966b01da8f72a955b344f9054867ad27d1f85a480277878d50a2f8354b
BLAKE2b-256 checksum
How to use checksums
bbe44231df118fd4a7d5de3ca1018bae090e32932e4848085418d7e164631908
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.3 Darwin/24.3.0

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page